Direct Known Subclasses:
JoinFieldMetadata

public class JoinColumnMetadata extends RelationalColumnMetadata
INTERNAL: Object to process JPA join columns EclipseLink database fields. 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:
TopLink EJB 3.0 Reference Implementation
  • Constructor Details

    • JoinColumnMetadata

      public JoinColumnMetadata()
      INTERNAL: Used for XML loading.
    • JoinColumnMetadata

      protected JoinColumnMetadata(String xmlElement)
      INTERNAL: Used for XML loading.
    • JoinColumnMetadata

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

    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class RelationalColumnMetadata
    • getForeignKeyField

      protected DatabaseField getForeignKeyField()
      INTERNAL:
      Overrides:
      getForeignKeyField in class RelationalColumnMetadata
    • getInsertable

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

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

      public String getTable()
      INTERNAL: USed for OX mapping.
    • getUnique

      public Boolean getUnique()
      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.
    • setTable

      public void setTable(String table)
      INTERNAL: Used for OX mapping.
    • setUnique

      public void setUnique(Boolean unique)
      INTERNAL: Used for OX mapping.
    • setUpdatable

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