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.

Method Summary
 List<CwmStructuralFeature> getFeature()
          Returns the value of reference feature.
 Collection<CwmKeyRelationship> getKeyRelationship()
          Returns the value of reference keyRelationship.
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints

Method Detail


List<CwmStructuralFeature> getFeature()
Returns the value of reference feature.

Value of reference feature. Element type: CwmStructuralFeature


Collection<CwmKeyRelationship> getKeyRelationship()
Returns the value of reference keyRelationship.

Value of reference keyRelationship. Element type: CwmKeyRelationship