All Superinterfaces:
BaseElement, Cloneable, Comparable, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, 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:
Model:
abstract="true" annotation="MOF package='classes.mdkernel'"
Generated:
  • Method Details

    • 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:
      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:
      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:
      Generated: