| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.ContainerMetaData org.jpox.metadata.MapMetaData
MapMetaData | public class MapMetaData extends ContainerMetaData (Code) | | Representation of the Meta-Data for a Map.
since: 1.1 version: $Revision: 1.39 $ |
MapMetaData | public MapMetaData(AbstractMemberMetaData parent, MapMetaData mapmd)(Code) | | Constructor to create a copy of the passed metadata using the passed parent.
Parameters: parent - The parent Parameters: mapmd - The metadata to copy |
MapMetaData | public MapMetaData(AbstractMemberMetaData parent, String keyType, String embeddedKey, String dependentKey, String serializedKey, String valueType, String embeddedValue, String dependentValue, String serializedValue)(Code) | | Constructor.
Parameters: parent - parent Field Parameters: keyType - key-type tag value Parameters: embeddedKey - embedded-key tag value Parameters: dependentKey - dependent-key tag value Parameters: serializedKey - serialized-key tag value Parameters: valueType - value-type tag value Parameters: embeddedValue - embedded-value tag value Parameters: dependentValue - dependent-value tag value Parameters: serializedValue - serialized-value tag value |
getKeyType | public String getKeyType()(Code) | | Accessor for the key-type tag value.
May be comma-separated if several key types are possible.
key-type tag value |
getReferencedClassMetaData | void getReferencedClassMetaData(List orderedCMDs, Set referencedCMDs, String dba_vendor_id, ClassLoaderResolver clr)(Code) | | Accessor for all ClassMetaData referenced by this array.
Parameters: orderedCMDs - List of ordered ClassMetaData objects (added to). Parameters: referencedCMDs - Set of all ClassMetaData objects (added to). Parameters: dba_vendor_id - Vendor ID of the DBA. Used for view addition. Parameters: clr - the ClassLoaderResolver |
getValueClassMetaData | public AbstractClassMetaData getValueClassMetaData()(Code) | | Accessor for the Value ClassMetaData
value ClassMetaData |
getValueType | public String getValueType()(Code) | | Accessor for the value-type tag value.
May be comma-separated if several value types are possible.
value-type tag value |
isDependentKey | public boolean isDependentKey()(Code) | | Accessor for the dependent-key attribute indicates that the map's
key contains references that are to be deleted if the referring instance
is deleted.
dependent-key tag value |
isDependentValue | public boolean isDependentValue()(Code) | | Accessor for the dependent-value attribute indicates that the
map's value contains references that are to be deleted if the
referring instance is deleted.
dependent-value tag value |
isEmbeddedKey | public boolean isEmbeddedKey()(Code) | | Accessor for the embedded-key tag value.
embedded-key tag value |
isEmbeddedValue | public boolean isEmbeddedValue()(Code) | | Accessor for the embedded-value tag value.
embedded-value tag value |
isSerializedKey | public boolean isSerializedKey()(Code) | | Accessor for the serialized-key tag value.
serialized-key tag value |
isSerializedValue | public boolean isSerializedValue()(Code) | | Accessor for the serialized-value tag value.
serialized-value tag value |
populate | public void populate(ClassLoaderResolver clr, ClassLoader primary)(Code) | | Method to populate any defaults, and check the validity of the MetaData.
Parameters: clr - ClassLoaderResolver to use for loading any key/value types 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.
Parameters: prefix - prefix string Parameters: indent - indent string a string representation of the object. |
|
|