org.eclipse.emf.ecore.impl
Class EOperationImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ecore.impl.ETypedElementImpl
org.eclipse.emf.ecore.impl.EOperationImpl
- All Implemented Interfaces:
- Notifier, EModelElement, ENamedElement, EObject, EOperation, EOperation.Internal, EStructuralFeature.Internal.DynamicValueHolder, ETypedElement, InternalEObject
public class EOperationImpl
- extends ETypedElementImpl
- implements EOperation, EOperation.Internal
An implementation of the model object 'EOperation'.
Fields inherited from class org.eclipse.emf.ecore.impl.ETypedElementImpl |
eGenericType, eType, LOWER_BOUND_EDEFAULT, lowerBound, MANY_EDEFAULT, ORDERED_EDEFAULT, ORDERED_EFLAG, REQUIRED_EDEFAULT, UNIQUE_EDEFAULT, UNIQUE_EFLAG, UPPER_BOUND_EDEFAULT, upperBound |
Methods inherited from class org.eclipse.emf.ecore.impl.ETypedElementImpl |
basicGetEType, basicSetEGenericType, basicUnsetEGenericType, getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isSetEGenericType, isSetEType, isUnique, setEGenericType, setEGenericType, setEType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound, toString, unsetEGenericType, unsetEType |
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.ETypedElement |
getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment |
operationID
protected int operationID
eTypeParameters
protected EList<ETypeParameter> eTypeParameters
- The cached value of the '
EType Parameters
' containment reference list.
- See Also:
getETypeParameters()
eParameters
protected EList<EParameter> eParameters
- The cached value of the '
EParameters
' containment reference list.
- See Also:
getEParameters()
eExceptions
protected EList<EClassifier> eExceptions
- The cached value of the '
EExceptions
' reference list.
- See Also:
getEExceptions()
eGenericExceptions
protected EList<EGenericType> eGenericExceptions
- The cached value of the '
EGeneric Exceptions
' containment reference list.
- See Also:
getEGenericExceptions()
invocationDelegate
protected EOperation.Internal.InvocationDelegate invocationDelegate
EOperationImpl
protected EOperationImpl()
-
freeze
protected void freeze()
- Overrides:
freeze
in class ETypedElementImpl
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class ETypedElementImpl
getEContainingClass
public EClass getEContainingClass()
-
- Specified by:
getEContainingClass
in interface EOperation
- Returns:
- the value of the 'EContaining Class' container reference.
- See Also:
EcorePackage.getEOperation_EContainingClass()
,
EClass.getEOperations()
getEParameters
public EList<EParameter> getEParameters()
-
- Specified by:
getEParameters
in interface EOperation
- Returns:
- the value of the 'EParameters' containment reference list.
- See Also:
EcorePackage.getEOperation_EParameters()
,
EParameter.getEOperation()
getEExceptions
public EList<EClassifier> getEExceptions()
- Description copied from interface:
EOperation
- Returns the value of the 'EExceptions' reference list.
The list contents are of type
EClassifier
.
It represents the exceptions thrown by this operation
and is derived from the generic exceptions
.
- Specified by:
getEExceptions
in interface EOperation
- Returns:
- the value of the 'EExceptions' reference list.
- See Also:
,
EcorePackage.getEOperation_EExceptions()
unsetEExceptions
public void unsetEExceptions()
-
isSetEExceptions
public boolean isSetEExceptions()
-
getEGenericExceptions
public EList<EGenericType> getEGenericExceptions()
-
- Specified by:
getEGenericExceptions
in interface EOperation
- Returns:
- the value of the 'EGeneric Exceptions' containment reference list.
- See Also:
EOperation.getEExceptions()
,
EcorePackage.getEOperation_EGenericExceptions()
unsetEGenericExceptions
public void unsetEGenericExceptions()
-
isSetEGenericExceptions
public boolean isSetEGenericExceptions()
-
getOperationID
public int getOperationID()
-
- Specified by:
getOperationID
in interface EOperation
- Returns:
- the relative ID.
isOverrideOf
public boolean isOverrideOf(EOperation someOperation)
-
- Specified by:
isOverrideOf
in interface EOperation
- Parameters:
someOperation
- some other operation.
- Returns:
- whether this operation is an override of some other operation.
setOperationID
public void setOperationID(int operationID)
getETypeParameters
public EList<ETypeParameter> getETypeParameters()
-
- Specified by:
getETypeParameters
in interface EOperation
- Returns:
- the value of the 'EType Parameters' containment reference list.
- See Also:
EcorePackage.getEOperation_ETypeParameters()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseAdd
in class EModelElementImpl
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class ETypedElementImpl
eBasicRemoveFromContainerFeature
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class ETypedElementImpl
- See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class ETypedElementImpl
- See Also:
EObject.eSet(EStructuralFeature, Object)
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class ETypedElementImpl
- See Also:
EObject.eUnset(EStructuralFeature)
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class ETypedElementImpl
- See Also:
EObject.eIsSet(EStructuralFeature)
eInvoke
public java.lang.Object eInvoke(int operationID,
EList<?> arguments)
throws java.lang.reflect.InvocationTargetException
-
- Specified by:
eInvoke
in interface InternalEObject
- Overrides:
eInvoke
in class EModelElementImpl
- Throws:
java.lang.reflect.InvocationTargetException
- See Also:
EObject.eInvoke(EOperation, EList>)
getInvocationDelegate
public EOperation.Internal.InvocationDelegate getInvocationDelegate()
- Description copied from interface:
EOperation.Internal
- Obtains the delegate for this operation.
A default delegate is always available, so this should not return
null
.
- Specified by:
getInvocationDelegate
in interface EOperation.Internal
- Returns:
- the operation delegate
setInvocationDelegate
public void setInvocationDelegate(EOperation.Internal.InvocationDelegate invocationDelegate)
- Description copied from interface:
EOperation.Internal
- Assigns a delegate to this operation.
- Specified by:
setInvocationDelegate
in interface EOperation.Internal
- Parameters:
invocationDelegate
- the new operation delegate