org.eclipse.ocl.ecore.impl
Class PropertyCallExpImpl

java.lang.Object
  extended by ETypedElementImpl
      extended by org.eclipse.ocl.ecore.impl.OCLExpressionImpl
          extended by org.eclipse.ocl.ecore.impl.CallExpImpl
              extended by org.eclipse.ocl.ecore.impl.FeatureCallExpImpl
                  extended by org.eclipse.ocl.ecore.impl.NavigationCallExpImpl
                      extended by org.eclipse.ocl.ecore.impl.PropertyCallExpImpl
All Implemented Interfaces:
CallExp<EClassifier>, FeatureCallExp<EClassifier>, NavigationCallExp<EClassifier,EStructuralFeature>, OCLExpression<EClassifier>, PropertyCallExp<EClassifier,EStructuralFeature>, ASTNode, CallingASTNode, TypedElement<EClassifier>, Visitable

public class PropertyCallExpImpl
extends NavigationCallExpImpl
implements PropertyCallExp

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

The following features are implemented:


Field Summary
protected  EStructuralFeature referredProperty
          The cached value of the 'Referred Property' reference
 
Fields inherited from class org.eclipse.ocl.ecore.impl.NavigationCallExpImpl
navigationSource, qualifier
 
Fields inherited from class org.eclipse.ocl.ecore.impl.FeatureCallExpImpl
MARKED_PRE_EDEFAULT, markedPre
 
Fields inherited from class org.eclipse.ocl.ecore.impl.CallExpImpl
PROPERTY_END_POSITION_EDEFAULT, PROPERTY_START_POSITION_EDEFAULT, propertyEndPosition, propertyStartPosition, source
 
Fields inherited from class org.eclipse.ocl.ecore.impl.OCLExpressionImpl
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
 
Constructor Summary
protected PropertyCallExpImpl()
           
 
Method Summary
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
T
accept(U v)
           
 EStructuralFeature basicGetReferredProperty()
           
 boolean checkPropertyType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 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)
           
 EStructuralFeature getReferredProperty()
           
 void setReferredProperty(EStructuralFeature newReferredProperty)
           
 
Methods inherited from class org.eclipse.ocl.ecore.impl.NavigationCallExpImpl
basicGetNavigationSource, eInverseRemove, getNavigationSource, getQualifier, setNavigationSource
 
Methods inherited from class org.eclipse.ocl.ecore.impl.FeatureCallExpImpl
isMarkedPre, setMarkedPre, toString
 
Methods inherited from class org.eclipse.ocl.ecore.impl.CallExpImpl
basicSetSource, getPropertyEndPosition, getPropertyStartPosition, getSource, setPropertyEndPosition, setPropertyStartPosition, setSource
 
Methods inherited from class org.eclipse.ocl.ecore.impl.OCLExpressionImpl
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.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.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.FeatureCallExp
isMarkedPre, setMarkedPre
 
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.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.NavigationCallExp
getNavigationSource, getQualifier, setNavigationSource
 
Methods inherited from interface org.eclipse.ocl.expressions.FeatureCallExp
isMarkedPre, setMarkedPre
 
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.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.PropertyCallExp
checkPropertyType
 
Methods inherited from interface org.eclipse.ocl.expressions.NavigationCallExp
getNavigationSource, getQualifier, setNavigationSource
 
Methods inherited from interface org.eclipse.ocl.expressions.FeatureCallExp
isMarkedPre, setMarkedPre
 
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.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

referredProperty

protected EStructuralFeature referredProperty
The cached value of the 'Referred Property' reference.

See Also:
getReferredProperty()
Constructor Detail

PropertyCallExpImpl

protected PropertyCallExpImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NavigationCallExpImpl

getReferredProperty

public EStructuralFeature getReferredProperty()

Specified by:
getReferredProperty in interface PropertyCallExp<EClassifier,EStructuralFeature>
Returns:
the value of the 'Referred Property' reference.
See Also:
PropertyCallExp.setReferredProperty(Object), ExpressionsPackage.getPropertyCallExp_ReferredProperty()

basicGetReferredProperty

public EStructuralFeature basicGetReferredProperty()


setReferredProperty

public void setReferredProperty(EStructuralFeature newReferredProperty)

Specified by:
setReferredProperty in interface PropertyCallExp<EClassifier,EStructuralFeature>
Parameters:
newReferredProperty - the new value of the 'Referred Property' reference.
See Also:
PropertyCallExp.getReferredProperty()

checkPropertyType

public boolean checkPropertyType(DiagnosticChain diagnostics,
                                 java.util.Map<java.lang.Object,java.lang.Object> context)


eGet

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

Overrides:
eGet in class NavigationCallExpImpl

eSet

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

Overrides:
eSet in class NavigationCallExpImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class NavigationCallExpImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class NavigationCallExpImpl

eBaseStructuralFeatureID

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

Overrides:
eBaseStructuralFeatureID in class NavigationCallExpImpl

eDerivedStructuralFeatureID

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

Overrides:
eDerivedStructuralFeatureID in class NavigationCallExpImpl

accept

public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
Description copied from class: OCLExpressionImpl

Specified by:
accept in interface Visitable
Overrides:
accept in class OCLExpressionImpl

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