public class OperationImpl extends FeatureImpl implements Operation
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected LanguageExpression |
bodyExpression
The cached value of the '
Body Expression ' containment reference. |
protected static boolean |
IS_INVALIDATING_EDEFAULT
The default value of the '
Is Invalidating ' attribute. |
protected static int |
IS_INVALIDATING_EFLAG
The flag representing the value of the '
Is Invalidating ' attribute. |
protected static boolean |
IS_TYPEOF_EDEFAULT
The default value of the '
Is Typeof ' attribute. |
protected static int |
IS_TYPEOF_EFLAG
The flag representing the value of the '
Is Typeof ' attribute. |
protected static boolean |
IS_VALIDATING_EDEFAULT
The default value of the '
Is Validating ' attribute. |
protected static int |
IS_VALIDATING_EFLAG
The flag representing the value of the '
Is Validating ' attribute. |
protected org.eclipse.emf.common.util.EList<TemplateBinding> |
ownedBindings
The cached value of the '
Owned Bindings ' containment reference list. |
protected org.eclipse.emf.common.util.EList<Constraint> |
ownedConstraints
The cached value of the '
Owned Constraints ' containment reference list. |
protected org.eclipse.emf.common.util.EList<Parameter> |
ownedParameters
The cached value of the '
Owned Parameters ' containment reference list. |
protected org.eclipse.emf.common.util.EList<Constraint> |
ownedPostconditions
The cached value of the '
Owned Postconditions ' containment reference list. |
protected org.eclipse.emf.common.util.EList<Constraint> |
ownedPreconditions
The cached value of the '
Owned Preconditions ' containment reference list. |
protected TemplateSignature |
ownedSignature
The cached value of the '
Owned Signature ' containment reference. |
protected Precedence |
precedence
The cached value of the '
Precedence ' reference. |
protected org.eclipse.emf.common.util.EList<Type> |
raisedExceptions
The cached value of the '
Raised Exceptions ' reference list. |
protected org.eclipse.emf.common.util.EList<Operation> |
redefinedOperations
The cached value of the '
Redefined Operations ' reference list. |
protected TemplateableElement |
unspecializedElement
The cached value of the '
Unspecialized Element ' reference. |
implementation, IMPLEMENTATION_CLASS_EDEFAULT, IMPLEMENTATION_EDEFAULT, implementationClass, IS_STATIC_EDEFAULT, IS_STATIC_EFLAG
IS_MANY_EDEFAULT, IS_REQUIRED_EDEFAULT, IS_REQUIRED_EFLAG, type
name, NAME_EDEFAULT
annotatingComments, ownedAnnotations, ownedComments, ownedExtensions
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
OperationImpl() |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
Precedence |
basicGetPrecedence() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetBodyExpression(LanguageExpression newBodyExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedSignature(TemplateSignature newOwnedSignature,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwningClass(Class newOwningClass,
org.eclipse.emf.common.notify.NotificationChain msgs) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
LanguageExpression |
getBodyExpression() |
int |
getIndex()
Return the index of this operation in the operation dispatch table.
|
CompleteInheritance |
getInheritance(StandardLibrary standardLibrary)
Return the Inheritance dispatch table for the owning type, or null for am orphan property owned by an Annotation.
|
OperationId |
getOperationId() |
java.util.List<TemplateBinding> |
getOwnedBindings() |
java.util.List<Constraint> |
getOwnedConstraints() |
java.util.List<Parameter> |
getOwnedParameters() |
java.util.List<Constraint> |
getOwnedPostconditions() |
java.util.List<Constraint> |
getOwnedPreconditions() |
TemplateSignature |
getOwnedSignature() |
Class |
getOwningClass() |
ParametersId |
getParametersId()
Return the unique identity of the ordered list of parameters of this operation.
|
ParameterTypes |
getParameterTypes()
Return the ordered list of parameters of this operation.
|
Precedence |
getPrecedence() |
java.util.List<Type> |
getRaisedExceptions() |
java.util.List<Operation> |
getRedefinedOperations() |
TemplateParameters |
getTypeParameters()
Return the ordered list of type parameters of this operation.
|
TemplateableElement |
getUnspecializedElement() |
boolean |
isIsInvalidating() |
boolean |
isIsTypeof() |
boolean |
isIsValidating() |
void |
setBodyExpression(LanguageExpression newBodyExpression) |
void |
setIsInvalidating(boolean newIsInvalidating) |
void |
setIsTypeof(boolean newIsTypeof) |
void |
setIsValidating(boolean newIsValidating) |
void |
setOwnedSignature(TemplateSignature newOwnedSignature) |
void |
setOwningClass(Class newOwningClass) |
void |
setPrecedence(Precedence newPrecedence) |
void |
setUnspecializedElement(TemplateableElement newUnspecializedElement) |
java.lang.String |
toString() |
boolean |
validateCompatibleReturn(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
validateLoadableImplementation(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
validateUniquePostconditionName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
validateUniquePreconditionName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateTypeIsNotInvalid
basicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eBasicSetContainer, getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateTypeIsNotInvalid
CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected org.eclipse.emf.common.util.EList<Constraint> ownedConstraints
Owned Constraints
' containment reference list.
getOwnedConstraints()
protected org.eclipse.emf.common.util.EList<TemplateBinding> ownedBindings
Owned Bindings
' containment reference list.
getOwnedBindings()
protected TemplateSignature ownedSignature
Owned Signature
' containment reference.
getOwnedSignature()
protected TemplateableElement unspecializedElement
Unspecialized Element
' reference.
getUnspecializedElement()
protected LanguageExpression bodyExpression
Body Expression
' containment reference.
getBodyExpression()
protected static final boolean IS_INVALIDATING_EDEFAULT
Is Invalidating
' attribute.
isIsInvalidating()
,
Constant Field Valuesprotected static final int IS_INVALIDATING_EFLAG
Is Invalidating
' attribute.
isIsInvalidating()
,
Constant Field Valuesprotected static final boolean IS_TYPEOF_EDEFAULT
Is Typeof
' attribute.
isIsTypeof()
,
Constant Field Valuesprotected static final int IS_TYPEOF_EFLAG
Is Typeof
' attribute.
isIsTypeof()
,
Constant Field Valuesprotected static final boolean IS_VALIDATING_EDEFAULT
Is Validating
' attribute.
isIsValidating()
,
Constant Field Valuesprotected static final int IS_VALIDATING_EFLAG
Is Validating
' attribute.
isIsValidating()
,
Constant Field Valuesprotected org.eclipse.emf.common.util.EList<Parameter> ownedParameters
Owned Parameters
' containment reference list.
getOwnedParameters()
protected org.eclipse.emf.common.util.EList<Constraint> ownedPostconditions
Owned Postconditions
' containment reference list.
getOwnedPostconditions()
protected org.eclipse.emf.common.util.EList<Constraint> ownedPreconditions
Owned Preconditions
' containment reference list.
getOwnedPreconditions()
protected Precedence precedence
Precedence
' reference.
getPrecedence()
protected org.eclipse.emf.common.util.EList<Type> raisedExceptions
Raised Exceptions
' reference list.
getRaisedExceptions()
protected org.eclipse.emf.common.util.EList<Operation> redefinedOperations
Redefined Operations
' reference list.
getRedefinedOperations()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class FeatureImpl
@NonNull public java.util.List<Constraint> getOwnedConstraints()
getOwnedConstraints
in interface Namespace
PivotPackage.getNamespace_OwnedConstraints()
public java.util.List<TemplateBinding> getOwnedBindings()
getOwnedBindings
in interface TemplateableElement
PivotPackage.getTemplateableElement_OwnedBindings()
,
TemplateBinding.getOwningElement()
@NonNull public java.util.List<Type> getRaisedExceptions()
getRaisedExceptions
in interface Operation
PivotPackage.getOperation_RaisedExceptions()
@NonNull public java.util.List<Operation> getRedefinedOperations()
getRedefinedOperations
in interface Operation
PivotPackage.getOperation_RedefinedOperations()
@NonNull public java.util.List<Parameter> getOwnedParameters()
getOwnedParameters
in interface Operation
PivotPackage.getOperation_OwnedParameters()
,
Parameter.getOwningOperation()
@NonNull public java.util.List<Constraint> getOwnedPostconditions()
getOwnedPostconditions
in interface Operation
PivotPackage.getOperation_OwnedPostconditions()
,
Constraint.getOwningPostContext()
@NonNull public java.util.List<Constraint> getOwnedPreconditions()
getOwnedPreconditions
in interface Operation
PivotPackage.getOperation_OwnedPreconditions()
,
Constraint.getOwningPreContext()
public TemplateSignature getOwnedSignature()
getOwnedSignature
in interface TemplateableElement
TemplateableElement.setOwnedSignature(TemplateSignature)
,
PivotPackage.getTemplateableElement_OwnedSignature()
,
TemplateSignature.getOwningElement()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedSignature(TemplateSignature newOwnedSignature, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedSignature(TemplateSignature newOwnedSignature)
setOwnedSignature
in interface TemplateableElement
newOwnedSignature
- the new value of the 'Owned Signature' containment reference.TemplateableElement.getOwnedSignature()
public TemplateableElement getUnspecializedElement()
getUnspecializedElement
in interface TemplateableElement
TemplateableElement.setUnspecializedElement(TemplateableElement)
,
PivotPackage.getTemplateableElement_UnspecializedElement()
public void setUnspecializedElement(TemplateableElement newUnspecializedElement)
setUnspecializedElement
in interface TemplateableElement
newUnspecializedElement
- the new value of the 'Unspecialized Element' reference.TemplateableElement.getUnspecializedElement()
public Precedence getPrecedence()
getPrecedence
in interface Operation
Operation.setPrecedence(Precedence)
,
PivotPackage.getOperation_Precedence()
public Precedence basicGetPrecedence()
public void setPrecedence(Precedence newPrecedence)
setPrecedence
in interface Operation
newPrecedence
- the new value of the 'Precedence' reference.Operation.getPrecedence()
public LanguageExpression getBodyExpression()
getBodyExpression
in interface Operation
Operation.setBodyExpression(LanguageExpression)
,
PivotPackage.getOperation_BodyExpression()
public org.eclipse.emf.common.notify.NotificationChain basicSetBodyExpression(LanguageExpression newBodyExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setBodyExpression(LanguageExpression newBodyExpression)
setBodyExpression
in interface Operation
newBodyExpression
- the new value of the 'Body Expression' containment reference.Operation.getBodyExpression()
public boolean isIsInvalidating()
isIsInvalidating
in interface Operation
Operation.setIsInvalidating(boolean)
,
PivotPackage.getOperation_IsInvalidating()
public void setIsInvalidating(boolean newIsInvalidating)
setIsInvalidating
in interface Operation
newIsInvalidating
- the new value of the 'Is Invalidating' attribute.Operation.isIsInvalidating()
public boolean isIsTypeof()
isIsTypeof
in interface Operation
Operation.setIsTypeof(boolean)
,
PivotPackage.getOperation_IsTypeof()
public void setIsTypeof(boolean newIsTypeof)
setIsTypeof
in interface Operation
newIsTypeof
- the new value of the 'Is Typeof' attribute.Operation.isIsTypeof()
public boolean isIsValidating()
isIsValidating
in interface Operation
Operation.setIsValidating(boolean)
,
PivotPackage.getOperation_IsValidating()
public void setIsValidating(boolean newIsValidating)
setIsValidating
in interface Operation
newIsValidating
- the new value of the 'Is Validating' attribute.Operation.isIsValidating()
public Class getOwningClass()
getOwningClass
in interface Feature
getOwningClass
in interface Operation
Operation.setOwningClass(org.eclipse.ocl.pivot.Class)
,
PivotPackage.getOperation_OwningClass()
,
Class.getOwnedOperations()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwningClass(Class newOwningClass, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwningClass(Class newOwningClass)
setOwningClass
in interface Operation
newOwningClass
- the new value of the 'Owning Class' container reference.Operation.getOwningClass()
public boolean validateCompatibleReturn(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validateCompatibleReturn
in interface Operation
public boolean validateLoadableImplementation(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validateLoadableImplementation
in interface Operation
public boolean validateUniquePreconditionName(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validateUniquePreconditionName
in interface Operation
public boolean validateUniquePostconditionName(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validateUniquePostconditionName
in interface Operation
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class ElementImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class ElementImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class FeatureImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class FeatureImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class FeatureImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class FeatureImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class FeatureImpl
java.lang.reflect.InvocationTargetException
public java.lang.String toString()
toString
in class FeatureImpl
public <R> R accept(@NonNull Visitor<R> visitor)
Element
public int getIndex()
Operation
@Nullable public CompleteInheritance getInheritance(@NonNull StandardLibrary standardLibrary)
Operation
getInheritance
in interface Operation
@NonNull public ParametersId getParametersId()
Operation
getParametersId
in interface Operation
@NonNull public ParameterTypes getParameterTypes()
Operation
getParameterTypes
in interface Operation
@NonNull public TemplateParameters getTypeParameters()
Operation
getTypeParameters
in interface Operation
@NonNull public final OperationId getOperationId()
getOperationId
in interface Operation