org.eclipse.mofscript.MOFScriptModel
Interface ComparisonExpression

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

public interface ComparisonExpression
extends Expression

A representation of the model object 'Comparison Expression'.

The following features are supported:

See Also:
MOFScriptModelPackage.getComparisonExpression()

Method Summary
 ComparisonOperator 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(ComparisonOperator 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.eclipse.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

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

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:
ComparisonOperator, setOperator(ComparisonOperator), MOFScriptModelPackage.getComparisonExpression_Operator()

setOperator

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

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

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.getComparisonExpression_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()

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.getComparisonExpression_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()