org.eclipse.ocl.examples.xtext.essentialocl.essentialoclcs.impl
Class ExpCSImpl

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.basecs.impl.ElementCSImpl
                  extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.PivotableElementCSImpl
                      extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.ModelElementCSImpl
                          extended by org.eclipse.ocl.examples.xtext.essentialocl.essentialoclcs.impl.ExpCSImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Pivotable, PivotObject, ElementCS, ModelElementCS, PivotableElementCS, VisitableCS, ExpCS
Direct Known Subclasses:
IfExpCSImpl, InfixExpCSImpl, LetExpCSImpl, LiteralExpCSImpl, NamedExpCSImpl, NameExpCSImpl, NestedExpCSImpl, OCLMessageArgCSImpl, OperatorCSImpl, PrefixExpCSImpl, SelfExpCSImpl

public class ExpCSImpl
extends ModelElementCSImpl
implements ExpCS

An implementation of the model object 'Ocl Expression 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 static boolean HAS_ERROR_EDEFAULT
          The default value of the 'Has Error' attribute.
protected  boolean hasError
          The cached value of the 'Has Error' attribute.
protected  OperatorCS parent
          The cached value of the 'Parent' reference.
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.ModelElementCSImpl
csi, CSI_EDEFAULT, ORIGINAL_XMI_ID_EDEFAULT, originalXmiId, ownedAnnotation
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.basecs.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 ExpCSImpl()
           
 
Method Summary
<R> R
accept(BaseCSVisitor<R> visitor)
          Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
 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)
           
 ElementCS getLogicalParent()
           
 OperatorCS getParent()
           
 boolean isHasError()
           
 void resetPivot()
           
 void setHasError(boolean newHasError)
           
 void setParent(OperatorCS newParent)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.ModelElementCSImpl
eInverseRemove, getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.PivotableElementCSImpl
getPivot, setPivot
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.ElementCSImpl
getDescription
 
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, 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.basecs.ModelElementCS
getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.PivotableElementCS
getPivot, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.ElementCS
getDescription
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.util.VisitableCS
eClass
 
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.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

parent

protected OperatorCS parent
The cached value of the 'Parent' reference.

See Also:
getParent()
Generated
Ordered

HAS_ERROR_EDEFAULT

protected static final boolean HAS_ERROR_EDEFAULT
The default value of the 'Has Error' attribute.

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

hasError

protected boolean hasError
The cached value of the 'Has Error' attribute.

See Also:
isHasError()
Generated
Ordered
Constructor Detail

ExpCSImpl

protected ExpCSImpl()

Generated
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ModelElementCSImpl
Generated

getParent

public OperatorCS getParent()

Specified by:
getParent in interface ExpCS
Returns:
the value of the 'Parent' reference.
See Also:
ExpCS.setParent(OperatorCS), EssentialOCLCSPackage.getExpCS_Parent()
Generated

setParent

public void setParent(OperatorCS newParent)

Specified by:
setParent in interface ExpCS
Parameters:
newParent - the new value of the 'Parent' reference.
See Also:
ExpCS.getParent()
Generated

isHasError

public boolean isHasError()

Specified by:
isHasError in interface ExpCS
Returns:
the value of the 'Has Error' attribute.
See Also:
ExpCS.setHasError(boolean), EssentialOCLCSPackage.getExpCS_HasError()
Generated

setHasError

public void setHasError(boolean newHasError)

Specified by:
setHasError in interface ExpCS
Parameters:
newHasError - the new value of the 'Has Error' attribute.
See Also:
ExpCS.isHasError()
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 ModelElementCSImpl
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 ModelElementCSImpl
Generated

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

accept

@Nullable
public <R> R accept(@NonNull
                             BaseCSVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.

Specified by:
accept in interface ElementCS
Specified by:
accept in interface VisitableCS
Overrides:
accept in class ElementCSImpl
Returns:
the result of the visit.
Generated

getLogicalParent

public ElementCS getLogicalParent()

Specified by:
getLogicalParent in interface ElementCS
Overrides:
getLogicalParent in class ElementCSImpl
Returns:
the value of the 'Logical Parent' reference.
See Also:
BaseCSPackage.getElementCS_LogicalParent()
Generated
NOT

resetPivot

public void resetPivot()

Specified by:
resetPivot in interface Pivotable
Overrides:
resetPivot in class PivotableElementCSImpl
Generated
NOT

toString

public java.lang.String toString()
Description copied from class: ModelElementCSImpl

Overrides:
toString in class ModelElementCSImpl
Generated
NOT