Interface Expression

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
All Known Subinterfaces:
StringExpression

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

An Expression represents a node in an expression tree, which may be non-terminal or terminal. It defines a symbol, and has a possibly empty sequence of operands that are ValueSpecifications. It denotes a (possibly empty) set of values when evaluated in a context.

The following features are supported:

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

    • getSymbol

      @CheckForNull String getSymbol()
      Returns the value of the 'Symbol' attribute. The default value is "". The symbol associated with this node in the expression tree.
      Returns:
      the value of the 'Symbol' attribute.
      See Also:
      Model:
      default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
      Generated:
    • setSymbol

      void setSymbol(@CheckForNull String value)
      Sets the value of the 'Symbol' attribute.
      Parameters:
      value - the new value of the 'Symbol' attribute.
      See Also:
      Generated:
    • getOperand

      List<ValueSpecification> getOperand()
      Returns the value of the 'Operand' containment reference list. The list contents are of type ValueSpecification. It is bidirectional and its opposite is 'Expression'. Specifies a sequence of operand ValueSpecifications.
      Returns:
      the value of the 'Operand' containment reference list.
      See Also:
      Model:
      opposite="expression" containment="true" resolveProxies="true"
      Generated:
    • hasOperand

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