Class PLSQLComplexTypeMetadata

  • Direct Known Subclasses:
    PLSQLRecordMetadata, PLSQLTableMetadata

    public abstract class PLSQLComplexTypeMetadata
    extends ComplexTypeMetadata
    INTERNAL: Object to hold onto a PLSQL complex type meta-data. 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.3
    Author:
    James Sutherland
    • Constructor Detail

      • PLSQLComplexTypeMetadata

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

      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        INTERNAL:
        Overrides:
        equals in class ComplexTypeMetadata
      • getCompatibleType

        public java.lang.String getCompatibleType()
        INTERNAL: Used for OX mapping.
      • getJavaType

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

        protected void process​(org.eclipse.persistence.internal.helper.ComplexDatabaseType type)
        Build a runtime record type from the meta-data.
        Overrides:
        process in class ComplexTypeMetadata
      • setCompatibleType

        public void setCompatibleType​(java.lang.String compatibleType)
        INTERNAL: Used for OX mapping.
      • setJavaType

        public void setJavaType​(java.lang.String javaType)
        INTERNAL: Used for OX mapping.
      • isPLSQLRecordMetadata

        public boolean isPLSQLRecordMetadata()
        Indicates an instance of PLSQLRecordMetadata.
      • isPLSQLTableMetadata

        public boolean isPLSQLTableMetadata()
        Indicates an instance of PLSQLTableMetadata.