org.eclipse.ocl.examples.xtext.oclstdlib.oclstdlibCST.impl
Class LibOperationCSImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.ocl.examples.xtext.base.baseCST.impl.ElementCSImpl
                  extended by org.eclipse.ocl.examples.xtext.base.baseCST.impl.PivotableElementCSImpl
                      extended by org.eclipse.ocl.examples.xtext.base.baseCST.impl.ModelElementCSImpl
                          extended by org.eclipse.ocl.examples.xtext.base.baseCST.impl.NamedElementCSImpl
                              extended by org.eclipse.ocl.examples.xtext.base.baseCST.impl.TypedElementCSImpl
                                  extended by org.eclipse.ocl.examples.xtext.base.baseCST.impl.OperationCSImpl
                                      extended by org.eclipse.ocl.examples.xtext.oclstdlib.oclstdlibCST.impl.LibOperationCSImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Nameable, Pivotable, PivotObject, ElementCS, FeatureCS, ModelElementCS, NamedElementCS, OperationCS, PivotableElementCS, TemplateableElementCS, TypedElementCS, VisitableCS, JavaImplementationCS, LibOperationCS

public class LibOperationCSImpl
extends OperationCSImpl
implements LibOperationCS

An implementation of the model object 'Lib Operation CS'.

The following features are implemented:

Generated

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.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  org.eclipse.xtext.common.types.JvmType implementation
          The cached value of the 'Implementation' reference.
protected  Precedence precedence
          The cached value of the 'Precedence' reference.
protected  boolean static_
          The cached value of the 'Static' attribute.
protected static boolean STATIC_EDEFAULT
          The default value of the 'Static' attribute.
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.OperationCSImpl
ownedException, ownedParameter, ownedTemplateSignature
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.TypedElementCSImpl
ownedConstraint, ownedType, qualifier
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.NamedElementCSImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.ModelElementCSImpl
csi, CSI_EDEFAULT, ORIGINAL_XMI_ID_EDEFAULT, originalXmiId, ownedAnnotation
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.PivotableElementCSImpl
pivot
 
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 LibOperationCSImpl()
           
 
Method Summary
<R> R
accept(BaseCSVisitor<R> visitor)
          Returns the result of accepting a visit from a visitor.
 org.eclipse.xtext.common.types.JvmType basicGetImplementation()
           
 Precedence basicGetPrecedence()
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 org.eclipse.xtext.common.types.JvmType getImplementation()
           
 Precedence getPrecedence()
           
 boolean isStatic()
           
 void setImplementation(org.eclipse.xtext.common.types.JvmType newImplementation)
           
 void setPrecedence(Precedence newPrecedence)
           
 void setStatic(boolean newStatic)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.OperationCSImpl
basicSetOwnedTemplateSignature, basicSetOwningClass, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getOwnedException, getOwnedParameter, getOwnedTemplateSignature, getOwningClass, getTemplateSignature, setOwnedTemplateSignature, setOwningClass
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.TypedElementCSImpl
basicSetOwnedType, getOwnedConstraint, getOwnedType, getQualifier, setOwnedType
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.NamedElementCSImpl
getName, setName
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.ModelElementCSImpl
getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.PivotableElementCSImpl
getPivot, resetPivot, setPivot
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.baseCST.impl.ElementCSImpl
getDescription, getLogicalParent
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, 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, 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.xtext.base.baseCST.OperationCS
getOwnedException, getOwnedParameter, getOwningClass, setOwningClass
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.TypedElementCS
getOwnedConstraint, getOwnedType, getQualifier, setOwnedType
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.NamedElementCS
getName, setName
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ModelElementCS
getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.PivotableElementCS
getPivot, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.baseCST.ElementCS
getDescription, getLogicalParent
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.util.VisitableCS
eClass
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Pivotable
resetPivot
 
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.xtext.base.baseCST.TemplateableElementCS
getOwnedTemplateSignature, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

implementation

protected org.eclipse.xtext.common.types.JvmType implementation
The cached value of the 'Implementation' reference.

See Also:
getImplementation()
Generated
Ordered

precedence

protected Precedence precedence
The cached value of the 'Precedence' reference.

See Also:
getPrecedence()
Generated
Ordered

STATIC_EDEFAULT

protected static final boolean STATIC_EDEFAULT
The default value of the 'Static' attribute.

See Also:
isStatic(), Constant Field Values
Generated
Ordered

static_

protected boolean static_
The cached value of the 'Static' attribute.

See Also:
isStatic()
Generated
Ordered
Constructor Detail

LibOperationCSImpl

protected LibOperationCSImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class OperationCSImpl
Generated

getImplementation

public org.eclipse.xtext.common.types.JvmType getImplementation()

Specified by:
getImplementation in interface JavaImplementationCS
Returns:
the value of the 'Implementation' reference.
See Also:
JavaImplementationCS.setImplementation(JvmType), OCLstdlibCSTPackage.getJavaImplementationCS_Implementation()
Generated

basicGetImplementation

public org.eclipse.xtext.common.types.JvmType basicGetImplementation()

Generated

setImplementation

public void setImplementation(org.eclipse.xtext.common.types.JvmType newImplementation)

Specified by:
setImplementation in interface JavaImplementationCS
Parameters:
newImplementation - the new value of the 'Implementation' reference.
See Also:
JavaImplementationCS.getImplementation()
Generated

getPrecedence

public Precedence getPrecedence()

Specified by:
getPrecedence in interface LibOperationCS
Returns:
the value of the 'Precedence' reference.
See Also:
LibOperationCS.setPrecedence(Precedence), OCLstdlibCSTPackage.getLibOperationCS_Precedence()
Generated

basicGetPrecedence

public Precedence basicGetPrecedence()

Generated

setPrecedence

public void setPrecedence(Precedence newPrecedence)

Specified by:
setPrecedence in interface LibOperationCS
Parameters:
newPrecedence - the new value of the 'Precedence' reference.
See Also:
LibOperationCS.getPrecedence()
Generated

isStatic

public boolean isStatic()

Specified by:
isStatic in interface LibOperationCS
Returns:
the value of the 'Static' attribute.
See Also:
LibOperationCS.setStatic(boolean), OCLstdlibCSTPackage.getLibOperationCS_Static()
Generated

setStatic

public void setStatic(boolean newStatic)

Specified by:
setStatic in interface LibOperationCS
Parameters:
newStatic - the new value of the 'Static' attribute.
See Also:
LibOperationCS.isStatic()
Generated

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class OperationCSImpl
Generated

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class OperationCSImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class OperationCSImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class OperationCSImpl
Generated

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class OperationCSImpl
Generated

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class OperationCSImpl
Generated

toString

public java.lang.String toString()

Overrides:
toString in class OperationCSImpl
Generated
NOT

accept

public <R> R accept(BaseCSVisitor<R> visitor)
Description copied from interface: VisitableCS
Returns the result of accepting a visit from a visitor. Implementations typically invoke a derived-class-specific variant of visitXXX() to facilitate derived-class-specific processing or just visit() when no such method is available.

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.

Specified by:
accept in interface VisitableCS
Overrides:
accept in class OperationCSImpl
Returns:
the result of the visit.