|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CwmStructuralFeature
StructuralFeature object instance interface. A structural feature refers to a static feature of a model element. In the metamodel, a StructuralFeature declares a structural aspect of a Classifier that is typed, such as an attribute. For example, it specifies the multiplicity and changeability of the StructuralFeature. StructuralFeature 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 | |
---|---|
ChangeableKind |
getChangeability()
Returns the value of attribute changeability. |
CwmMultiplicity |
getMultiplicity()
Returns the value of attribute multiplicity. |
OrderingKind |
getOrdering()
Returns the value of attribute ordering. |
ScopeKind |
getTargetScope()
Returns the value of attribute targetScope. |
CwmClassifier |
getType()
Returns the value of reference type. |
void |
setChangeability(ChangeableKind newValue)
Sets the value of changeability attribute. |
void |
setMultiplicity(CwmMultiplicity newValue)
Sets the value of multiplicity attribute. |
void |
setOrdering(OrderingKind newValue)
Sets the value of ordering attribute. |
void |
setTargetScope(ScopeKind newValue)
Sets the value of targetScope attribute. |
void |
setType(CwmClassifier newValue)
Sets the value of type reference. |
Methods inherited from interface net.sf.farrago.cwm.core.CwmFeature |
---|
getOwner, getOwnerScope, setOwner, setOwnerScope |
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 |
---|
ChangeableKind getChangeability()
void setChangeability(ChangeableKind newValue)
getChangeability()
for description on the attribute.
newValue
- New value to be set.CwmMultiplicity getMultiplicity()
void setMultiplicity(CwmMultiplicity newValue)
getMultiplicity()
for description on the attribute.
newValue
- New value to be set.OrderingKind getOrdering()
void setOrdering(OrderingKind newValue)
getOrdering()
for
description on the attribute.
newValue
- New value to be set.ScopeKind getTargetScope()
void setTargetScope(ScopeKind newValue)
getTargetScope()
for description on the attribute.
newValue
- New value to be set.CwmClassifier getType()
void setType(CwmClassifier newValue)
getType()
for
description on the attribute.
newValue
- New value to be set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |