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

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.UnaryExpressionImpl
All Implemented Interfaces:
UnaryExpression, Action, Expression

public class UnaryExpressionImpl
extends ExpressionImpl
implements UnaryExpression

An implementation of the model object 'Unary Expression'.

The following features are implemented:


Field Summary
protected  Expression operand
          The cached value of the 'Operand' containment reference.
protected  UnaryOperator operator
          The cached value of the 'Operator' attribute.
protected static UnaryOperator OPERATOR_EDEFAULT
          The default value of the 'Operator' attribute.
protected  boolean postfix
          The cached value of the 'Postfix' attribute.
protected static boolean POSTFIX_EDEFAULT
          The default value of the 'Postfix' attribute.
 
Constructor Summary
protected UnaryExpressionImpl()
           
 
Method Summary
 NotificationChain basicSetOperand(Expression newOperand, 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 getOperand()
           
 UnaryOperator getOperator()
           
 boolean isPostfix()
           
 void setOperand(Expression newOperand)
           
 void setOperator(UnaryOperator newOperator)
           
 void setPostfix(boolean newPostfix)
           
 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 UnaryOperator OPERATOR_EDEFAULT
The default value of the 'Operator' attribute.

See Also:
getOperator()

operator

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

See Also:
getOperator()

operand

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

See Also:
getOperand()

POSTFIX_EDEFAULT

protected static final boolean POSTFIX_EDEFAULT
The default value of the 'Postfix' attribute.

See Also:
isPostfix(), Constant Field Values

postfix

protected boolean postfix
The cached value of the 'Postfix' attribute.

See Also:
isPostfix()
Constructor Detail

UnaryExpressionImpl

protected UnaryExpressionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ExpressionImpl

getOperator

public UnaryOperator getOperator()

Specified by:
getOperator in interface UnaryExpression
Returns:
the value of the 'Operator' attribute.
See Also:
UnaryOperator, UnaryExpression.setOperator(UnaryOperator), ExpressionsPackage.getUnaryExpression_Operator()

setOperator

public void setOperator(UnaryOperator newOperator)

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

getOperand

public Expression getOperand()

Specified by:
getOperand in interface UnaryExpression
Returns:
the value of the 'Operand' containment reference.
See Also:
UnaryExpression.setOperand(Expression), ExpressionsPackage.getUnaryExpression_Operand()

basicSetOperand

public NotificationChain basicSetOperand(Expression newOperand,
                                         NotificationChain msgs)


setOperand

public void setOperand(Expression newOperand)

Specified by:
setOperand in interface UnaryExpression
Parameters:
newOperand - the new value of the 'Operand' containment reference.
See Also:
UnaryExpression.getOperand()

isPostfix

public boolean isPostfix()

Specified by:
isPostfix in interface UnaryExpression
Returns:
the value of the 'Postfix' attribute.
See Also:
UnaryExpression.setPostfix(boolean), ExpressionsPackage.getUnaryExpression_Postfix()

setPostfix

public void setPostfix(boolean newPostfix)

Specified by:
setPostfix in interface UnaryExpression
Parameters:
newPostfix - the new value of the 'Postfix' attribute.
See Also:
UnaryExpression.isPostfix()

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