ujf.verimag.bip.cmodel.impl
Class COperationImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.cmodel.impl.CBodyItemImpl
          extended by ujf.verimag.bip.cmodel.impl.CStmImpl
              extended by ujf.verimag.bip.cmodel.impl.CExpressionImpl
                  extended by ujf.verimag.bip.cmodel.impl.COperationImpl
All Implemented Interfaces:
CBodyItem, CExpression, COperation, CStm

public class COperationImpl
extends CExpressionImpl
implements COperation

An implementation of the model object 'COperation'.

The following features are implemented:


Field Summary
protected  CExpression leftOperand
          The cached value of the 'Left Operand' containment reference.
protected  java.lang.String operator
          The cached value of the 'Operator' attribute.
protected static java.lang.String OPERATOR_EDEFAULT
          The default value of the 'Operator' attribute.
protected  CExpression rightOperand
          The cached value of the 'Right Operand' containment reference.
 
Constructor Summary
protected COperationImpl()
           
 
Method Summary
 NotificationChain basicSetLeftOperand(CExpression newLeftOperand, NotificationChain msgs)
           
 NotificationChain basicSetRightOperand(CExpression 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)
           
 CExpression getLeftOperand()
           
 java.lang.String getOperator()
           
 CExpression getRightOperand()
           
 void setLeftOperand(CExpression newLeftOperand)
           
 void setOperator(java.lang.String newOperator)
           
 void setRightOperand(CExpression newRightOperand)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

leftOperand

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

See Also:
getLeftOperand()

rightOperand

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

See Also:
getRightOperand()

OPERATOR_EDEFAULT

protected static final java.lang.String OPERATOR_EDEFAULT
The default value of the 'Operator' attribute.

See Also:
getOperator()

operator

protected java.lang.String operator
The cached value of the 'Operator' attribute.

See Also:
getOperator()
Constructor Detail

COperationImpl

protected COperationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CExpressionImpl

getLeftOperand

public CExpression getLeftOperand()

Specified by:
getLeftOperand in interface COperation
Returns:
the value of the 'Left Operand' containment reference.
See Also:
COperation.setLeftOperand(CExpression), CmodelPackage.getCOperation_LeftOperand()

basicSetLeftOperand

public NotificationChain basicSetLeftOperand(CExpression newLeftOperand,
                                             NotificationChain msgs)


setLeftOperand

public void setLeftOperand(CExpression newLeftOperand)

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

getRightOperand

public CExpression getRightOperand()

Specified by:
getRightOperand in interface COperation
Returns:
the value of the 'Right Operand' containment reference.
See Also:
COperation.setRightOperand(CExpression), CmodelPackage.getCOperation_RightOperand()

basicSetRightOperand

public NotificationChain basicSetRightOperand(CExpression newRightOperand,
                                              NotificationChain msgs)


setRightOperand

public void setRightOperand(CExpression newRightOperand)

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

getOperator

public java.lang.String getOperator()

Specified by:
getOperator in interface COperation
Returns:
the value of the 'Operator' attribute.
See Also:
COperation.setOperator(String), CmodelPackage.getCOperation_Operator()

setOperator

public void setOperator(java.lang.String newOperator)

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

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