org.eclipse.ocl.expressions.impl
Class FeatureCallExpImpl<C>

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.expressions.impl.OCLExpressionImpl<C>
          extended by org.eclipse.ocl.expressions.impl.CallExpImpl<C>
              extended by org.eclipse.ocl.expressions.impl.FeatureCallExpImpl<C>
All Implemented Interfaces:
CallExp<C>, FeatureCallExp<C>, OCLExpression<C>, ASTNode, CallingASTNode, TypedElement<C>, Visitable
Direct Known Subclasses:
NavigationCallExpImpl, OperationCallExpImpl

public abstract class FeatureCallExpImpl<C>
extends CallExpImpl<C>
implements FeatureCallExp<C>

An implementation of the model object 'Feature Call Exp'.

The following features are implemented:


Field Summary
protected static boolean MARKED_PRE_EDEFAULT
          The default value of the 'Marked Pre' attribute
protected static int MARKED_PRE_EFLAG
          The flag representing the value of the 'Marked Pre' attribute
 
Fields inherited from class org.eclipse.ocl.expressions.impl.CallExpImpl
PROPERTY_END_POSITION_EDEFAULT, PROPERTY_START_POSITION_EDEFAULT, propertyEndPosition, propertyStartPosition, source
 
Fields inherited from class org.eclipse.ocl.expressions.impl.OCLExpressionImpl
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
 
Constructor Summary
protected FeatureCallExpImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 boolean isMarkedPre()
           
 void setMarkedPre(boolean newMarkedPre)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.expressions.impl.CallExpImpl
basicSetSource, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseRemove, getPropertyEndPosition, getPropertyStartPosition, getSource, setPropertyEndPosition, setPropertyStartPosition, setSource
 
Methods inherited from class org.eclipse.ocl.expressions.impl.OCLExpressionImpl
accept, getEndPosition, getName, getStartPosition, getType, setEndPosition, setName, setStartPosition, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.expressions.CallExp
getSource, setSource
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.Visitable
accept
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.CallingASTNode
getPropertyEndPosition, getPropertyStartPosition, setPropertyEndPosition, setPropertyStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 

Field Detail

MARKED_PRE_EDEFAULT

protected static final boolean MARKED_PRE_EDEFAULT
The default value of the 'Marked Pre' attribute.

See Also:
isMarkedPre(), Constant Field Values

MARKED_PRE_EFLAG

protected static final int MARKED_PRE_EFLAG
The flag representing the value of the 'Marked Pre' attribute.

See Also:
isMarkedPre(), Constant Field Values
Constructor Detail

FeatureCallExpImpl

protected FeatureCallExpImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CallExpImpl<C>

isMarkedPre

public boolean isMarkedPre()

Specified by:
isMarkedPre in interface FeatureCallExp<C>
Returns:
the value of the 'Marked Pre' attribute.
See Also:
FeatureCallExp.setMarkedPre(boolean), ExpressionsPackage.getFeatureCallExp_MarkedPre()

setMarkedPre

public void setMarkedPre(boolean newMarkedPre)

Specified by:
setMarkedPre in interface FeatureCallExp<C>
Parameters:
newMarkedPre - the new value of the 'Marked Pre' attribute.
See Also:
FeatureCallExp.isMarkedPre()

eGet

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

Overrides:
eGet in class CallExpImpl<C>

eSet

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

Overrides:
eSet in class CallExpImpl<C>

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class CallExpImpl<C>

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class CallExpImpl<C>

toString

public java.lang.String toString()

Overrides:
toString in class CallExpImpl<C>

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.