|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl org.eclipse.ocl.examples.pivot.internal.impl.MonikeredElementImpl org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl org.eclipse.ocl.examples.pivot.internal.impl.TypedElementImpl org.eclipse.ocl.examples.pivot.internal.impl.TypedMultiplicityElementImpl org.eclipse.ocl.examples.pivot.internal.impl.FeatureImpl org.eclipse.ocl.examples.pivot.internal.impl.OperationImpl
public class OperationImpl
An implementation of the model object 'Operation'.
The following features are implemented:
Template Binding
Owned Template Signature
Unspecialized Element
Template Parameter
Owning Template Parameter
Raised Exception
Owned Parameter
Precedence
Class
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
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 |
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
---|
org.eclipse.emf.common.notify.Adapter.Internal |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected org.eclipse.emf.common.util.EList<Parameter> |
ownedParameters
The cached value of the ' Owned Parameter ' containment reference list. |
protected TemplateSignature |
ownedTemplateSignature
The cached value of the ' Owned Template 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 Exception ' reference list. |
protected org.eclipse.emf.common.util.EList<TemplateBinding> |
templateBindings
The cached value of the ' Template Binding ' containment reference list. |
protected TemplateParameter |
templateParameter
The cached value of the ' Template Parameter ' reference. |
protected TemplateableElement |
unspecializedElement
The cached value of the ' Unspecialized Element ' reference. |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.FeatureImpl |
---|
implementation, IMPLEMENTATION_CLASS_EDEFAULT, IMPLEMENTATION_EDEFAULT, implementationClass |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.TypedMultiplicityElementImpl |
---|
IS_ORDERED_EDEFAULT, IS_ORDERED_EFLAG, IS_UNIQUE_EDEFAULT, IS_UNIQUE_EFLAG, lower, LOWER_EDEFAULT, upper, UPPER_EDEFAULT |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.TypedElementImpl |
---|
type |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl |
---|
IS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT, ownedAnnotations, ownedRules |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.MonikeredElementImpl |
---|
MONIKER_EDEFAULT |
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl |
---|
ownedComments |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
OperationImpl()
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> visitor)
Returns the result of accepting a visit from a visitor. |
|
Precedence |
basicGetPrecedence()
|
|
TemplateParameter |
basicGetTemplateParameter()
|
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetClass_(Class newClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwningTemplateParameter(TemplateParameter newOwningTemplateParameter,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetTemplateParameter(TemplateParameter newTemplateParameter,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
Parameter |
createOwnedParameter()
|
|
TemplateSignature |
createOwnedTemplateSignature()
|
|
TemplateBinding |
createTemplateBinding()
|
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
|
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
int |
eDerivedOperationID(int baseOperationID,
java.lang.Class<?> baseClass)
|
|
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)
|
|
Class |
getClass_()
|
|
org.eclipse.emf.common.util.EList<Parameter> |
getOwnedParameters()
|
|
TemplateSignature |
getOwnedTemplateSignature()
|
|
TemplateParameter |
getOwningTemplateParameter()
|
|
Precedence |
getPrecedence()
|
|
org.eclipse.emf.common.util.EList<Type> |
getRaisedExceptions()
|
|
org.eclipse.emf.common.util.EList<TemplateBinding> |
getTemplateBindings()
|
|
TemplateParameter |
getTemplateParameter()
|
|
TemplateableElement |
getUnspecializedElement()
|
|
boolean |
isSetTemplateParameter()
|
|
boolean |
isTemplate()
|
|
boolean |
isTemplateParameter()
|
|
java.util.Iterator<Operation> |
iterator()
|
|
org.eclipse.emf.common.util.EList<ParameterableElement> |
parameterableElements()
|
|
void |
setClass_(Class newClass)
|
|
void |
setOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature)
|
|
void |
setOwningTemplateParameter(TemplateParameter newOwningTemplateParameter)
|
|
void |
setPrecedence(Precedence newPrecedence)
|
|
void |
setTemplateParameter(TemplateParameter newTemplateParameter)
|
|
void |
setUnspecializedElement(TemplateableElement newUnspecializedElement)
|
|
java.lang.String |
toString()
|
|
boolean |
validateTestConstraint(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.FeatureImpl |
---|
getImplementation, getImplementationClass, isSetIsStatic, isStatic, setImplementation, setImplementationClass, setIsStatic |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.TypedMultiplicityElementImpl |
---|
getLower, getUpper, includesCardinality, includesMultiplicity, isMultivalued, isOrdered, isUnique, lowerBound, setIsOrdered, setIsUnique, setLower, setUpper, upperBound, validateLowerGe0, validateUpperGeLower |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.TypedElementImpl |
---|
basicGetType, getType, setType |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl |
---|
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, setName |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.MonikeredElementImpl |
---|
getMoniker, hasMoniker, resetMoniker, setMoniker |
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl |
---|
create, createOwnedComment, getOwnedComments |
Methods inherited from class org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl |
---|
getETarget, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, 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 |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.pivot.Feature |
---|
getImplementation, getImplementationClass, setImplementation, setImplementationClass |
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement |
---|
getType, setType |
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement |
---|
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName |
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement |
---|
getMoniker, hasMoniker, setMoniker |
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element |
---|
createOwnedComment, getETarget, getOwnedComments |
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.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable |
---|
eClass |
Methods inherited from interface org.eclipse.ocl.examples.pivot.MultiplicityElement |
---|
getLower, getUpper, includesCardinality, includesMultiplicity, isMultivalued, isOrdered, isUnique, lowerBound, setIsOrdered, setIsUnique, setLower, setUpper, upperBound, validateLowerGe0, validateUpperGeLower |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected org.eclipse.emf.common.util.EList<TemplateBinding> templateBindings
Template Binding
' containment reference list.
getTemplateBindings()
protected TemplateSignature ownedTemplateSignature
Owned Template Signature
' containment reference.
getOwnedTemplateSignature()
protected TemplateableElement unspecializedElement
Unspecialized Element
' reference.
getUnspecializedElement()
protected TemplateParameter templateParameter
Template Parameter
' reference.
getTemplateParameter()
protected org.eclipse.emf.common.util.EList<Type> raisedExceptions
Raised Exception
' reference list.
getRaisedExceptions()
protected org.eclipse.emf.common.util.EList<Parameter> ownedParameters
Owned Parameter
' containment reference list.
getOwnedParameters()
protected Precedence precedence
Precedence
' reference.
getPrecedence()
Constructor Detail |
---|
protected OperationImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class FeatureImpl
public TemplateParameter getTemplateParameter()
getTemplateParameter
in interface ParameterableElement
ParameterableElement.setTemplateParameter(TemplateParameter)
,
PivotPackage.getParameterableElement_TemplateParameter()
,
TemplateParameter.getParameteredElement()
public TemplateParameter basicGetTemplateParameter()
public org.eclipse.emf.common.notify.NotificationChain basicSetTemplateParameter(TemplateParameter newTemplateParameter, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setTemplateParameter(TemplateParameter newTemplateParameter)
setTemplateParameter
in interface ParameterableElement
newTemplateParameter
- the new value of the 'Template Parameter' reference.ParameterableElement.getTemplateParameter()
public boolean isSetTemplateParameter()
public TemplateParameter getOwningTemplateParameter()
getOwningTemplateParameter
in interface ParameterableElement
ParameterableElement.setOwningTemplateParameter(TemplateParameter)
,
PivotPackage.getParameterableElement_OwningTemplateParameter()
,
TemplateParameter.getOwnedParameteredElement()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwningTemplateParameter(TemplateParameter newOwningTemplateParameter, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwningTemplateParameter(TemplateParameter newOwningTemplateParameter)
setOwningTemplateParameter
in interface ParameterableElement
newOwningTemplateParameter
- the new value of the 'Owning Template Parameter' container reference.ParameterableElement.getOwningTemplateParameter()
public org.eclipse.emf.common.util.EList<TemplateBinding> getTemplateBindings()
getTemplateBindings
in interface TemplateableElement
PivotPackage.getTemplateableElement_TemplateBinding()
,
TemplateBinding.getBoundElement()
public TemplateBinding createTemplateBinding()
createTemplateBinding
in interface TemplateableElement
TemplateBinding
.TemplateableElement.getTemplateBindings()
public TemplateSignature getOwnedTemplateSignature()
getOwnedTemplateSignature
in interface TemplateableElement
TemplateableElement.setOwnedTemplateSignature(TemplateSignature)
,
PivotPackage.getTemplateableElement_OwnedTemplateSignature()
,
TemplateSignature.getTemplate()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedTemplateSignature(TemplateSignature newOwnedTemplateSignature)
setOwnedTemplateSignature
in interface TemplateableElement
newOwnedTemplateSignature
- the new value of the 'Owned Template Signature' containment reference.TemplateableElement.getOwnedTemplateSignature()
public TemplateSignature createOwnedTemplateSignature()
createOwnedTemplateSignature
in interface TemplateableElement
TemplateSignature
.TemplateableElement.getOwnedTemplateSignature()
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 org.eclipse.emf.common.util.EList<Type> getRaisedExceptions()
getRaisedExceptions
in interface Operation
PivotPackage.getOperation_RaisedException()
public org.eclipse.emf.common.util.EList<Parameter> getOwnedParameters()
getOwnedParameters
in interface Operation
PivotPackage.getOperation_OwnedParameter()
,
Parameter.getOperation()
public Parameter createOwnedParameter()
createOwnedParameter
in interface Operation
Parameter
.Operation.getOwnedParameters()
public Class getClass_()
getClass_
in interface Operation
Operation.setClass_(org.eclipse.ocl.examples.pivot.Class)
,
PivotPackage.getOperation_Class()
,
Class.getOwnedOperations()
public org.eclipse.emf.common.notify.NotificationChain basicSetClass_(Class newClass, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setClass_(Class newClass)
setClass_
in interface Operation
newClass
- the new value of the 'Class' container reference.Operation.getClass_()
public boolean isTemplateParameter()
isTemplateParameter
in interface ParameterableElement
public boolean validateTestConstraint(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
validateTestConstraint
in interface Operation
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public org.eclipse.emf.common.util.EList<ParameterableElement> parameterableElements()
parameterableElements
in interface TemplateableElement
public boolean isTemplate()
isTemplate
in interface TemplateableElement
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 NamedElementImpl
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 TypedMultiplicityElementImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class TypedMultiplicityElementImpl
public int eDerivedOperationID(int baseOperationID, java.lang.Class<?> baseClass)
eDerivedOperationID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedOperationID
in class TypedMultiplicityElementImpl
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 TypedMultiplicityElementImpl
java.lang.reflect.InvocationTargetException
public java.lang.String toString()
toString
in class FeatureImpl
public <R,C> R accept(Visitor<R,C> visitor)
Visitable
Implementations of visit() may use the EcoreSwitch to perform derived-class-specific processing.
Derived implementations of accept() may use getAdapter() to obtain richer visitor interfaces.
accept
in interface Visitable
accept
in class FeatureImpl
public java.util.Iterator<Operation> iterator()
iterator
in interface java.lang.Iterable<Operation>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |