| |
|
| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.DiscriminatorMetaData
DiscriminatorMetaData | public class DiscriminatorMetaData extends MetaData (Code) | | Representation of a discriminator in an inheritance strategy.
since: 1.1 version: $Revision: 1.21 $ |
columnName | protected String columnName(Code) | | Column name of discriminator
|
indexMetaData | protected IndexMetaData indexMetaData(Code) | | Definition of any indexing of the discriminator column.
|
indexed | protected IndexedValue indexed(Code) | | Whether the discriminator is indexed or not and whether it is unique
|
value | protected String value(Code) | | Value for discriminator column
|
DiscriminatorMetaData | public DiscriminatorMetaData(InheritanceMetaData parent, String columnName, String value, String strategy, String indexed)(Code) | | Constructor.
Parameters: parent - parent InheritanceMetaData instance Parameters: columnName - Name of the column Parameters: value - Value for discriminator column Parameters: strategy - The strategy Parameters: indexed - The indexed tag |
getColumnMetaData | public ColumnMetaData getColumnMetaData()(Code) | | Accessor for column MetaData.
Returns the column MetaData. |
getColumnName | public String getColumnName()(Code) | | Accessor for columnName.
Returns the columnName. |
getIndexMetaData | final public IndexMetaData getIndexMetaData()(Code) | | Accessor for indexMetaData
Returns the indexMetaData. |
getIndexedValue | final public IndexedValue getIndexedValue()(Code) | | Accessor for indexed value.
Returns the indexed value. |
getValue | public String getValue()(Code) | | Accessor for value.
Returns the value. |
initialise | public void initialise()(Code) | | Initialisation method. This should be called AFTER using the populate
method if you are going to use populate. It creates the internal
convenience arrays etc needed for normal operation.
|
setColumnMetaData | public void setColumnMetaData(ColumnMetaData columnMetaData)(Code) | | Mutator for column MetaData.
Parameters: columnMetaData - The column MetaData to set. |
setColumnName | public void setColumnName(String columnName)(Code) | | Mutator for columnName.
Parameters: columnName - The columnName to set. |
setIndexMetaData | final public void setIndexMetaData(IndexMetaData indexMetaData)(Code) | | Mutator for the index MetaData
Parameters: indexMetaData - The indexMetaData to set. |
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. |
|
|
|