net.sf.farrago.cwm.keysindexes
Interface CwmUniqueKey
- All Superinterfaces:
- CwmElement, CwmModelElement, RefBaseObject, RefFeatured, RefObject
- All Known Subinterfaces:
- CwmPrimaryKey, CwmUniqueConstraint, FemAbstractUniqueConstraint, FemPrimaryKeyConstraint, FemUniqueKeyConstraint
- All Known Implementing Classes:
- CwmPrimaryKey$Hib, CwmUniqueConstraint$Hib, CwmUniqueKey$Hib, FemPrimaryKeyConstraint$Hib, FemUniqueKeyConstraint$Hib
public interface CwmUniqueKey
- extends CwmModelElement
UniqueKey object instance interface.
A UniqueKey represents a collection of features of some Class that, taken
together, uniquely identify instances of the Class. Instances of UniqueKey
for which all features are required to have non-null values are candidates
for use as primary keys such as those defined by relational DBMSs.
Note: This type should not be subclassed,
implemented or directly instantiated by clients. It is generated from a
MOF metamodel and implemented by Enki or MDR.
getFeature
List<CwmStructuralFeature> getFeature()
- Returns the value of reference feature.
- Returns:
- Value of reference feature. Element type:
CwmStructuralFeature
getKeyRelationship
Collection<CwmKeyRelationship> getKeyRelationship()
- Returns the value of reference keyRelationship.
- Returns:
- Value of reference keyRelationship. Element type:
CwmKeyRelationship