| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.ContainerMetaData org.jpox.metadata.ArrayMetaData
ArrayMetaData | public class ArrayMetaData extends ContainerMetaData (Code) | | Representation of the Meta-Data for an Array.
since: 1.1 version: $Revision: 1.36 $ |
mayContainPersistenceCapableElements | protected boolean mayContainPersistenceCapableElements(Code) | | wether this array may contain PersistenceCapable elements
|
ArrayMetaData | public ArrayMetaData(AbstractMemberMetaData parent, ArrayMetaData arrmd)(Code) | | Constructor to create a copy of the passed metadata using the passed parent.
Parameters: parent - The parent Parameters: arrmd - The metadata to copy |
ArrayMetaData | public ArrayMetaData(AbstractMemberMetaData parent, String elementType, String embeddedElement, String dependentElement, String serializedElement)(Code) | | Constructor.
Parameters: parent - The parent Field Parameters: elementType - Implementation type(s) of element possible (when it is a reference type). Parameters: embeddedElement - Whether the element is embedded into the join table Parameters: dependentElement - Whether the element is dependent for deletion purposes Parameters: serializedElement - Whether the element is serialised into the join table |
getElementClassMetaData | public AbstractClassMetaData getElementClassMetaData()(Code) | | Accessor for the Element ClassMetaData
element ClassMetaData |
getElementType | public String getElementType()(Code) | | Accessor for the element implementation types (when element is a reference type).
The return can contain comma-separated values.
element implementation types |
getReferencedClassMetaData | void getReferencedClassMetaData(List orderedCMDs, Set referencedCMDs, String dba_vendor_id, ClassLoaderResolver clr)(Code) | | Accessor for all AbstractClassMetaData referenced by this array.
Parameters: orderedCMDs - List of ordered AbstractClassMetaData objects (added to). Parameters: referencedCMDs - Set of all AbstractClassMetaData 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 value
embedded-element value |
isSerializedElement | public boolean isSerializedElement()(Code) | | Accessor for the serialized-element tag value
serialized-element tag value |
mayContainPersistenceCapableElements | public boolean mayContainPersistenceCapableElements()(Code) | | Returns whether this array may contain PersistenceCapable elements (as indicated by the user).
TODO Remove this. The element-type of the array defines such things and this is not the solution
whether this array may contain PersistenceCapable elements |
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 in loading any classes 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 - The prefix string Parameters: indent - The indent string a string representation of the object. |
|
|