org.eclipse.wst.rdb.internal.models.sql.constraints
Interface PrimaryKey
- All Superinterfaces:
- Constraint, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, 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 specifies PRIMARY KEY , then for each in the explicit or
implicit for which NOT NULL is not specified, NOT NULL is implicit in the
.
6) A shall specify at most one implicit or explicit that
specifies PRIMARY KEY .
- See Also:
SQLConstraintsPackage.getPrimaryKey()
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject |
addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |