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

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.ElementRefCSImpl
                          extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.TypeRefCSImpl
                              extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.TypedRefCSImpl
                                  extended by org.eclipse.ocl.examples.xtext.base.basecs.impl.LambdaTypeCSImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Nameable, Pivotable, PivotObject, ElementCS, ElementRefCS, LambdaTypeCS, PivotableElementCS, TemplateableElementCS, TypedRefCS, TypeRefCS, VisitableCS

public class LambdaTypeCSImpl
extends TypedRefCSImpl
implements LambdaTypeCS

An implementation of the model object 'Lambda Type 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  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  TypedRefCS ownedContextType
          The cached value of the 'Owned Context Type' containment reference.
protected  org.eclipse.emf.common.util.EList<TypedRefCS> ownedParameterType
          The cached value of the 'Owned Parameter Type' containment reference list.
protected  TypedRefCS ownedResultType
          The cached value of the 'Owned Result Type' containment reference.
protected  TemplateSignatureCS ownedTemplateSignature
          The cached value of the 'Owned Template Signature' containment reference.
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.TypedRefCSImpl
multiplicity
 
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 LambdaTypeCSImpl()
           
 
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 basicSetOwnedContextType(TypedRefCS newOwnedContextType, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedResultType(TypedRefCS newOwnedResultType, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwnedTemplateSignature(TemplateSignatureCS newOwnedTemplateSignature, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 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)
           
 java.lang.String getName()
           
 TypedRefCS getOwnedContextType()
           
 org.eclipse.emf.common.util.EList<TypedRefCS> getOwnedParameterType()
           
 TypedRefCS getOwnedResultType()
           
 TemplateSignatureCS getOwnedTemplateSignature()
           
 void setName(java.lang.String newName)
           
 void setOwnedContextType(TypedRefCS newOwnedContextType)
           
 void setOwnedResultType(TypedRefCS newOwnedResultType)
           
 void setOwnedTemplateSignature(TemplateSignatureCS newOwnedTemplateSignature)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.basecs.impl.TypedRefCSImpl
basicSetMultiplicity, getMultiplicity, setMultiplicity
 
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, eBasicRemoveFromContainerFeature, 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.TypedRefCS
getMultiplicity, setMultiplicity
 
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, getLogicalParent
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.basecs.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.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

ownedTemplateSignature

protected TemplateSignatureCS ownedTemplateSignature
The cached value of the 'Owned Template Signature' containment reference.

See Also:
getOwnedTemplateSignature()
Generated
Ordered

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
Generated
Ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
Generated
Ordered

ownedContextType

protected TypedRefCS ownedContextType
The cached value of the 'Owned Context Type' containment reference.

See Also:
getOwnedContextType()
Generated
Ordered

ownedParameterType

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

See Also:
getOwnedParameterType()
Generated
Ordered

ownedResultType

protected TypedRefCS ownedResultType
The cached value of the 'Owned Result Type' containment reference.

See Also:
getOwnedResultType()
Generated
Ordered
Constructor Detail

LambdaTypeCSImpl

protected LambdaTypeCSImpl()

Generated
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class TypedRefCSImpl
Generated

getOwnedTemplateSignature

public TemplateSignatureCS getOwnedTemplateSignature()

Specified by:
getOwnedTemplateSignature in interface TemplateableElementCS
Returns:
the value of the 'Owned Template Signature' containment reference.
See Also:
TemplateableElementCS.setOwnedTemplateSignature(TemplateSignatureCS), BaseCSPackage.getTemplateableElementCS_OwnedTemplateSignature(), TemplateSignatureCS.getOwningTemplateElement()
Generated

basicSetOwnedTemplateSignature

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedTemplateSignature(TemplateSignatureCS newOwnedTemplateSignature,
                                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setOwnedTemplateSignature

public void setOwnedTemplateSignature(TemplateSignatureCS newOwnedTemplateSignature)

Specified by:
setOwnedTemplateSignature in interface TemplateableElementCS
Parameters:
newOwnedTemplateSignature - the new value of the 'Owned Template Signature' containment reference.
See Also:
TemplateableElementCS.getOwnedTemplateSignature()
Generated

getName

public java.lang.String getName()

Specified by:
getName in interface Nameable
Specified by:
getName in interface LambdaTypeCS
Returns:
the value of the 'Name' attribute.
See Also:
LambdaTypeCS.setName(String), BaseCSPackage.getLambdaTypeCS_Name()
Generated

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface LambdaTypeCS
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
LambdaTypeCS.getName()
Generated

getOwnedContextType

public TypedRefCS getOwnedContextType()

Specified by:
getOwnedContextType in interface LambdaTypeCS
Returns:
the value of the 'Owned Context Type' containment reference.
See Also:
LambdaTypeCS.setOwnedContextType(TypedRefCS), BaseCSPackage.getLambdaTypeCS_OwnedContextType()
Generated

basicSetOwnedContextType

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedContextType(TypedRefCS newOwnedContextType,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setOwnedContextType

public void setOwnedContextType(TypedRefCS newOwnedContextType)

Specified by:
setOwnedContextType in interface LambdaTypeCS
Parameters:
newOwnedContextType - the new value of the 'Owned Context Type' containment reference.
See Also:
LambdaTypeCS.getOwnedContextType()
Generated

getOwnedParameterType

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

Specified by:
getOwnedParameterType in interface LambdaTypeCS
Returns:
the value of the 'Owned Parameter Type' containment reference list.
See Also:
BaseCSPackage.getLambdaTypeCS_OwnedParameterType()
Generated

getOwnedResultType

public TypedRefCS getOwnedResultType()

Specified by:
getOwnedResultType in interface LambdaTypeCS
Returns:
the value of the 'Owned Result Type' containment reference.
See Also:
LambdaTypeCS.setOwnedResultType(TypedRefCS), BaseCSPackage.getLambdaTypeCS_OwnedResultType()
Generated

basicSetOwnedResultType

public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedResultType(TypedRefCS newOwnedResultType,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setOwnedResultType

public void setOwnedResultType(TypedRefCS newOwnedResultType)

Specified by:
setOwnedResultType in interface LambdaTypeCS
Parameters:
newOwnedResultType - the new value of the 'Owned Result Type' containment reference.
See Also:
LambdaTypeCS.getOwnedResultType()
Generated

toString

public java.lang.String toString()

Overrides:
toString in class ElementCSImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 TypedRefCSImpl
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 TypedRefCSImpl
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 TypedRefCSImpl
Generated

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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