org.sintef.mofscript.MOFScriptModel
Interface ArithmeticExpression

All Superinterfaces:
org.eclipse.emf.ecore.EObject, Expression, MOFScriptObject, org.eclipse.emf.common.notify.Notifier, ValueExpression
All Known Implementing Classes:
ArithmeticExpressionImpl

public interface ArithmeticExpression
extends ValueExpression

A representation of the model object 'Arithmetic Expression'.

The following features are supported:

See Also:
MOFScriptModelPackage.getArithmeticExpression()

Method Summary
 ArithmeticOperator getOperator()
          Returns the value of the 'Operator' attribute.
 ValueExpression getPart1()
          Returns the value of the 'Part1' containment reference
 ValueExpression getPart2()
          Returns the value of the 'Part2' containment reference
 void setOperator(ArithmeticOperator value)
          Sets the value of the 'Operator' attribute
 void setPart1(ValueExpression value)
          Sets the value of the 'Part1' containment reference
 void setPart2(ValueExpression value)
          Sets the value of the 'Part2' containment reference
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.ValueExpression
getSpecification, setSpecification
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getOperator

ArithmeticOperator getOperator()
Returns the value of the 'Operator' attribute. The literals are from the enumeration ArithmeticOperator.

If the meaning of the 'Operator' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Operator' attribute.
See Also:
ArithmeticOperator, setOperator(ArithmeticOperator), MOFScriptModelPackage.getArithmeticExpression_Operator()

setOperator

void setOperator(ArithmeticOperator value)
Sets the value of the 'Operator' attribute.

Parameters:
value - the new value of the 'Operator' attribute.
See Also:
ArithmeticOperator, getOperator()

getPart1

ValueExpression getPart1()
Returns the value of the 'Part1' containment reference.

If the meaning of the 'Part1' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Part1' containment reference.
See Also:
setPart1(ValueExpression), MOFScriptModelPackage.getArithmeticExpression_Part1()

setPart1

void setPart1(ValueExpression value)
Sets the value of the 'Part1' containment reference.

Parameters:
value - the new value of the 'Part1' containment reference.
See Also:
getPart1()

getPart2

ValueExpression getPart2()
Returns the value of the 'Part2' containment reference.

If the meaning of the 'Part2' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Part2' containment reference.
See Also:
setPart2(ValueExpression), MOFScriptModelPackage.getArithmeticExpression_Part2()

setPart2

void setPart2(ValueExpression value)
Sets the value of the 'Part2' containment reference.

Parameters:
value - the new value of the 'Part2' containment reference.
See Also:
getPart2()