org.eclipse.ocl.uml.impl
Class FeatureCallExpImpl

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

public abstract class FeatureCallExpImpl
extends CallExpImpl
implements FeatureCallExp

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.uml.impl.CallExpImpl
PROPERTY_END_POSITION_EDEFAULT, PROPERTY_START_POSITION_EDEFAULT, propertyEndPosition, propertyStartPosition, source
 
Fields inherited from class org.eclipse.ocl.uml.impl.OCLExpressionImpl
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
 
Constructor Summary
protected FeatureCallExpImpl()
           
 
Method Summary
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 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.uml.impl.CallExpImpl
basicSetSource, eInverseRemove, getPropertyEndPosition, getPropertyStartPosition, getSource, setPropertyEndPosition, setPropertyStartPosition, setSource
 
Methods inherited from class org.eclipse.ocl.uml.impl.OCLExpressionImpl
accept, getEndPosition, getStartPosition, getType, setEndPosition, 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.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.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
 
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

isMarkedPre

public boolean isMarkedPre()

Specified by:
isMarkedPre in interface FeatureCallExp<Classifier>
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<Classifier>
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

eSet

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

Overrides:
eSet in class CallExpImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class CallExpImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class CallExpImpl

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Overrides:
eBaseStructuralFeatureID in class CallExpImpl

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Overrides:
eDerivedStructuralFeatureID in class CallExpImpl

toString

public java.lang.String toString()

Overrides:
toString in class CallExpImpl

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