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
  • Constructor Details

    • PLSQLComplexTypeMetadata

      public PLSQLComplexTypeMetadata(String element)
      INTERNAL: Used for XML loading.
    • PLSQLComplexTypeMetadata

      public PLSQLComplexTypeMetadata(MetadataAnnotation record, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
  • Method Details

    • equals

      public boolean equals(Object objectToCompare)
      INTERNAL:
      Overrides:
      equals in class ComplexTypeMetadata
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ComplexTypeMetadata
    • getCompatibleType

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

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

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

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

      public void setJavaType(String javaType)
      INTERNAL: Used for OX mapping.
    • isPLSQLComplexTypeMetadata

      public boolean isPLSQLComplexTypeMetadata()
      Indicates an instance of PLSQLComplexTypeMetadata.
      Overrides:
      isPLSQLComplexTypeMetadata in class ComplexTypeMetadata
    • isPLSQLRecordMetadata

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

      public boolean isPLSQLTableMetadata()
      Indicates an instance of PLSQLTableMetadata.