public class OperationImpl extends FeatureImpl implements Operation
The following features are implemented:
| 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() |
NotificationChain |
basicSetBodyExpression(LanguageExpression newBodyExpression,
NotificationChain msgs) |
NotificationChain |
basicSetOwnedSignature(TemplateSignature newOwnedSignature,
NotificationChain msgs) |
NotificationChain |
basicSetOwningClass(Class newOwningClass,
NotificationChain msgs) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
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() |
List<TemplateBinding> |
getOwnedBindings() |
List<Constraint> |
getOwnedConstraints() |
List<Parameter> |
getOwnedParameters() |
List<Constraint> |
getOwnedPostconditions() |
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() |
List<Type> |
getRaisedExceptions() |
List<Operation> |
getRedefinedOperations() |
TemplateParameters |
getTypeParameters()
Return the ordered list of type parameters of this operation.
|
TemplateableElement |
getUnspecializedElement() |
boolean |
isIsInvalidating() |
boolean |
isIsTransient() |
boolean |
isIsTypeof() |
boolean |
isIsValidating() |
void |
setBodyExpression(LanguageExpression newBodyExpression) |
void |
setIsInvalidating(boolean newIsInvalidating) |
void |
setIsTransient(boolean newIsTransient) |
void |
setIsTypeof(boolean newIsTypeof) |
void |
setIsValidating(boolean newIsValidating) |
void |
setOwnedSignature(TemplateSignature newOwnedSignature) |
void |
setOwningClass(Class newOwningClass) |
void |
setPrecedence(Precedence newPrecedence) |
void |
setUnspecializedElement(TemplateableElement newUnspecializedElement) |
String |
toString() |
boolean |
validateCompatibleReturn(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateLoadableImplementation(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateUniquePostconditionName(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateUniquePreconditionName(DiagnosticChain diagnostics,
Map<Object,Object> context) |
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateNameIsNotNull, validateTypeIsNotInvalid, validateTypeIsNotNullbasicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setTypegetName, setNameallOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateNameIsNotNull, validateTypeIsNotInvalid, validateTypeIsNotNullCompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setTypegetName, setNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic List<Constraint> getOwnedConstraints()
getOwnedConstraints in interface NamespacePivotPackage.getNamespace_OwnedConstraints()public List<TemplateBinding> getOwnedBindings()
getOwnedBindings in interface TemplateableElementPivotPackage.getTemplateableElement_OwnedBindings(),
TemplateBinding.getOwningElement()public List<Type> getRaisedExceptions()
getRaisedExceptions in interface OperationPivotPackage.getOperation_RaisedExceptions()public List<Operation> getRedefinedOperations()
getRedefinedOperations in interface OperationPivotPackage.getOperation_RedefinedOperations()public List<Parameter> getOwnedParameters()
getOwnedParameters in interface OperationPivotPackage.getOperation_OwnedParameters(),
Parameter.getOwningOperation()public List<Constraint> getOwnedPostconditions()
getOwnedPostconditions in interface OperationPivotPackage.getOperation_OwnedPostconditions(),
Constraint.getOwningPostContext()public List<Constraint> getOwnedPreconditions()
getOwnedPreconditions in interface OperationPivotPackage.getOperation_OwnedPreconditions(),
Constraint.getOwningPreContext()public TemplateSignature getOwnedSignature()
getOwnedSignature in interface TemplateableElementTemplateableElement.setOwnedSignature(TemplateSignature),
PivotPackage.getTemplateableElement_OwnedSignature(),
TemplateSignature.getOwningElement()public NotificationChain basicSetOwnedSignature(TemplateSignature newOwnedSignature, NotificationChain msgs)
public void setOwnedSignature(TemplateSignature newOwnedSignature)
setOwnedSignature in interface TemplateableElementnewOwnedSignature - the new value of the 'Owned Signature' containment reference.TemplateableElement.getOwnedSignature()public TemplateableElement getUnspecializedElement()
getUnspecializedElement in interface TemplateableElementTemplateableElement.setUnspecializedElement(TemplateableElement),
PivotPackage.getTemplateableElement_UnspecializedElement()public void setUnspecializedElement(TemplateableElement newUnspecializedElement)
setUnspecializedElement in interface TemplateableElementnewUnspecializedElement - the new value of the 'Unspecialized Element' reference.TemplateableElement.getUnspecializedElement()public Precedence getPrecedence()
getPrecedence in interface OperationOperation.setPrecedence(Precedence),
PivotPackage.getOperation_Precedence()public Precedence basicGetPrecedence()
public void setPrecedence(Precedence newPrecedence)
setPrecedence in interface OperationnewPrecedence - the new value of the 'Precedence' reference.Operation.getPrecedence()public LanguageExpression getBodyExpression()
getBodyExpression in interface OperationOperation.setBodyExpression(LanguageExpression),
PivotPackage.getOperation_BodyExpression()public NotificationChain basicSetBodyExpression(LanguageExpression newBodyExpression, NotificationChain msgs)
public void setBodyExpression(LanguageExpression newBodyExpression)
setBodyExpression in interface OperationnewBodyExpression - the new value of the 'Body Expression' containment reference.Operation.getBodyExpression()public boolean isIsInvalidating()
isIsInvalidating in interface OperationOperation.setIsInvalidating(boolean),
PivotPackage.getOperation_IsInvalidating()public void setIsInvalidating(boolean newIsInvalidating)
setIsInvalidating in interface OperationnewIsInvalidating - the new value of the 'Is Invalidating' attribute.Operation.isIsInvalidating()public boolean isIsTransient()
isIsTransient in interface OperationOperation.setIsTransient(boolean),
PivotPackage.getOperation_IsTransient()public void setIsTransient(boolean newIsTransient)
setIsTransient in interface OperationnewIsTransient - the new value of the 'Is Transient' attribute.Operation.isIsTransient()public boolean isIsTypeof()
isIsTypeof in interface OperationOperation.setIsTypeof(boolean),
PivotPackage.getOperation_IsTypeof()public void setIsTypeof(boolean newIsTypeof)
setIsTypeof in interface OperationnewIsTypeof - the new value of the 'Is Typeof' attribute.Operation.isIsTypeof()public boolean isIsValidating()
isIsValidating in interface OperationOperation.setIsValidating(boolean),
PivotPackage.getOperation_IsValidating()public void setIsValidating(boolean newIsValidating)
setIsValidating in interface OperationnewIsValidating - the new value of the 'Is Validating' attribute.Operation.isIsValidating()public Class getOwningClass()
getOwningClass in interface FeaturegetOwningClass in interface OperationOperation.setOwningClass(org.eclipse.ocl.pivot.Class),
PivotPackage.getOperation_OwningClass(),
Class.getOwnedOperations()public NotificationChain basicSetOwningClass(Class newOwningClass, NotificationChain msgs)
public void setOwningClass(Class newOwningClass)
setOwningClass in interface OperationnewOwningClass - the new value of the 'Owning Class' container reference.Operation.getOwningClass()public boolean validateCompatibleReturn(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateCompatibleReturn in interface Operationpublic boolean validateLoadableImplementation(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateLoadableImplementation in interface Operationpublic boolean validateUniquePreconditionName(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateUniquePreconditionName in interface Operationpublic boolean validateUniquePostconditionName(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateUniquePostconditionName in interface Operationpublic NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class ElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class FeatureImplpublic void eSet(int featureID,
Object newValue)
eSet in class FeatureImplpublic void eUnset(int featureID)
eUnset in class FeatureImplpublic boolean eIsSet(int featureID)
eIsSet in class FeatureImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
public Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke in class FeatureImplInvocationTargetExceptionpublic String toString()
toString in class FeatureImplpublic <R> R accept(Visitor<R> visitor)
Elementpublic int getIndex()
Operationpublic CompleteInheritance getInheritance(StandardLibrary standardLibrary)
OperationgetInheritance in interface Operationpublic ParametersId getParametersId()
OperationgetParametersId in interface Operationpublic ParameterTypes getParameterTypes()
OperationgetParameterTypes in interface Operationpublic TemplateParameters getTypeParameters()
OperationgetTypeParameters in interface Operationpublic final OperationId getOperationId()
getOperationId in interface OperationCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.