|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class describes the meta data of a class, which can be persisted.
It contains information like class name and information of all attributes and links.
This information is used by persistence layer to store and restore the data in a proper way and to create the structure of the associated database tables
DescriptorRuntime
,
AttributeDescriptor
,
LinkDescriptor
Method Summary | |
AttributeDescriptor |
getAttributeDescriptor(int no)
Returns the AttributeDescriptor for the given position. |
AttributeDescriptor[] |
getAttributeDescriptorArray()
Returns all AttributeDescriptors of this ClassDescriptor |
MeIterator |
getAttributeDescriptors()
Returns all AttributeDescriptors of this ClassDescriptor |
int |
getAttributePosition(java.lang.String name)
Returns the position of an attribute in the ClassDescriptor. |
java.lang.String |
getClasstype()
Returns the classtype (unique key) of the ClassDescriptor. |
AttributeDescriptor |
getKeyAttributeDescriptor()
Returns the key AttributeDescriptor |
LinkDescriptor |
getLinkDescriptor(int no)
Returns the LinkDescriptor for the given position. |
LinkDescriptor[] |
getLinkDescriptorArray()
Returns all LinkDescriptors of this ClassDescriptor |
MeIterator |
getLinkDescriptors()
Returns all LinkDescriptors of this ClassDescriptor |
int |
getLinkPosition(java.lang.String name)
Returns the position of a link in the ClassDescriptor. |
int |
getPosition(AttributeDescriptor descriptor)
Returns the position of an attribute in the ClassDescriptor. |
int |
getPosition(LinkDescriptor descriptor)
Returns the position of a link in the ClassDescriptor. |
int |
getSecondaryIdxCount()
|
Method Detail |
public MeIterator getAttributeDescriptors()
public MeIterator getLinkDescriptors()
public AttributeDescriptor getAttributeDescriptor(int no)
no
- position of the AttributeDescriptor in the array
public LinkDescriptor getLinkDescriptor(int no)
no
- position of the LinkDescriptor in the array
public int getAttributePosition(java.lang.String name)
name
- name of the AttributeDescritor
public int getLinkPosition(java.lang.String name)
name
- name of the LinkDescritor
public int getPosition(AttributeDescriptor descriptor)
descriptor
- descriptor instance
public int getPosition(LinkDescriptor descriptor)
descriptor
- descriptor instance
public java.lang.String getClasstype()
public AttributeDescriptor[] getAttributeDescriptorArray()
public LinkDescriptor[] getLinkDescriptorArray()
public AttributeDescriptor getKeyAttributeDescriptor()
public int getSecondaryIdxCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |