Interface BehavioralFeature

All Superinterfaces:
BaseElement, Cloneable, Comparable, Element, org.eclipse.emf.ecore.EObject, Feature, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, RedefinableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Subinterfaces:
Operation, Reception

public interface BehavioralFeature extends Namespace, Feature
A representation of the model object 'Behavioral Feature'.

A BehavioralFeature is a feature of a Classifier that specifies an aspect of the behavior of its instances. A BehavioralFeature is implemented (realized) by a Behavior. A BehavioralFeature specifies that a Classifier will respond to a designated request by invoking its implementing method.

The following features are supported:

See Also:
Model:
abstract="true" annotation="MOF package='classes.mdkernel'"
Generated:
  • Method Details

    • getOwnedParameter

      List<Parameter> getOwnedParameter()
      Returns the value of the 'Owned Parameter' containment reference list. The list contents are of type Parameter. It is bidirectional and its opposite is 'Owner Formal Param'. The ordered set of formal Parameters of this BehavioralFeature.
      Returns:
      the value of the 'Owned Parameter' containment reference list.
      See Also:
      Model:
      opposite="ownerFormalParam" containment="true" resolveProxies="true"
      Generated:
    • getOwnedParameterSet

      Collection<ParameterSet> getOwnedParameterSet()
      Returns the value of the 'Owned Parameter Set' containment reference list. The list contents are of type ParameterSet. It is bidirectional and its opposite is '.ParameterSet#get_behavioralFeatureOfOwnedParameterSet behavioral Feature Of Owned Parameter Set'. The ParameterSets owned by this BehavioralFeature.
      Returns:
      the value of the 'Owned Parameter Set' containment reference list.
      See Also:
      Model:
      opposite="_behavioralFeatureOfOwnedParameterSet" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getMethod

      Collection<Behavior> getMethod()
      Returns the value of the 'Method' reference list. The list contents are of type Behavior. It is bidirectional and its opposite is 'Specification'. A Behavior that implements the BehavioralFeature. There may be at most one Behavior for a particular pairing of a Classifier (as owner of the Behavior) and a BehavioralFeature (as specification of the Behavior).
      Returns:
      the value of the 'Method' reference list.
      See Also:
      Model:
      opposite="specification" ordered="false"
      Generated:
    • getRaisedException

      Collection<Type> getRaisedException()
      Returns the value of the 'Raised Exception' reference list. The list contents are of type Type. It is bidirectional and its opposite is 'behavioral Feature Of Raised Exception'. The Types representing exceptions that may be raised during an invocation of this BehavioralFeature.
      Returns:
      the value of the 'Raised Exception' reference list.
      See Also:
      Model:
      opposite="_behavioralFeatureOfRaisedException" ordered="false"
      Generated:
    • getConcurrency

      @CheckForNull CallConcurrencyKind getConcurrency()
      Returns the value of the 'Concurrency' attribute. The default value is "sequential". The literals are from the enumeration CallConcurrencyKind. Specifies the semantics of concurrent calls to the same passive instance (i.e., an instance originating from a Class with isActive being false). Active instances control access to their own BehavioralFeatures.
      Returns:
      the value of the 'Concurrency' attribute.
      See Also:
      Model:
      default="sequential" required="true" ordered="false"
      Generated:
    • setConcurrency

      void setConcurrency(@CheckForNull CallConcurrencyKind value)
      Sets the value of the 'Concurrency' attribute.
      Parameters:
      value - the new value of the 'Concurrency' attribute.
      See Also:
      Generated:
    • isAbstract

      boolean isAbstract()
      Returns the value of the 'Abstract' attribute. The default value is "false". If true, then the BehavioralFeature does not have an implementation, and one must be supplied by a more specific Classifier. If false, the BehavioralFeature must have an implementation in the Classifier or one must be inherited.
      Returns:
      the value of the 'Abstract' attribute.
      See Also:
      • setAbstract(boolean)
      • com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getBehavioralFeature_Abstract()
      Model:
      default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
      Generated:
    • setAbstract

      void setAbstract(boolean value)
      Sets the value of the 'Abstract' attribute.
      Parameters:
      value - the new value of the 'Abstract' attribute.
      See Also:
      Generated:
    • hasOwnedParameter

      boolean hasOwnedParameter() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasOwnedParameterSet

      boolean hasOwnedParameterSet() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasMethod

      boolean hasMethod() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasRaisedException

      boolean hasRaisedException() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated: