|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StructuralFeature
A structural feature refers to a static feature of a model element, such as an attribute. In the metamodel, a StructuralFeature declares a structural aspect of an Instance of a Classifier, such as an Attribute. For example, it specifies the multiplicity and changeability of the StructuralFeature. StructuralFeature is an abstract metaclass.
Method Summary | |
---|---|
ChangeableKind |
getChangeability()
Whether the value may be modified after the object is initialized. |
Multiplicity |
getMultiplicity()
The possible number of data values for the feature that may be held by an instance. |
OrderingKind |
getOrdering()
Specifies whether the set of instances is ordered. |
ScopeKind |
getTargetScope()
Specifies whether the targets are ordinary Instances or Classifiers. |
Classifier |
getType()
Designates the classifier whose instances are values of the feature. |
void |
setChangeability(ChangeableKind changeability)
Setter for atomic property changeability) |
void |
setMultiplicity(Multiplicity multiplicity)
Setter for atomic property multiplicity) |
void |
setOrdering(OrderingKind ordering)
Setter for atomic property ordering) |
void |
setTargetScope(ScopeKind targetScope)
Setter for atomic property targetScope) |
void |
setType(Classifier type)
Setter for atomic property type) |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.Feature |
---|
getOwner, getOwnerScope, setOwner, setOwnerScope |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
---|
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject |
---|
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit |
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() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setChangeability(ChangeableKind changeability) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Multiplicity getMultiplicity() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setMultiplicity(Multiplicity multiplicity) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
OrderingKind getOrdering() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setOrdering(OrderingKind ordering) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
ScopeKind getTargetScope() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setTargetScope(ScopeKind targetScope) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Classifier getType() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setType(Classifier type) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |