org.eclipse.wst.rdb.internal.models.sql.constraints
Interface ReferenceConstraint

All Superinterfaces:
Constraint, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLObject, TableConstraint
All Known Subinterfaces:
ForeignKey, PrimaryKey, UniqueConstraint
All Known Implementing Classes:
ReferenceConstraintImpl

public interface ReferenceConstraint
extends TableConstraint

A representation of the model object 'Reference Constraint'. 4.17.2 Table constraints A table constraint is either a unique constraint, a referential constraint or a table check constraint. A table constraint is described by a table constraint descriptor which is either a unique constraint descriptor, a referential constraint descriptor or a table check constraint descriptor. A referential constraint is described by a referential constraint descriptor. In addition to the components of every table constraint descriptor, a referential constraint descriptor includes: - A list of the names of the referencing columns specified in the . - The referenced table specified in the . - A list of the names of the referenced columns specified in the . - The value of the , if specified, and the , if specified. NOTE 30: If MATCH FULL or MATCH PARTIAL is specified for a referential constraint and if the referencing table has only one column specified in for that referential constraint, or if the referencing table has more than one specified column for that , but none of those columns is nullable, then the effect is the same as if no were specified. The ordering of the lists of referencing column names and referenced column names is implementation-defined, but shall be such that corresponding column names occupy corresponding positions in each list.

The following features are supported:

See Also:
SQLConstraintsPackage.getReferenceConstraint()

Method Summary
 org.eclipse.emf.common.util.EList getMembers()
          Returns the value of the 'Members' reference list.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.constraints.TableConstraint
getBaseTable, setBaseTable
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.constraints.Constraint
isDeferrable, isEnforced, isInitiallyDeferred, setDeferrable, setEnforced, setInitiallyDeferred
 
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
 

Method Detail

getMembers

public org.eclipse.emf.common.util.EList getMembers()
Returns the value of the 'Members' reference list. The list contents are of type Column.

If the meaning of the 'Members' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Members' reference list.
See Also:
SQLConstraintsPackage.getReferenceConstraint_Members()