Interface Feature
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
BehavioralFeature
,Connector
,ExtensionEnd
,Operation
,Port
,Property
,Reception
,StructuralFeature
public interface Feature extends RedefinableElement
A representation of the model object 'Feature'.A Feature declares a behavioral or structural characteristic of Classifiers.
The following features are supported:
- See Also:
UMLPackage.getFeature()
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Classifier
getFeaturingClassifier()
Returns the value of the 'Featuring Classifier' reference.boolean
isStatic()
Returns the value of the 'Static' attribute.void
setFeaturingClassifier(Classifier value)
Sets the value of the 'Featuring Classifier
' reference.void
setStatic(boolean value)
Sets the value of the 'Static
' attribute.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getFeaturingClassifier
@CheckForNull Classifier getFeaturingClassifier()
Returns the value of the 'Featuring Classifier' reference. It is bidirectional and its opposite is 'Feature
'. The Classifiers that have this Feature as a feature.- Returns:
- the value of the 'Featuring Classifier' reference.
- See Also:
setFeaturingClassifier(Classifier)
,UMLPackage.getFeature_FeaturingClassifier()
,Classifier.getFeature()
- Model:
- opposite="feature" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
setFeaturingClassifier
void setFeaturingClassifier(@CheckForNull Classifier value)
Sets the value of the 'Featuring Classifier
' reference.- Parameters:
value
- the new value of the 'Featuring Classifier' reference.- See Also:
getFeaturingClassifier()
- Generated:
-
isStatic
boolean isStatic()
Returns the value of the 'Static' attribute. The default value is"false"
. Specifies whether this Feature characterizes individual instances classified by the Classifier (false) or the Classifier itself (true).- Returns:
- the value of the 'Static' attribute.
- See Also:
setStatic(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getFeature_Static()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setStatic
void setStatic(boolean value)
Sets the value of the 'Static
' attribute.- Parameters:
value
- the new value of the 'Static' attribute.- See Also:
isStatic()
- Generated:
-
-