Interface OpaqueExpression

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, PackageableElement, ParameterableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, TypedElement, ValueSpecification

public interface OpaqueExpression extends ValueSpecification
A representation of the model object 'Opaque Expression'.

An OpaqueExpression is a ValueSpecification that specifies the computation of a collection of values either in terms of a UML Behavior or based on a textual statement in a language other than UML

The following features are supported:

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

    • getBody

      List<String> getBody()
      Returns the value of the 'Body' attribute list. The list contents are of type String. A textual definition of the behavior of the OpaqueExpression, possibly in multiple languages.
      Returns:
      the value of the 'Body' attribute list.
      See Also:
      Model:
      unique="false" dataType="com.nomagic.uml2.ext.magicdraw.String"
      Generated:
    • getLanguage

      List<String> getLanguage()
      Returns the value of the 'Language' attribute list. The list contents are of type String. Specifies the languages used to express the textual bodies of the OpaqueExpression. Languages are matched to body Strings by order. The interpretation of the body depends on the languages. If the languages are unspecified, they may be implicit from the expression body or the context.
      Returns:
      the value of the 'Language' attribute list.
      See Also:
      Model:
      dataType="com.nomagic.uml2.ext.magicdraw.String"
      Generated:
    • getResult

      @CheckForNull Parameter getResult()
      Returns the value of the 'Result' reference. It is bidirectional and its opposite is 'opaque Expression Of Result'. If an OpaqueExpression is specified using a UML Behavior, then this refers to the single required return Parameter of that Behavior. When the Behavior completes execution, the values on this Parameter give the result of evaluating the OpaqueExpression.
      Returns:
      the value of the 'Result' reference.
      See Also:
      Model:
      opposite="_opaqueExpressionOfResult" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
      Generated:
    • get_abstractionOfMapping

      @CheckForNull Abstraction get_abstractionOfMapping()
      Returns the value of the 'abstraction Of Mapping' container reference. It is bidirectional and its opposite is 'Mapping'.

      If the meaning of the 'abstraction Of Mapping' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'abstraction Of Mapping' container reference.
      See Also:
      Model:
      opposite="mapping" transient="false" ordered="false"
      Generated:
    • set_abstractionOfMapping

      void set_abstractionOfMapping(@CheckForNull Abstraction value)
      Sets the value of the 'abstraction Of Mapping' container reference.
      Parameters:
      value - the new value of the 'abstraction Of Mapping' container reference.
      See Also:
      Generated:
    • getBehavior

      @CheckForNull Behavior getBehavior()
      Returns the value of the 'Behavior' reference. It is bidirectional and its opposite is 'opaque Expression Of Behavior'. Specifies the behavior of the OpaqueExpression as a UML Behavior.
      Returns:
      the value of the 'Behavior' reference.
      See Also:
      Model:
      opposite="_opaqueExpressionOfBehavior" ordered="false"
      Generated:
    • setBehavior

      void setBehavior(@CheckForNull Behavior value)
      Sets the value of the 'Behavior' reference.
      Parameters:
      value - the new value of the 'Behavior' reference.
      See Also:
      Generated:
    • hasBody

      boolean hasBody() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasLanguage

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