com.sybase.reflection
Class EntityMetaData

java.lang.Object
  extended by com.sybase.reflection.ClassMetaData
      extended by com.sybase.reflection.EntityMetaData

public class EntityMetaData
extends ClassMetaData

Holds entity metadata.


Field Summary
protected  java.lang.String __synchronizationGroup
           
protected  java.lang.String __table
           
 
Fields inherited from class com.sybase.reflection.ClassMetaData
__attributeMap, __attributes, __id, __name, __operationMap, __operations
 
Constructor Summary
EntityMetaData()
          Creates an empty entity meta data instance.
 
Method Summary
 java.lang.String getPublication()
          Returns the publication name of the entity, it equals to synchronization group name.
 java.lang.String getSynchronizationGroup()
          Gets the synchronization group name of the entity.
 java.lang.String getTable()
          Gets the table name of the entity.
 EntityMetaData initTable(java.lang.String _table)
          Sybase internal use only.
 boolean isEntity()
          Sybase internal use only.
 void setSynchronizationGroup(java.lang.String value)
          Sets the synchronization group name of the entity.
 void setTable(java.lang.String _table)
          Sets the table name of the entity.
 
Methods inherited from class com.sybase.reflection.ClassMetaData
finishInit, getAttribute, getAttributeMap, getAttributes, getId, getName, getOperation, getOperation, getOperationMap, getOperations, initAttributeMap, initAttributes, initId, initName, initOperationMap, initOperations, isService, setAttributeMap, setAttributes, setId, setName, setOperationMap, setOperations
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__table

protected java.lang.String __table

__synchronizationGroup

protected java.lang.String __synchronizationGroup
Constructor Detail

EntityMetaData

public EntityMetaData()
Creates an empty entity meta data instance.

Method Detail

initTable

public EntityMetaData initTable(java.lang.String _table)
Sybase internal use only.


getTable

public java.lang.String getTable()
Gets the table name of the entity.


setTable

public void setTable(java.lang.String _table)
Sets the table name of the entity.


isEntity

public boolean isEntity()
Sybase internal use only.

Overrides:
isEntity in class ClassMetaData

setSynchronizationGroup

public void setSynchronizationGroup(java.lang.String value)
Sets the synchronization group name of the entity.


getSynchronizationGroup

public java.lang.String getSynchronizationGroup()
Gets the synchronization group name of the entity.


getPublication

public java.lang.String getPublication()
Returns the publication name of the entity, it equals to synchronization group name.