## org.eclipse.datatools.modelbase.sql.constraints
Interface PrimaryKey

All Superinterfaces:
  Constraint, ReferenceConstraint, SQLObject, TableConstraint, UniqueConstraint

All Known Implementing Classes:
  PrimaryKeyImpl

public interface PrimaryKey
extends UniqueConstraint

A representation of the model object 'Primary Key'. Section 4.17 A PrimaryKey is a specialization of a UniqueConstraint. A PrimaryKey additionally requires that none of the values in the specified column or columns be a null value. Section 11.7 5) If the <unique specification> specifies PRIMARY KEY , then for each <column name> in the explicit or implicit <unique column list> for which NOT NULL is not specified, NOT NULL is implicit in the <column definition> . 6) A

shall specify at most one implicit or explicit <unique constraint definition> that specifies PRIMARY KEY .

See Also:
  `SQLConstraintsPackage.getPrimaryKey()`

Methods inherited from interface org.eclipse.datatools.modelbase.sql.constraints.UniqueConstraint
`getForeignKey`

Methods inherited from interface org.eclipse.datatools.modelbase.sql.constraints.ReferenceConstraint
`getMembers`

Methods inherited from interface org.eclipse.datatools.modelbase.sql.constraints.TableConstraint
`getBaseTable, setBaseTable`

Methods inherited from interface org.eclipse.datatools.modelbase.sql.constraints.Constraint
`isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred`

Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
`addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel`

Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.