ujf.verimag.bip.Core.ActionLanguage.Expressions.impl
Class BinaryExpressionImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.Core.Behaviors.impl.ActionImpl
          extended by ujf.verimag.bip.Core.Behaviors.impl.ExpressionImpl
              extended by ujf.verimag.bip.Core.ActionLanguage.Expressions.impl.BinaryExpressionImpl
All Implemented Interfaces:
BinaryExpression, Action, Expression

public class BinaryExpressionImpl
extends ExpressionImpl
implements BinaryExpression

An implementation of the model object 'Binary Expression'.

The following features are implemented:


Field Summary
protected  Expression leftOperand
          The cached value of the 'Left Operand' containment reference.
protected  BinaryOperator operator
          The cached value of the 'Operator' attribute.
protected static BinaryOperator OPERATOR_EDEFAULT
          The default value of the 'Operator' attribute.
protected  Expression rightOperand
          The cached value of the 'Right Operand' containment reference.
 
Constructor Summary
protected BinaryExpressionImpl()
           
 
Method Summary
 NotificationChain basicSetLeftOperand(Expression newLeftOperand, NotificationChain msgs)
           
 NotificationChain basicSetRightOperand(Expression newRightOperand, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Expression getLeftOperand()
           
 BinaryOperator getOperator()
           
 Expression getRightOperand()
           
 void setLeftOperand(Expression newLeftOperand)
           
 void setOperator(BinaryOperator newOperator)
           
 void setRightOperand(Expression newRightOperand)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPERATOR_EDEFAULT

protected static final BinaryOperator OPERATOR_EDEFAULT
The default value of the 'Operator' attribute.

See Also:
getOperator()

operator

protected BinaryOperator operator
The cached value of the 'Operator' attribute.

See Also:
getOperator()

leftOperand

protected Expression leftOperand
The cached value of the 'Left Operand' containment reference.

See Also:
getLeftOperand()

rightOperand

protected Expression rightOperand
The cached value of the 'Right Operand' containment reference.

See Also:
getRightOperand()
Constructor Detail

BinaryExpressionImpl

protected BinaryExpressionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ExpressionImpl

getOperator

public BinaryOperator getOperator()

Specified by:
getOperator in interface BinaryExpression
Returns:
the value of the 'Operator' attribute.
See Also:
BinaryOperator, BinaryExpression.setOperator(BinaryOperator), ExpressionsPackage.getBinaryExpression_Operator()

setOperator

public void setOperator(BinaryOperator newOperator)

Specified by:
setOperator in interface BinaryExpression
Parameters:
newOperator - the new value of the 'Operator' attribute.
See Also:
BinaryOperator, BinaryExpression.getOperator()

getLeftOperand

public Expression getLeftOperand()

Specified by:
getLeftOperand in interface BinaryExpression
Returns:
the value of the 'Left Operand' containment reference.
See Also:
BinaryExpression.setLeftOperand(Expression), ExpressionsPackage.getBinaryExpression_LeftOperand()

basicSetLeftOperand

public NotificationChain basicSetLeftOperand(Expression newLeftOperand,
                                             NotificationChain msgs)


setLeftOperand

public void setLeftOperand(Expression newLeftOperand)

Specified by:
setLeftOperand in interface BinaryExpression
Parameters:
newLeftOperand - the new value of the 'Left Operand' containment reference.
See Also:
BinaryExpression.getLeftOperand()

getRightOperand

public Expression getRightOperand()

Specified by:
getRightOperand in interface BinaryExpression
Returns:
the value of the 'Right Operand' containment reference.
See Also:
BinaryExpression.setRightOperand(Expression), ExpressionsPackage.getBinaryExpression_RightOperand()

basicSetRightOperand

public NotificationChain basicSetRightOperand(Expression newRightOperand,
                                              NotificationChain msgs)


setRightOperand

public void setRightOperand(Expression newRightOperand)

Specified by:
setRightOperand in interface BinaryExpression
Parameters:
newRightOperand - the new value of the 'Right Operand' containment reference.
See Also:
BinaryExpression.getRightOperand()

eInverseRemove

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


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)


eSet

public void eSet(int featureID,
                 java.lang.Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public java.lang.String toString()