| |
|
| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.IdentityMetaData
IdentityMetaData | public class IdentityMetaData extends MetaData implements ColumnMetaDataContainer(Code) | | Meta-Data for the datastore-identity of a class.
When used in ORM systems defines the column(s) that the identity is mapped to.
Also defines the generation strategy for the identity values.
since: 1.1 version: $Revision: 1.18 $ |
columnName | protected String columnName(Code) | | column name value.
|
valueGeneratorName | protected String valueGeneratorName(Code) | | Name of a value generator if the user wants to override the default JPOX generator.
|
IdentityMetaData | public IdentityMetaData(AbstractClassMetaData parent, String columnName, String strategy, String sequence)(Code) | | Constructor
Parameters: parent - parent AbstractClassMetaData instance Parameters: columnName - Name of the column Parameters: strategy - strategy Parameters: sequence - sequence name |
addColumn | public void addColumn(ColumnMetaData colmd)(Code) | | Add a new ColumnMetaData element
Parameters: colmd - The ColumnMetaData to add |
getColumnMetaData | final public ColumnMetaData[] getColumnMetaData()(Code) | | Accessor for columnMetaData
Returns the columnMetaData. |
getColumnName | public String getColumnName()(Code) | | Accessor for the column name.
column name |
getSequence | public String getSequence()(Code) | | Accessor for the sequence name
sequence name |
getValueGeneratorName | public String getValueGeneratorName()(Code) | | Name of a (user-provided) value generator to override the default JPOX generator for this strategy.
Name of user provided value generator |
getValueStrategy | public IdentityStrategy getValueStrategy()(Code) | | Accessor for the strategy tag value
strategy tag value |
initialise | public void initialise()(Code) | | Method to initialise all internal convenience arrays needed.
|
setValueGeneratorName | public void setValueGeneratorName(String generator)(Code) | | Mutator for the name of the value generator to use for this strategy.
Parameters: generator - Name of value generator |
toString | public String toString(String prefix, String indent)(Code) | | Returns a string representation of the object using a prefix
Parameters: prefix - prefix string Parameters: indent - indent string a string representation of the object. |
|
|
|