public abstract class InvocationImpl extends CDOObjectImpl implements Invocation
The following features are implemented:
Modifier and Type | Class and Description |
---|---|
static interface |
InvocationImpl.Invocable
An abstraction of something that can be invoked, for example an
EOperation or a Method . |
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
InternalEObject.EStore
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
NIL
Modifier | Constructor and Description |
---|---|
protected |
InvocationImpl() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
basicSetName(Expression newName,
NotificationChain msgs) |
protected java.lang.Class<?> |
box(java.lang.Class<?> type) |
protected abstract void |
collectInvocables(EvaluationContext context,
java.lang.String name,
java.util.List<InvocationImpl.Invocable> invocables) |
protected void |
collectMethods(java.lang.Object object,
java.lang.Class<?> c,
java.lang.String name,
java.util.List<InvocationImpl.Invocable> invocables) |
protected InvocationImpl.Invocable |
createMethod(java.lang.Object object,
java.lang.reflect.Method method) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
protected int |
eStaticFeatureCount() |
void |
eUnset(int featureID) |
java.lang.Object |
evaluate(EvaluationContext context) |
EList<Expression> |
getArguments() |
Expression |
getName() |
protected java.lang.Class<?>[] |
getTypes(java.lang.Object[] objects) |
protected boolean |
isAssignable(java.lang.Class<?>[] parameterTypes,
java.lang.Object[] arguments) |
protected InvocationImpl.Invocable |
selectInvocable(java.util.List<InvocationImpl.Invocable> invocables,
java.lang.Object[] arguments) |
void |
setName(Expression newName) |
protected abstract boolean |
staticModifier() |
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreAttach, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createOrderedList, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
protected EClass eStaticClass()
eStaticClass
in class BasicEObjectImpl
protected int eStaticFeatureCount()
eStaticFeatureCount
in class MinimalEStoreEObjectImpl
public EList<Expression> getArguments()
getArguments
in interface Invocation
ExpressionsPackage.getInvocation_Arguments()
public Expression getName()
getName
in interface Invocation
Invocation.setName(Expression)
,
ExpressionsPackage.getInvocation_Name()
public NotificationChain basicSetName(Expression newName, NotificationChain msgs)
public void setName(Expression newName)
setName
in interface Invocation
newName
- the new value of the 'Name' containment reference.Invocation.getName()
public java.lang.Object evaluate(EvaluationContext context)
evaluate
in interface Expression
protected abstract boolean staticModifier()
protected abstract void collectInvocables(EvaluationContext context, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)
protected void collectMethods(java.lang.Object object, java.lang.Class<?> c, java.lang.String name, java.util.List<InvocationImpl.Invocable> invocables)
protected InvocationImpl.Invocable createMethod(java.lang.Object object, java.lang.reflect.Method method)
protected InvocationImpl.Invocable selectInvocable(java.util.List<InvocationImpl.Invocable> invocables, java.lang.Object[] arguments)
protected boolean isAssignable(java.lang.Class<?>[] parameterTypes, java.lang.Object[] arguments)
protected java.lang.Class<?> box(java.lang.Class<?> type)
protected java.lang.Class<?>[] getTypes(java.lang.Object[] objects)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface InternalEObject
eInvoke
in class BasicEObjectImpl
java.lang.reflect.InvocationTargetException
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html