Direct Known Subclasses:
ColumnMetadata, OrderColumnMetadata

public class DirectColumnMetadata extends MetadataColumn
INTERNAL: Object to hold onto relation (fk and pk) column metadata in a Eclipselink database field. Key notes: - any metadata mapped from XML to this class must be compared in the equals 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 1.2
  • Constructor Details

    • DirectColumnMetadata

      public DirectColumnMetadata(MetadataAnnotation directColumn, MetadataAccessor accessor)
      INTERNAL: Used annotation loading.
    • DirectColumnMetadata

      protected DirectColumnMetadata(String xmlElement)
      INTERNAL: Used for XML loading.
  • Method Details

    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class MetadataColumn
    • getDatabaseField

      public DatabaseField getDatabaseField()
      INTERNAL:
      Overrides:
      getDatabaseField in class MetadataColumn
    • getInsertable

      public Boolean getInsertable()
      INTERNAL: Used for OX mapping.
    • getNullable

      public Boolean getNullable()
      INTERNAL: Used for OX mapping.
    • getUpdatable

      public Boolean getUpdatable()
      INTERNAL: Used for OX mapping.
    • setInsertable

      public void setInsertable(Boolean insertable)
      INTERNAL: Used for OX mapping.
    • setNullable

      public void setNullable(Boolean nullable)
      INTERNAL: Used for OX mapping.
    • setUpdatable

      public void setUpdatable(Boolean updatable)
      INTERNAL: Used for OX mapping.