| org.jpox.store.DatastoreContainerObject
DatastoreContainerObject | public interface DatastoreContainerObject extends DatastoreObject(Code) | | This represents a container of fields. Such as table (container of columns), file, etc.
version: $Revision: 1.15 $ |
addDatastoreField | DatastoreField addDatastoreField(String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, MetaData colmd)(Code) | | Method to add a new column to the internal representation.
Parameters: storedJavaType - The type of the Java field to store Parameters: name - The name of the column Parameters: mapping - The type mapping for this column Parameters: colmd - The MetaData (ColumnMetaData for RDBMS) The new Column |
getDatastoreFieldsMetaData | DatastoreField[] getDatastoreFieldsMetaData()(Code) | | Accessor for the DatastoreFields infered from the java and metadata files.
the DatastoreField[] |
getDiscriminatorMapping | JavaTypeMapping getDiscriminatorMapping(boolean allowSuperclasses)(Code) | | Accessor for the discriminator mapping specified.
Parameters: allowSuperclasses - Whether we should return just the mapping from this tableor whether we should return it when this table has none and the supertable has The discriminator mapping |
getDiscriminatorMetaData | DiscriminatorMetaData getDiscriminatorMetaData()(Code) | | Accessor for Discriminator MetaData.
Returns the Discriminator MetaData. |
getFieldMapping | JavaTypeMapping getFieldMapping(AbstractMemberMetaData fmd)(Code) | | Accessor for the mapping for the specified FieldMetaData. A
datastore container object may store many fields.
Parameters: fmd - the FieldMetaData The Mapping for the field, or null if the FieldMetaData cannot be found |
getIDMapping | JavaTypeMapping getIDMapping()(Code) | | Accessor for the ID mapping of this container object.
The ID Mapping (if present) |
getVersionMapping | JavaTypeMapping getVersionMapping(boolean allowSuperclasses)(Code) | | Accessor for the version mapping specified .
Parameters: allowSuperclasses - Whether we should return just the mapping from this tableor whether we should return it when this table has none and the supertable has The version mapping. |
getVersionMetaData | VersionMetaData getVersionMetaData()(Code) | | Accessor for the Version MetaData.
Returns the Version MetaData. |
hasDatastoreField | boolean hasDatastoreField(DatastoreIdentifier identifier)(Code) | | Checks if there is a DatastoreField for the identifier
Parameters: identifier - the identifier of the DatastoreField true if the DatastoreField exists for the identifier |
|
|