Class ComplexTypeMetadata

  • Direct Known Subclasses:
    OracleComplexTypeMetadata, PLSQLComplexTypeMetadata

    public abstract class ComplexTypeMetadata
    extends ORMetadata
    INTERNAL: Object to hold onto complex type meta-data, including PL/SQL records and collections, as well as advanced Oracle JDBC types. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - all metadata mapped from XML should be initialized in the initXMLObject method. - when loading from annotations, the constructor accepts the metadata accessor this metadata was loaded from. Used it to look up any 'companion' annotation needed for processing. - methods should be preserved in alphabetical order.
    Since:
    EclipseLink 2.5
    Author:
    David McCann
    • Field Detail

      • name

        protected java.lang.String name
    • Constructor Detail

      • ComplexTypeMetadata

        public ComplexTypeMetadata​(java.lang.String element)
        INTERNAL: Used for XML loading.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        INTERNAL:
        Specified by:
        equals in class ORMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getName

        public java.lang.String getName()
        INTERNAL: Used for OX mapping.
      • process

        public abstract org.eclipse.persistence.internal.helper.ComplexDatabaseType process()
        Build a runtime type from the meta-data.
      • process

        protected void process​(org.eclipse.persistence.internal.helper.ComplexDatabaseType type)
        Build a runtime record type from the meta-data.
      • setName

        public void setName​(java.lang.String name)
        INTERNAL: Used for OX mapping.
      • isOracleComplexTypeMetadata

        public boolean isOracleComplexTypeMetadata()
        Indicates an instance of OracleComplexTypeMetadata.
      • isPLSQLComplexTypeMetadata

        public boolean isPLSQLComplexTypeMetadata()
        Indicates an instance of PLSQLComplexTypeMetadata.