net.sf.farrago.cwm.core
Interface CwmFeature

All Superinterfaces:
CwmElement, CwmModelElement, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
CwmAttribute, CwmBehavioralFeature, CwmColumn, CwmMethod, CwmOperation, CwmProcedure, CwmStructuralFeature, CwmUnionMember, FemAbstractAttribute, FemAbstractColumn, FemRoutine, FemSqltypeAttribute, FemStoredColumn, FemViewColumn
All Known Implementing Classes:
CwmAttribute$Hib, CwmColumn$Hib, CwmMethod$Hib, CwmOperation$Hib, CwmProcedure$Hib, CwmUnionMember$Hib, FemRoutine$Hib, FemSqltypeAttribute$Hib, FemStoredColumn$Hib, FemViewColumn$Hib

public interface CwmFeature
extends CwmModelElement

Feature object instance interface. A feature is a property, like attribute or operation, which is encapsulated within a Classifier. In the metamodel, a Feature declares a structural or behavioral characteristic of an instance of a Classifier or of the Classifier itself. Feature is an abstract metaclass.

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
 CwmClassifier getOwner()
          Returns the value of reference owner.
 ScopeKind getOwnerScope()
          Returns the value of attribute ownerScope.
 void setOwner(CwmClassifier newValue)
          Sets the value of owner reference.
 void setOwnerScope(ScopeKind newValue)
          Sets the value of ownerScope attribute.
 
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

getOwnerScope

ScopeKind getOwnerScope()
Returns the value of attribute ownerScope. Specifies whether the Feature appears in every instance of the Classifier or whether it appears only once for the entire Classifier.

Returns:
Value of attribute ownerScope.

setOwnerScope

void setOwnerScope(ScopeKind newValue)
Sets the value of ownerScope attribute. See getOwnerScope() for description on the attribute.

Parameters:
newValue - New value to be set.

getOwner

CwmClassifier getOwner()
Returns the value of reference owner.

Returns:
Value of reference owner.

setOwner

void setOwner(CwmClassifier newValue)
Sets the value of owner reference. See getOwner() for description on the attribute.

Parameters:
newValue - New value to be set.