|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.ocl.examples.codegen.cgmodel.impl.CGElementImpl
org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl
org.eclipse.ocl.examples.codegen.cgmodel.impl.CGClassImpl
public class CGClassImpl
An implementation of the model object 'CG Class'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
|---|
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
|---|
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
| 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 boolean |
interface_
The cached value of the ' Interface' attribute. |
protected static boolean |
INTERFACE_EDEFAULT
The default value of the ' Interface' attribute. |
protected org.eclipse.emf.common.util.EList<CGConstraint> |
invariants
The cached value of the ' Invariants' containment reference list. |
protected org.eclipse.emf.common.util.EList<CGOperation> |
operations
The cached value of the ' Operations' containment reference list. |
protected org.eclipse.emf.common.util.EList<CGProperty> |
properties
The cached value of the ' Properties' containment reference list. |
protected org.eclipse.emf.common.util.EList<CGClass> |
superTypes
The cached value of the ' Super Types' reference list. |
protected org.eclipse.emf.common.util.EList<CGClass> |
templateParameters
The cached value of the ' Template Parameters' reference list. |
| Fields inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl |
|---|
ast, AST_EDEFAULT, name, NAME_EDEFAULT |
| Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
|---|
eContainer |
| 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.EStructuralFeature.Internal.DynamicValueHolder |
|---|
NIL |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
CGClassImpl()
|
| Method Summary | ||
|---|---|---|
|
accept(CGModelVisitor<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 |
basicSetContainingPackage(CGPackage newContainingPackage,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
|
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(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)
|
|
CGPackage |
getContainingPackage()
|
|
java.util.List<CGConstraint> |
getInvariants()
|
|
java.util.List<CGOperation> |
getOperations()
|
|
java.util.List<CGProperty> |
getProperties()
|
|
java.util.List<CGClass> |
getSuperTypes()
|
|
java.util.List<CGClass> |
getTemplateParameters()
|
|
boolean |
isInterface()
|
|
void |
setContainingPackage(CGPackage newContainingPackage)
|
|
void |
setInterface(boolean newInterface)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl |
|---|
getAst, getName, setAst, setName |
| Methods inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGElementImpl |
|---|
getChildren, getParent, getPlace, isContext, rewriteAs |
| Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
|---|
eBasicSetContainer, eInternalContainer |
| Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
|---|
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, 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 |
|---|
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.codegen.cgmodel.CGNamedElement |
|---|
getAst, getName, setAst, setName |
| Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement |
|---|
getChildren, getParent, getPlace, isContext, rewriteAs |
| 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 |
|---|
protected org.eclipse.emf.common.util.EList<CGOperation> operations
Operations' containment reference list.
getOperations()protected org.eclipse.emf.common.util.EList<CGProperty> properties
Properties' containment reference list.
getProperties()protected org.eclipse.emf.common.util.EList<CGConstraint> invariants
Invariants' containment reference list.
getInvariants()protected org.eclipse.emf.common.util.EList<CGClass> superTypes
Super Types' reference list.
getSuperTypes()protected static final boolean INTERFACE_EDEFAULT
Interface' attribute.
isInterface(),
Constant Field Valuesprotected boolean interface_
Interface' attribute.
isInterface()protected org.eclipse.emf.common.util.EList<CGClass> templateParameters
Template Parameters' reference list.
getTemplateParameters()| Constructor Detail |
|---|
protected CGClassImpl()
| Method Detail |
|---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class CGNamedElementImplpublic CGPackage getContainingPackage()
getContainingPackage in interface CGClassCGClass.setContainingPackage(CGPackage),
CGModelPackage.getCGClass_ContainingPackage(),
CGPackage.getClasses()
public org.eclipse.emf.common.notify.NotificationChain basicSetContainingPackage(CGPackage newContainingPackage,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setContainingPackage(CGPackage newContainingPackage)
setContainingPackage in interface CGClassnewContainingPackage - the new value of the 'Containing Package' container reference.CGClass.getContainingPackage()@NonNull public java.util.List<CGOperation> getOperations()
getOperations in interface CGClassCGModelPackage.getCGClass_Operations(),
CGOperation.getContainingClass()@NonNull public java.util.List<CGProperty> getProperties()
getProperties in interface CGClassCGModelPackage.getCGClass_Properties(),
CGProperty.getContainingClass()public java.util.List<CGConstraint> getInvariants()
getInvariants in interface CGClassCGModelPackage.getCGClass_Invariants()public java.util.List<CGClass> getSuperTypes()
getSuperTypes in interface CGClassCGModelPackage.getCGClass_SuperTypes()public boolean isInterface()
isInterface in interface CGClassCGClass.setInterface(boolean),
CGModelPackage.getCGClass_Interface()public void setInterface(boolean newInterface)
setInterface in interface CGClassnewInterface - the new value of the 'Interface' attribute.CGClass.isInterface()public java.util.List<CGClass> getTemplateParameters()
getTemplateParameters in interface CGClassCGModelPackage.getCGClass_TemplateParameters()public java.lang.String toString()
toString in class CGNamedElementImpl
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 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic 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.InternalEObjecteGet in class CGNamedElementImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class CGNamedElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class CGNamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class CGNamedElementImpl
@Nullable
public <R> R accept(@NonNull
CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||