|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatastoreContainerObject
This represents a container of fields. Such as table (container of columns), file, etc.
| Method Summary | |
|---|---|
DatastoreField |
addDatastoreField(String storedJavaType,
DatastoreIdentifier name,
JavaTypeMapping mapping,
ColumnMetaData colmd)
Method to add a new column to the internal representation. |
DatastoreField |
getDatastoreField(DatastoreIdentifier identifier)
Accessor for the Datastore field with the specified identifier. |
DatastoreField[] |
getDatastoreFields()
Accessor for the DatastoreFields for this table. |
JavaTypeMapping |
getDiscriminatorMapping(boolean allowSuperclasses)
Accessor for the discriminator mapping specified. |
DiscriminatorMetaData |
getDiscriminatorMetaData()
Accessor for Discriminator MetaData. |
DatastoreIdentifier |
getIdentifier()
Accessor for the identifier for this object. |
JavaTypeMapping |
getIdMapping()
Accessor for the ID mapping of this container object. |
JavaTypeMapping |
getMemberMapping(AbstractMemberMetaData mmd)
Accessor for the mapping for the specified FieldMetaData. |
JavaTypeMapping |
getMultitenancyMapping()
Accessor for the multi-tenancy mapping (if any). |
MappedStoreManager |
getStoreManager()
Accessor for the StoreManager for this table. |
JavaTypeMapping |
getVersionMapping(boolean allowSuperclasses)
Accessor for the version mapping. |
VersionMetaData |
getVersionMetaData()
Accessor for the Version MetaData. |
boolean |
hasDatastoreField(DatastoreIdentifier identifier)
Checks if there is a DatastoreField for the identifier |
| Method Detail |
|---|
MappedStoreManager getStoreManager()
DatastoreIdentifier getIdentifier()
DatastoreField addDatastoreField(String storedJavaType,
DatastoreIdentifier name,
JavaTypeMapping mapping,
ColumnMetaData colmd)
storedJavaType - The type of the Java field to storename - The name of the columnmapping - The type mapping for this columncolmd - The column MetaData
boolean hasDatastoreField(DatastoreIdentifier identifier)
identifier - the identifier of the DatastoreField
DatastoreField getDatastoreField(DatastoreIdentifier identifier)
identifier - The name of the column
DatastoreField[] getDatastoreFields()
JavaTypeMapping getIdMapping()
JavaTypeMapping getMemberMapping(AbstractMemberMetaData mmd)
mmd - Metadata for the field/property
DiscriminatorMetaData getDiscriminatorMetaData()
JavaTypeMapping getDiscriminatorMapping(boolean allowSuperclasses)
allowSuperclasses - Whether we should return just the mapping from this table
or whether we should return it when this table has none and the supertable has
JavaTypeMapping getMultitenancyMapping()
VersionMetaData getVersionMetaData()
JavaTypeMapping getVersionMapping(boolean allowSuperclasses)
allowSuperclasses - Whether we should return just the mapping from this table
or whether we should return it when this table has none and the supertable has
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||