Class PrimaryKey {Analysis} derived from: UniqueConstraint

Documentation
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 <table definition> shall specify at most one implicit or explicit <unique constraint definition> that
specifies PRIMARY KEY .


Parent PackageConstraintsAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceNo  


Operations
NameSignatureClass
addEAnnotationEAnnotation addEAnnotation (String source)SQLObject
addEAnnotationDetailvoid addEAnnotationDetail (EAnnotation eAnnotation, String key, String value)SQLObject
getEAnnotationDetailString getEAnnotationDetail (EAnnotation eAnnotation, String key)SQLObject
setAnnotationDetailvoid setAnnotationDetail (EAnnotation eAnnotation, String key, String value)SQLObject
removeEAnnotationDetailvoid removeEAnnotationDetail (EAnnotation eAnnotation, String key)SQLObject
getEAnnotationEAnnotation getEAnnotation (String source)SQLObject
getEAnnotationEAnnotation getEAnnotation (String source)EModelElement
eClassEClass eClass ()EObject
eIsProxyboolean eIsProxy ()EObject
eResourceEResource eResource ()EObject
eContainerEObject eContainer ()EObject
eContainingFeatureEStructuralFeature eContainingFeature ()EObject
eContainmentFeatureEReference eContainmentFeature ()EObject
eContentsEEList eContents ()EObject
eAllContentsETreeIterator eAllContents ()EObject
eCrossReferencesEEList eCrossReferences ()EObject
eGetEJavaObject eGet (EStructuralFeature feature)EObject
eGetEJavaObject eGet (EStructuralFeature feature, boolean resolve)EObject
eSet eSet (EStructuralFeature feature, EJavaObject newValue)EObject
eIsSetboolean eIsSet (EStructuralFeature feature)EObject
eUnset eUnset (EStructuralFeature feature)EObject


Attributes
NameClassTypeInitial Value
deferrableConstraintboolean 
initiallyDeferredConstraintbooleanfalse
enforcedConstraintbooleantrue
descriptionSQLObjectString 
labelSQLObjectString 
nameENamedElementString 


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named--uniqueConstraintUniqueConstraint--Not Named--ForeignKey
--Not Named----Not Named--ReferenceConstraintmembersColumn
--Not Named--constraintsTableConstraint--Not Named--BaseTable
=--Not Named--SQLObjectdependenciesDependency
--Not Named--objectSQLObject--Not Named--Privilege
--Not Named--object2SQLObject--Not Named--DoubleObjectPrivilege
--Not Named--eModelElementEModelElementeAnnotationsEAnnotation
--Not Named--contentsEObject--Not Named--EAnnotation
--Not Named--referencesEObject--Not Named--EAnnotation
--Not Named--targetEndEObject--Not Named--Dependency


Generalization Relationships
NameClassSupplier
--Not Named--PrimaryKeyUniqueConstraint
--Not Named--UniqueConstraintReferenceConstraint
--Not Named--ReferenceConstraintTableConstraint
--Not Named--TableConstraintConstraint
--Not Named--ConstraintSQLObject
--Not Named--SQLObjectENamedElement
--Not Named--ENamedElementEModelElement
--Not Named--EModelElementEObject