| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.ContainerMetaData org.jpox.metadata.CollectionMetaData
CollectionMetaData | public class CollectionMetaData extends ContainerMetaData (Code) | | Representation of the MetaData of a collection.
since: 1.1 version: $Revision: 1.37 $ |
CollectionMetaData | public CollectionMetaData(AbstractMemberMetaData parent, CollectionMetaData colmd)(Code) | | Constructor to create a copy of the passed metadata using the passed parent.
Parameters: parent - The parent Parameters: colmd - The metadata to copy |
CollectionMetaData | public CollectionMetaData(AbstractMemberMetaData parent, String elementType, String embeddedElement, String dependentElement, String serializedElement)(Code) | | Constructor.
Parameters: parent - The parent Field element Parameters: elementType - The type of element Parameters: embeddedElement - Whether elements are embedded Parameters: dependentElement - attribute dependent-element value Parameters: serializedElement - attribute serialized-element value |
getElementClassMetaData | public AbstractClassMetaData getElementClassMetaData()(Code) | | Accessor for the Element ClassMetaData
element ClassMetaData |
getElementType | public String getElementType()(Code) | | Accessor for the element-type tag value.
This can contain comma-separated values.
element-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 |
isDependentElement | public boolean isDependentElement()(Code) | | Accessor for The dependent-element attribute indicates that the
collection's element contains a reference that is to be deleted if the
referring instance is deleted.
dependent-element tag value |
isEmbeddedElement | public boolean isEmbeddedElement()(Code) | | Accessor for the embedded-element tag value
embedded-element tag value |
isSerializedElement | public boolean isSerializedElement()(Code) | | Accessor for the serialized-element tag value
serialized-element 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 any loading operations 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. |
|
|