|
||||||||||
| 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(java.lang.String storedJavaType,
DatastoreIdentifier name,
JavaTypeMapping mapping,
MetaData colmd)
Method to add a new column to the internal representation. |
DatastoreField[] |
getDatastoreFieldsMetaData()
Accessor for the DatastoreFields infered from the java and metadata files. |
JavaTypeMapping |
getDiscriminatorMapping(boolean allowSuperclasses)
Accessor for the discriminator mapping specified. |
DiscriminatorMetaData |
getDiscriminatorMetaData()
Accessor for Discriminator MetaData. |
JavaTypeMapping |
getFieldMapping(AbstractMemberMetaData fmd)
Accessor for the mapping for the specified FieldMetaData. |
JavaTypeMapping |
getIDMapping()
Accessor for the ID mapping of this container object. |
JavaTypeMapping |
getVersionMapping(boolean allowSuperclasses)
Accessor for the version mapping specified . |
VersionMetaData |
getVersionMetaData()
Accessor for the Version MetaData. |
boolean |
hasDatastoreField(DatastoreIdentifier identifier)
Checks if there is a DatastoreField for the identifier |
| Methods inherited from interface org.jpox.store.mapped.DatastoreObject |
|---|
getIdentifier, getStoreManager |
| Method Detail |
|---|
DatastoreField addDatastoreField(java.lang.String storedJavaType,
DatastoreIdentifier name,
JavaTypeMapping mapping,
MetaData colmd)
storedJavaType - The type of the Java field to storename - The name of the columnmapping - The type mapping for this columncolmd - The MetaData (ColumnMetaData for RDBMS)
boolean hasDatastoreField(DatastoreIdentifier identifier)
identifier - the identifier of the DatastoreField
JavaTypeMapping getIDMapping()
JavaTypeMapping getFieldMapping(AbstractMemberMetaData fmd)
fmd - the FieldMetaData
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
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
DatastoreField[] getDatastoreFieldsMetaData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||