public abstract class CGTypedElementImpl extends CGNamedElementImpl implements CGTypedElement
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 |
required
The cached value of the '
Required ' attribute. |
protected static boolean |
REQUIRED_EDEFAULT
The default value of the '
Required ' attribute. |
protected CGTypeId |
typeId
The cached value of the '
Type Id ' reference. |
ast, AST_EDEFAULT, name, NAME_EDEFAULT
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
CGTypedElementImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
TypeId |
getASTypeId()
Return the TypeId of the pivot element.
|
CGTypeId |
getTypeId() |
boolean |
isRequired() |
void |
setRequired(boolean newRequired) |
void |
setTypeId(CGTypeId newTypeId) |
java.lang.String |
toString() |
getAst, getName, setAst, setName
accept, 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, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, 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
accept, getChildren, getParent, getPlace, isContext, rewriteAs
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected CGTypeId typeId
Type Id
' reference.
getTypeId()
protected static final boolean REQUIRED_EDEFAULT
Required
' attribute.
isRequired()
,
Constant Field Valuesprotected boolean required
Required
' attribute.
isRequired()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class CGNamedElementImpl
public CGTypeId getTypeId()
getTypeId
in interface CGTypedElement
CGTypedElement.setTypeId(CGTypeId)
,
CGModelPackage.getCGTypedElement_TypeId()
public void setTypeId(CGTypeId newTypeId)
setTypeId
in interface CGTypedElement
newTypeId
- the new value of the 'Type Id' reference.CGTypedElement.getTypeId()
public boolean isRequired()
isRequired
in interface CGTypedElement
CGTypedElement.setRequired(boolean)
,
CGModelPackage.getCGTypedElement_Required()
public void setRequired(boolean newRequired)
setRequired
in interface CGTypedElement
newRequired
- the new value of the 'Required' attribute.CGTypedElement.isRequired()
public java.lang.String toString()
toString
in class CGNamedElementImpl
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
@Nullable public TypeId getASTypeId()
getASTypeId
in interface CGTypedElement