Module eclipselink

Class PrimaryKeyConstraint

All Implemented Interfaces:
Serializable, Cloneable

public class PrimaryKeyConstraint extends ConstraintObjectDefinition
See Also:
  • Constructor Details

    • PrimaryKeyConstraint

      public PrimaryKeyConstraint()
    • PrimaryKeyConstraint

      public PrimaryKeyConstraint(String name, String sourceField)
  • Method Details

    • appendDBString

      @Deprecated(forRemoval=true, since="4.0.9") public void appendDBString(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session)
      Deprecated, for removal: This API element is subject to removal in a future version.
      INTERNAL: Append the database field definition string to the table creation statement.
      Overrides:
      appendDBString in class ConstraintObjectDefinition
    • appendKeys

      @Deprecated(forRemoval=true, since="4.0.9") protected void appendKeys(Writer writer, List<String> keys)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addSourceField

      public void addSourceField(String sourceField)
    • getSourceFields

      public List<String> getSourceFields()
    • setSourceFields

      public void setSourceFields(List<String> sourceFields)