com.j_spaces.core.client
Class BasicTypeInfo

java.lang.Object
  extended by com.j_spaces.core.client.BasicTypeInfo
All Implemented Interfaces:
Serializable

public class BasicTypeInfo
extends Object
implements Serializable

This class provides Entry Class information.
Here is a simple usage of the BasicTypeInfo class:

 IJSpace space = (IJSpace) SpaceFinder.find(spaceURL);
 com.j_spaces.core.client.BasicTypeInfo classInfo = ((IRemoteJSpaceAdmin)space.getAdmin()).getClassTypeInfo(className);
 String[] fieldsNames = classInfo.getFieldsNames();
 String[] fieldsTypes = classInfo.getFieldsTypes();
 

See Also:
IRemoteJSpaceAdmin, Serialized Form

Field Summary
 String m_ClassName
          The type class name.
 String m_CodeBase
          The type code base.
 String[] m_FieldsNames
          The type fields names.
 String[] m_FieldsTypes
          The type fields types correlated to m_FieldsNames.
 boolean[] m_IndexedFields
          The type fields index indicators correlated to m_FieldsNames.
 boolean m_IsFifo
          Indicates if the type is et to FIFO.
 boolean m_IsReplicatable
          Indicates if the type is et to Replicatable.
 String[] m_SuperClasses
          The type super classes names.
 
Constructor Summary
BasicTypeInfo(com.j_spaces.core.ITypeDescriptor typeDesc)
           
 
Method Summary
 void dump()
          Prints out to the standard output the BasicTypeInfo state Should be used for debug purposes.
 String getClassName()
          Returns Entry Class Name.
 String getCodeBase()
          Returns Entry Class Codebase.
 String[] getFieldsNames()
          Returns Entry Class Fields Names array.
 int getFieldsNamesChecksum()
          Deprecated. 
 String[] getFieldsTypes()
          Returns Entry Class Fields Types array.
 int getFieldsTypesChecksum()
          Deprecated. 
 boolean[] getIndexedFields()
          Returns Entry indexed Fields.
 short getObjectFormat()
           
 int getPropertiesChecksum()
           
 String[] getSuperClasses()
          Returns Entry Super Classes array.
 int getSuperClassesChecksum()
           
 boolean isExtendedIndexing()
          Indicator if this class has extended indexing turned on.
 boolean isFifo()
          Returns true if FIFO enabled, otherwise false.
 boolean isReplicatable()
          Returns true if this class Replicatable, otherwise false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ClassName

public final String m_ClassName
The type class name.


m_CodeBase

public String m_CodeBase
The type code base.


m_SuperClasses

public final String[] m_SuperClasses
The type super classes names.


m_FieldsNames

public final String[] m_FieldsNames
The type fields names.


m_FieldsTypes

public final String[] m_FieldsTypes
The type fields types correlated to m_FieldsNames.


m_IndexedFields

public boolean[] m_IndexedFields
The type fields index indicators correlated to m_FieldsNames.


m_IsFifo

public boolean m_IsFifo
Indicates if the type is et to FIFO.


m_IsReplicatable

public boolean m_IsReplicatable
Indicates if the type is et to Replicatable.

Constructor Detail

BasicTypeInfo

public BasicTypeInfo(com.j_spaces.core.ITypeDescriptor typeDesc)
Method Detail

getClassName

public String getClassName()
Returns Entry Class Name.

Returns:
Returns Entry Class Name.

getCodeBase

public String getCodeBase()
Returns Entry Class Codebase.

Returns:
Returns Entry Class Codebase.

getFieldsNames

public String[] getFieldsNames()
Returns Entry Class Fields Names array.

Returns:
Returns Entry Class Fields Names array.

getFieldsTypes

public String[] getFieldsTypes()
Returns Entry Class Fields Types array.

Returns:
Returns Entry Class Fields Types array.

getIndexedFields

public boolean[] getIndexedFields()
Returns Entry indexed Fields.

Returns:
Returns Entry indexed Fields.

getSuperClasses

public String[] getSuperClasses()
Returns Entry Super Classes array.

Returns:
Returns Entry Super Classes array.

isFifo

public boolean isFifo()
Returns true if FIFO enabled, otherwise false.

Returns:
Returns true if FIFO enabled, otherwise false.

isReplicatable

public boolean isReplicatable()
Returns true if this class Replicatable, otherwise false.

Returns:
Returns true if this class Replicatable, otherwise false.

getSuperClassesChecksum

public int getSuperClassesChecksum()

getFieldsNamesChecksum

@Deprecated
public int getFieldsNamesChecksum()
Deprecated. 


getFieldsTypesChecksum

@Deprecated
public int getFieldsTypesChecksum()
Deprecated. 


getPropertiesChecksum

public int getPropertiesChecksum()

dump

public void dump()
Prints out to the standard output the BasicTypeInfo state Should be used for debug purposes.


isExtendedIndexing

public boolean isExtendedIndexing()
Indicator if this class has extended indexing turned on.

Returns:
true if class participates in extended indexing; false otherwise.

getObjectFormat

public short getObjectFormat()