|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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,
ExtendableMetaData colmd)
Method to add a new column to the internal representation. |
JavaTypeMapping |
getDiscriminatorMapping()
Accessor for the discriminator mapping specified. |
DiscriminatorMetaData |
getDiscriminatorMetaData()
Accessor for Discriminator MetaData. |
JavaTypeMapping |
getFieldMapping(AbstractPropertyMetaData fmd)
Accessor for the mapping for the specified FieldMetaData. |
JavaTypeMapping |
getIDMapping()
Accessor for the ID mapping of this container object. |
JavaTypeMapping |
getVersionMapping()
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.DatastoreObject |
getIdentifier, getStoreManager |
Method Detail |
public DatastoreField addDatastoreField(java.lang.String storedJavaType, DatastoreIdentifier name, JavaTypeMapping mapping, ExtendableMetaData colmd)
storedJavaType
- The type of the Java field to storename
- The name of the columnmapping
- The type mapping for this columncolmd
- The ExtendableMetaData (ColumnMetaData for RDBMS)
public boolean hasDatastoreField(DatastoreIdentifier identifier)
identifier
- the identifier of the DatastoreField
public JavaTypeMapping getIDMapping()
public JavaTypeMapping getFieldMapping(AbstractPropertyMetaData fmd)
fmd
- the FieldMetaData
public DiscriminatorMetaData getDiscriminatorMetaData()
public JavaTypeMapping getDiscriminatorMapping()
public VersionMetaData getVersionMetaData()
public JavaTypeMapping getVersionMapping()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |