org.eclipse.datatools.modelbase.sql.constraints
Interface UniqueConstraint
- All Superinterfaces:
- Constraint, ReferenceConstraint, SQLObject, TableConstraint
- All Known Subinterfaces:
- PrimaryKey
- All Known Implementing Classes:
- PrimaryKeyImpl, UniqueConstraintImpl
- public interface UniqueConstraint
- extends ReferenceConstraint
A representation of the model object 'Unique Constraint'.
Section 4.17.2
A unique constraint is satisfied if and only if no two rows in a table have the same non-null values in the unique columns.
Section 11.7
3) If UCL is specified, then
a) Each in the shall identify a column of T, and the same column
shall not be identified more than once.
b) The set of columns in the shall be distinct from the unique columns of any other unique constraint descriptor that is included in the base table descriptor of T.
The following features are supported:
- See Also:
SQLConstraintsPackage.getUniqueConstraint()
Method Summary |
EList |
getForeignKey()
Returns the value of the 'Foreign Key' reference list. |
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject |
addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
getForeignKey
public EList getForeignKey()
- Returns the value of the 'Foreign Key' reference list.
The list contents are of type
ForeignKey
.
It is bidirectional and its opposite is 'Unique Constraint
'.
If the meaning of the 'Foreign Key' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Foreign Key' reference list.
- See Also:
SQLConstraintsPackage.getUniqueConstraint_ForeignKey()
,
ForeignKey.getUniqueConstraint()
Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.