org.eclipse.ocl.examples.xtext.base.basecs.impl
Class ClassCSImpl

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.base.basecs.impl.NamedElementCSImpl
                              extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.ClassifierCSImpl
                                  extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.ClassCSImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Nameable, Pivotable, PivotObject, ClassCS, ClassifierCS, ElementCS, ModelElementCS, NamedElementCS, NamespaceCS, PivotableElementCS, TemplateableElementCS, TypeCS, VisitableCS
Direct Known Subclasses:
LibClassCSImpl

public class ClassCSImpl
extends ClassifierCSImpl
implements ClassCS

An implementation of the model object 'Class 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  TypedRefCS ownedMetaType
          The cached value of the 'Owned Meta Type' containment reference.
protected  org.eclipse.emf.common.util.EList<OperationCS> ownedOperation
          The cached value of the 'Owned Operation' containment reference list.
protected  org.eclipse.emf.common.util.EList<StructuralFeatureCS> ownedProperty
          The cached value of the 'Owned Property' containment reference list.
protected  org.eclipse.emf.common.util.EList<TypedRefCS> ownedSuperType
          The cached value of the 'Owned Super Type' containment reference list.
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.ClassifierCSImpl
AST__EINVOCATION_DELEGATE, INSTANCE_CLASS_NAME_EDEFAULT, instanceClassName, instanceClassNameESet, ownedConstraint, ownedTemplateSignature, qualifier
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.NamedElementCSImpl
name, NAME_EDEFAULT
 
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 ClassCSImpl()
           
 
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.
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedMetaType(TypedRefCS newOwnedMetaType, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 TypedRefCS getOwnedMetaType()
           
 org.eclipse.emf.common.util.EList<OperationCS> getOwnedOperation()
           
 org.eclipse.emf.common.util.EList<StructuralFeatureCS> getOwnedProperty()
           
 org.eclipse.emf.common.util.EList<TypedRefCS> getOwnedSuperType()
           
 boolean isSetOwnedSuperType()
           
 void setOwnedMetaType(TypedRefCS newOwnedMetaType)
           
 void unsetOwnedSuperType()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.ClassifierCSImpl
ast, basicSetOwnedTemplateSignature, basicSetOwner, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, getInstanceClassName, getOwnedConstraint, getOwnedTemplateSignature, getOwner, getQualifier, getTemplateSignature, isSetInstanceClassName, setInstanceClassName, setOwnedTemplateSignature, setOwner, toString, unsetInstanceClassName
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.NamedElementCSImpl
getName, setName
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.ModelElementCSImpl
getCsi, getOriginalXmiId, getOwnedAnnotation, setCsi, setOriginalXmiId
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.PivotableElementCSImpl
getPivot, resetPivot, setPivot
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.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.basecs.ClassifierCS
ast, getInstanceClassName, getOwnedConstraint, getOwner, getQualifier, setInstanceClassName, setOwner
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.TemplateableElementCS
getOwnedTemplateSignature, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.NamedElementCS
getName, setName
 
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.pivot.util.Pivotable
resetPivot
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

ownedSuperType

protected org.eclipse.emf.common.util.EList<TypedRefCS> ownedSuperType
The cached value of the 'Owned Super Type' containment reference list.

See Also:
getOwnedSuperType()
Generated
Ordered

ownedOperation

protected org.eclipse.emf.common.util.EList<OperationCS> ownedOperation
The cached value of the 'Owned Operation' containment reference list.

See Also:
getOwnedOperation()
Generated
Ordered

ownedProperty

protected org.eclipse.emf.common.util.EList<StructuralFeatureCS> ownedProperty
The cached value of the 'Owned Property' containment reference list.

See Also:
getOwnedProperty()
Generated
Ordered

ownedMetaType

protected TypedRefCS ownedMetaType
The cached value of the 'Owned Meta Type' containment reference.

See Also:
getOwnedMetaType()
Generated
Ordered
Constructor Detail

ClassCSImpl

protected ClassCSImpl()

Generated
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ClassifierCSImpl
Generated

getOwnedSuperType

public org.eclipse.emf.common.util.EList<TypedRefCS> getOwnedSuperType()

Specified by:
getOwnedSuperType in interface ClassCS
Returns:
the value of the 'Owned Super Type' containment reference list.
See Also:
ClassCS.isSetOwnedSuperType(), ClassCS.unsetOwnedSuperType(), BaseCSPackage.getClassCS_OwnedSuperType()
Generated

unsetOwnedSuperType

public void unsetOwnedSuperType()

Specified by:
unsetOwnedSuperType in interface ClassCS
See Also:
ClassCS.isSetOwnedSuperType(), ClassCS.getOwnedSuperType()
Generated

isSetOwnedSuperType

public boolean isSetOwnedSuperType()

Specified by:
isSetOwnedSuperType in interface ClassCS
Returns:
whether the value of the 'Owned Super Type' containment reference list is set.
See Also:
ClassCS.unsetOwnedSuperType(), ClassCS.getOwnedSuperType()
Generated

getOwnedOperation

public org.eclipse.emf.common.util.EList<OperationCS> getOwnedOperation()

Specified by:
getOwnedOperation in interface ClassCS
Returns:
the value of the 'Owned Operation' containment reference list.
See Also:
BaseCSPackage.getClassCS_OwnedOperation(), OperationCS.getOwningClass()
Generated

getOwnedProperty

public org.eclipse.emf.common.util.EList<StructuralFeatureCS> getOwnedProperty()

Specified by:
getOwnedProperty in interface ClassCS
Returns:
the value of the 'Owned Property' containment reference list.
See Also:
BaseCSPackage.getClassCS_OwnedProperty(), StructuralFeatureCS.getOwner()
Generated

getOwnedMetaType

public TypedRefCS getOwnedMetaType()

Specified by:
getOwnedMetaType in interface ClassCS
Returns:
the value of the 'Owned Meta Type' containment reference.
See Also:
ClassCS.setOwnedMetaType(TypedRefCS), BaseCSPackage.getClassCS_OwnedMetaType()
Generated

basicSetOwnedMetaType

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedMetaType(TypedRefCS newOwnedMetaType,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setOwnedMetaType

public void setOwnedMetaType(TypedRefCS newOwnedMetaType)

Specified by:
setOwnedMetaType in interface ClassCS
Parameters:
newOwnedMetaType - the new value of the 'Owned Meta Type' containment reference.
See Also:
ClassCS.getOwnedMetaType()
Generated

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class ClassifierCSImpl
Generated

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class ClassifierCSImpl
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 ClassifierCSImpl
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 ClassifierCSImpl
Generated

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class ClassifierCSImpl
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