| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.AbstractElementMetaData org.jpox.metadata.KeyMetaData
KeyMetaData | public class KeyMetaData extends AbstractElementMetaData (Code) | | This element specifies the mapping for the key component of maps.
The serialized attribute specifies that the key values are to be serialized into the named column.
since: 1.1 version: $Revision: 1.28 $ |
KeyMetaData | public KeyMetaData(MetaData parent, KeyMetaData kmd)(Code) | | Constructor to create a copy of the passed metadata using the provided parent.
Parameters: parent - The parent Parameters: kmd - The metadata to copy |
KeyMetaData | public KeyMetaData(MetaData parent, String column, String deleteAction, String updateAction, String indexed, String unique, String mappedBy)(Code) | | Constructor.
Parameters: parent - Parent MetaData Parameters: column - Name of column Parameters: deleteAction - attribute delete-action value Parameters: updateAction - attribute delete-action value Parameters: indexed - Whether to index this Parameters: unique - Whether to add a unique constraint Parameters: mappedBy - Field the key is mapped by in the value object |
populate | public void populate(ClassLoaderResolver clr, ClassLoader primary)(Code) | | Populate the MetaData.
Parameters: clr - Class loader to use Parameters: primary - the primary ClassLoader to use (or null) |
toString | public String toString(String prefix, String indent)(Code) | | Returns a string representation of the object using a prefix
This can be used as part of a facility to output a MetaData file.
Parameters: prefix - prefix string Parameters: indent - indent string a string representation of the object. |
|
|