Class PrimaryKeyForeignKeyMetadata


public class PrimaryKeyForeignKeyMetadata extends ForeignKeyMetadata
INTERNAL: Object to process JPA primary key foreign key metadata. 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 2.5
  • Constructor Details

    • PrimaryKeyForeignKeyMetadata

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

      public PrimaryKeyForeignKeyMetadata(ForeignKeyMetadata foreignKey)
      INTERNAL: Used for annotation loading.
    • PrimaryKeyForeignKeyMetadata

      public PrimaryKeyForeignKeyMetadata(MetadataAnnotation primaryKeyForeignKey, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.