de.uka.ipd.sdq.stoex.impl
Class CompareExpressionImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.stoex.impl.ExpressionImpl
          extended by de.uka.ipd.sdq.stoex.impl.IfElseImpl
              extended by de.uka.ipd.sdq.stoex.impl.BooleanExpressionImpl
                  extended by de.uka.ipd.sdq.stoex.impl.ComparisonImpl
                      extended by de.uka.ipd.sdq.stoex.impl.CompareExpressionImpl
All Implemented Interfaces:
BooleanExpression, CompareExpression, Comparison, Expression, IfElse

public class CompareExpressionImpl
extends ComparisonImpl
implements CompareExpression

An implementation of the model object 'Compare Expression'.

The following features are implemented:


Field Summary
static String copyright
           
protected  Term left
          The cached value of the 'Left' containment reference.
protected  CompareOperations operation
          The cached value of the 'Operation' attribute.
protected static CompareOperations OPERATION_EDEFAULT
          The default value of the 'Operation' attribute.
protected  Term right
          The cached value of the 'Right' containment reference.
 
Constructor Summary
protected CompareExpressionImpl()
           
 
Method Summary
 NotificationChain basicSetLeft(Term newLeft, NotificationChain msgs)
           
 NotificationChain basicSetRight(Term newRight, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Term getLeft()
           
 CompareOperations getOperation()
           
 Term getRight()
           
 void setLeft(Term newLeft)
           
 void setOperation(CompareOperations newOperation)
           
 void setRight(Term newRight)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

left

protected Term left
The cached value of the 'Left' containment reference.

See Also:
getLeft()

right

protected Term right
The cached value of the 'Right' containment reference.

See Also:
getRight()

OPERATION_EDEFAULT

protected static final CompareOperations OPERATION_EDEFAULT
The default value of the 'Operation' attribute.

See Also:
getOperation()

operation

protected CompareOperations operation
The cached value of the 'Operation' attribute.

See Also:
getOperation()
Constructor Detail

CompareExpressionImpl

protected CompareExpressionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ComparisonImpl

getLeft

public Term getLeft()

Specified by:
getLeft in interface CompareExpression
Returns:
the value of the 'Left' containment reference.
See Also:
CompareExpression.setLeft(Term), StoexPackage.getCompareExpression_Left()

basicSetLeft

public NotificationChain basicSetLeft(Term newLeft,
                                      NotificationChain msgs)


setLeft

public void setLeft(Term newLeft)

Specified by:
setLeft in interface CompareExpression
Parameters:
newLeft - the new value of the 'Left' containment reference.
See Also:
CompareExpression.getLeft()

getRight

public Term getRight()

Specified by:
getRight in interface CompareExpression
Returns:
the value of the 'Right' containment reference.
See Also:
CompareExpression.setRight(Term), StoexPackage.getCompareExpression_Right()

basicSetRight

public NotificationChain basicSetRight(Term newRight,
                                       NotificationChain msgs)


setRight

public void setRight(Term newRight)

Specified by:
setRight in interface CompareExpression
Parameters:
newRight - the new value of the 'Right' containment reference.
See Also:
CompareExpression.getRight()

getOperation

public CompareOperations getOperation()

Specified by:
getOperation in interface CompareExpression
Returns:
the value of the 'Operation' attribute.
See Also:
CompareOperations, CompareExpression.setOperation(CompareOperations), StoexPackage.getCompareExpression_Operation()

setOperation

public void setOperation(CompareOperations newOperation)

Specified by:
setOperation in interface CompareExpression
Parameters:
newOperation - the new value of the 'Operation' attribute.
See Also:
CompareOperations, CompareExpression.getOperation()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()