Package com.sodius.mdw.metamodel.uml21
Interface Feature
-
- All Superinterfaces:
Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier,RedefinableElement
- 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 instances of classifiers.The following features are supported:
- See Also:
UMLPackage.getFeature()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassifiergetFeaturingClassifier(String name)Retrieves the firstClassifierwith the specified 'Name' from the ' Featuring Classifier' reference list.ClassifiergetFeaturingClassifier(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstClassifierwith the specified 'Name' from the ' Featuring Classifier' reference list.MDWEList<Classifier>getFeaturingClassifiers()Returns the value of the 'Featuring Classifier' reference list.booleanisStatic()Returns the value of the 'Is Static' attribute.voidsetIsStatic(boolean value)Sets the value of the 'Is Static' attribute.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
-
-
-
-
Method Detail
-
isStatic
boolean isStatic()
Returns the value of the 'Is 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 'Is Static' attribute.
- See Also:
setIsStatic(boolean),UMLPackage.getFeature_IsStatic()
-
setIsStatic
void setIsStatic(boolean value)
Sets the value of the 'Is Static' attribute.- Parameters:
value- the new value of the 'Is Static' attribute.- See Also:
isStatic()
-
getFeaturingClassifiers
MDWEList<Classifier> getFeaturingClassifiers()
Returns the value of the 'Featuring Classifier' reference list. The list contents are of typeClassifier. 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 list.
- See Also:
UMLPackage.getFeature_FeaturingClassifier(),Classifier.getFeatures()
-
getFeaturingClassifier
Classifier getFeaturingClassifier(String name)
Retrieves the firstClassifierwith the specified 'Name' from the ' Featuring Classifier' reference list.- Parameters:
name- The 'Name' of theClassifierto retrieve, ornull.- Returns:
- The first
Classifierwith the specified 'Name', ornull. - See Also:
getFeaturingClassifiers()
-
getFeaturingClassifier
Classifier getFeaturingClassifier(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstClassifierwith the specified 'Name' from the ' Featuring Classifier' reference list.- Parameters:
name- The 'Name' of theClassifierto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theClassifierto retrieve, ornull.- Returns:
- The first
Classifierwith the specified 'Name', ornull. - See Also:
getFeaturingClassifiers()
-
-