Class ElementMetaData

  • All Implemented Interfaces:
    java.io.Serializable, ColumnMetaDataContainer

    public class ElementMetaData
    extends AbstractElementMetaData
    This element specifies the mapping for the element component of arrays and collections. If only one column is mapped, and no additional information is needed for the column, then the column attribute can be used. Otherwise, the column element(s) are used. The serialised attribute specifies that the key values are to be serialised into the named column. The foreign-key attribute specifies the name of a foreign key to be generated.
    See Also:
    Serialized Form
    • Constructor Detail

      • ElementMetaData

        public ElementMetaData​(ElementMetaData emd)
        Constructor to create a copy of the passed metadata using the provided parent.
        Parameters:
        emd - The metadata to copy
      • ElementMetaData

        public ElementMetaData()
        Default constructor. Set the fields using setters, before populate().
    • Method Detail

      • populate

        public void populate​(ClassLoaderResolver clr,
                             java.lang.ClassLoader primary)
        Populate the MetaData.
        Overrides:
        populate in class AbstractElementMetaData
        Parameters:
        clr - Class loader to use
        primary - the primary ClassLoader to use (or null)