|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityMetadata
The metadata for an entity. An entity is a collection of data that consists of a set of keys and/or values.
Entities can be associated to other entities only if the entity has a key and a name.
Method Summary | |
---|---|
AccessType |
getAccessType()
The method in which the persistent state of the entity is accessed by the runtime. |
int |
getId()
Get the internally generated identifier for this entity. |
EntityMetadata |
getIdClassMetadata()
Return the EntityMetadata that represents the composite key class metadata for this EntityMetadata. |
TupleMetadata |
getKeyMetadata()
The TupleMetadata for the entity's key. |
Class |
getMetadataClass()
Retrieve the entity class that is associated with this metadata. |
String |
getMetadataClassName()
Retrieve the entity class name that is associated with this metadata. |
String |
getName()
Get the name for this entity. |
EntityMetadata |
getSupersetEntityMetadata()
Return the EntityMetadata for the superset of this EntityMetadata. |
TupleMetadata |
getValueMetadata()
The TupleMetadata for the entity's value. |
boolean |
isSchemaRoot()
Return true if this EntityMetadata represents the root of the entity schema. |
Method Detail |
---|
int getId()
String getName()
TupleMetadata getKeyMetadata()
TupleMetadata getValueMetadata()
Class getMetadataClass()
AccessType getAccessType()
If the entity has field-based access, the runtime accesses instance variables directly.
If the entity has property-based access, the runtime accesses persistent state using property accessor methods.
EntityMetadata getSupersetEntityMetadata()
EntityMetadata getIdClassMetadata()
boolean isSchemaRoot()
String getMetadataClassName()
getMetadataClass()
will return void.class. This method
will return the class name that was specified in the entity descriptor file.
If this EntityMetadata has no class associated with it, the name returned will be in the format
of "@
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |