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, validateTypeIsNotNull
basicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateNameIsNotNull, validateTypeIsNotInvalid, validateTypeIsNotNull
CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public List<Constraint> getOwnedConstraints()
getOwnedConstraints
in interface Namespace
PivotPackage.getNamespace_OwnedConstraints()
public List<TemplateBinding> getOwnedBindings()
getOwnedBindings
in interface TemplateableElement
PivotPackage.getTemplateableElement_OwnedBindings()
,
TemplateBinding.getOwningElement()
public List<Type> getRaisedExceptions()
getRaisedExceptions
in interface Operation
PivotPackage.getOperation_RaisedExceptions()
public List<Operation> getRedefinedOperations()
getRedefinedOperations
in interface Operation
PivotPackage.getOperation_RedefinedOperations()
public List<Parameter> getOwnedParameters()
getOwnedParameters
in interface Operation
PivotPackage.getOperation_OwnedParameters()
,
Parameter.getOwningOperation()
public List<Constraint> getOwnedPostconditions()
getOwnedPostconditions
in interface Operation
PivotPackage.getOperation_OwnedPostconditions()
,
Constraint.getOwningPostContext()
public 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 NotificationChain basicSetOwnedSignature(TemplateSignature newOwnedSignature, 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 NotificationChain basicSetBodyExpression(LanguageExpression newBodyExpression, 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 isIsTransient()
isIsTransient
in interface Operation
Operation.setIsTransient(boolean)
,
PivotPackage.getOperation_IsTransient()
public void setIsTransient(boolean newIsTransient)
setIsTransient
in interface Operation
newIsTransient
- the new value of the 'Is Transient' attribute.Operation.isIsTransient()
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 NotificationChain basicSetOwningClass(Class newOwningClass, 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(DiagnosticChain diagnostics, Map<Object,Object> context)
validateCompatibleReturn
in interface Operation
public boolean validateLoadableImplementation(DiagnosticChain diagnostics, Map<Object,Object> context)
validateLoadableImplementation
in interface Operation
public boolean validateUniquePreconditionName(DiagnosticChain diagnostics, Map<Object,Object> context)
validateUniquePreconditionName
in interface Operation
public boolean validateUniquePostconditionName(DiagnosticChain diagnostics, Map<Object,Object> context)
validateUniquePostconditionName
in interface Operation
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class FeatureImpl
public void eSet(int featureID, Object newValue)
eSet
in class FeatureImpl
public void eUnset(int featureID)
eUnset
in class FeatureImpl
public boolean eIsSet(int featureID)
eIsSet
in class FeatureImpl
public 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 FeatureImpl
InvocationTargetException
public String toString()
toString
in class FeatureImpl
public <R> R accept(Visitor<R> visitor)
Element
public int getIndex()
Operation
public CompleteInheritance getInheritance(StandardLibrary standardLibrary)
Operation
getInheritance
in interface Operation
public ParametersId getParametersId()
Operation
getParametersId
in interface Operation
public ParameterTypes getParameterTypes()
Operation
getParameterTypes
in interface Operation
public TemplateParameters getTypeParameters()
Operation
getTypeParameters
in interface Operation
public final OperationId getOperationId()
getOperationId
in interface Operation
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.