Interface Expression

  • All Superinterfaces:
    BaseElement, java.lang.Cloneable, java.lang.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:
    UMLPackage.getExpression()
    Model:
    annotation="MOF package='classes.mdkernel'"
    Generated:
    • Method Detail

      • getSymbol

        @CheckForNull
        java.lang.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:
        setSymbol(String), UMLPackage.getExpression_Symbol()
        Model:
        default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
        Generated:
      • setSymbol

        void setSymbol​(@CheckForNull
                       java.lang.String value)
        Sets the value of the 'Symbol' attribute.
        Parameters:
        value - the new value of the 'Symbol' attribute.
        See Also:
        getSymbol()
        Generated:
      • hasOperand

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