public class CGClassImpl extends CGNamedElementImpl implements CGClass
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
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. |
ast, AST_EDEFAULT, name, NAME_EDEFAULT
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
CGClassImpl() |
Modifier and Type | Method and Description |
---|---|
<R> R |
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() |
getAst, getName, setAst, setName
eBasicSetContainer, eBasicSetContainer, getChildren, getParent, getPlace, isContext, rewriteAs
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAst, getName, setAst, setName
getChildren, getParent, getPlace, isContext, rewriteAs
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
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()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class CGNamedElementImpl
public CGPackage getContainingPackage()
getContainingPackage
in interface CGClass
CGClass.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 CGClass
newContainingPackage
- the new value of the 'Containing Package' container reference.CGClass.getContainingPackage()
@NonNull public java.util.List<CGOperation> getOperations()
getOperations
in interface CGClass
CGModelPackage.getCGClass_Operations()
,
CGOperation.getContainingClass()
@NonNull public java.util.List<CGProperty> getProperties()
getProperties
in interface CGClass
CGModelPackage.getCGClass_Properties()
,
CGProperty.getContainingClass()
public java.util.List<CGConstraint> getInvariants()
getInvariants
in interface CGClass
CGModelPackage.getCGClass_Invariants()
public java.util.List<CGClass> getSuperTypes()
getSuperTypes
in interface CGClass
CGModelPackage.getCGClass_SuperTypes()
public boolean isInterface()
isInterface
in interface CGClass
CGClass.setInterface(boolean)
,
CGModelPackage.getCGClass_Interface()
public void setInterface(boolean newInterface)
setInterface
in interface CGClass
newInterface
- the new value of the 'Interface' attribute.CGClass.isInterface()
public java.util.List<CGClass> getTemplateParameters()
getTemplateParameters
in interface CGClass
CGModelPackage.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.BasicEObjectImpl
public 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.InternalEObject
eGet
in class CGNamedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class CGNamedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class CGNamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class CGNamedElementImpl
public <R> R accept(@NonNull CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl