public abstract class CGValuedElementImpl extends CGTypedElementImpl implements CGValuedElement
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamicorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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 static boolean |
BOXED_EDEFAULT
The default value of the '
Boxed' attribute. |
protected boolean |
caught
The cached value of the '
Caught' attribute. |
protected static boolean |
CAUGHT_EDEFAULT
The default value of the '
Caught' attribute. |
protected static boolean |
CONSTANT_EDEFAULT
The default value of the '
Constant' attribute. |
protected org.eclipse.emf.common.util.EList<CGValuedElement> |
dependsOn
The cached value of the '
Depends On' reference list. |
protected static boolean |
FALSE_EDEFAULT
The default value of the '
False' attribute. |
protected static boolean |
GLOBAL_EDEFAULT
The default value of the '
Global' attribute. |
protected static boolean |
INLINEABLE_EDEFAULT
The default value of the '
Inlineable' attribute. |
protected static boolean |
INVALID_EDEFAULT
The default value of the '
Invalid' attribute. |
protected static boolean |
NON_INVALID_EDEFAULT
The default value of the '
Non Invalid' attribute. |
protected static boolean |
NON_NULL_EDEFAULT
The default value of the '
Non Null' attribute. |
protected static boolean |
NULL_EDEFAULT
The default value of the '
Null' attribute. |
protected static boolean |
SETTABLE_EDEFAULT
The default value of the '
Settable' attribute. |
protected static boolean |
TRUE_EDEFAULT
The default value of the '
True' attribute. |
protected static boolean |
UNBOXED_EDEFAULT
The default value of the '
Unboxed' attribute. |
protected static java.lang.String |
VALUE_NAME_EDEFAULT
The default value of the '
Value Name' attribute. |
protected java.lang.String |
valueName
The cached value of the '
Value Name' attribute. |
PIVOT_TYPE_ID_EDEFAULT, required, REQUIRED_EDEFAULT, typeIdname, NAME_EDEFAULT, pivot, PIVOT_EDEFAULTEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEMPTY_LIST| Modifier | Constructor and Description |
|---|---|
protected |
CGValuedElementImpl() |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(CGModelVisitor<R> visitor) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.util.List<CGValuedElement> |
getDependsOn() |
CGValuedElement |
getReferredValuedElement()
Returns the value of the 'Referred Valued Element' reference.
|
CGValuedElement |
getValue()
Returns the value of the 'Value' reference.
|
java.lang.String |
getValueName()
Returns the value of the 'Value Name' attribute.
|
boolean |
isBoxed()
Returns the value of the 'Boxed' attribute.
|
boolean |
isCaught() |
boolean |
isConstant() |
boolean |
isFalse()
Returns the value of the 'False' attribute.
|
boolean |
isGlobal()
Returns the value of the 'Global' attribute.
|
boolean |
isInlineable()
Returns the value of the 'Inlineable' attribute.
|
boolean |
isInvalid()
Returns the value of the 'Invalid' attribute.
|
boolean |
isNonInvalid()
Returns the value of the 'Non Invalid' attribute.
|
boolean |
isNonNull()
Returns the value of the 'Non Null' attribute.
|
boolean |
isNull()
Returns the value of the 'Null' attribute.
|
boolean |
isSettable()
Returns the value of the 'Settable' attribute.
|
boolean |
isTrue()
Returns the value of the 'True' attribute.
|
boolean |
isUnboxed()
Returns the value of the 'Unboxed' attribute.
|
void |
setCaught(boolean newCaught) |
void |
setNonInvalid() |
void |
setNonNull() |
void |
setValueName(java.lang.String newValueName) |
java.lang.String |
toString() |
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeIdgetName, getPivot, setName, setPivotgetChildren, getParenteBasicSetContainer, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPivotTypeId, getTypeId, isRequired, setRequired, setTypeIdgetName, getPivot, setName, setPivotgetChildren, getParenteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected static final boolean BOXED_EDEFAULT
Boxed' attribute.
isBoxed(),
Constant Field Valuesprotected static final boolean CAUGHT_EDEFAULT
Caught' attribute.
isCaught(),
Constant Field Valuesprotected boolean caught
Caught' attribute.
isCaught()protected static final boolean CONSTANT_EDEFAULT
Constant' attribute.
isConstant(),
Constant Field Valuesprotected org.eclipse.emf.common.util.EList<CGValuedElement> dependsOn
Depends On' reference list.
getDependsOn()protected static final boolean FALSE_EDEFAULT
False' attribute.
isFalse(),
Constant Field Valuesprotected static final boolean GLOBAL_EDEFAULT
Global' attribute.
isGlobal(),
Constant Field Valuesprotected static final boolean INLINEABLE_EDEFAULT
Inlineable' attribute.
isInlineable(),
Constant Field Valuesprotected static final boolean INVALID_EDEFAULT
Invalid' attribute.
isInvalid(),
Constant Field Valuesprotected static final boolean NULL_EDEFAULT
Null' attribute.
isNull(),
Constant Field Valuesprotected static final boolean NON_INVALID_EDEFAULT
Non Invalid' attribute.
isNonInvalid(),
Constant Field Valuesprotected static final boolean NON_NULL_EDEFAULT
Non Null' attribute.
isNonNull(),
Constant Field Valuesprotected static final boolean SETTABLE_EDEFAULT
Settable' attribute.
isSettable(),
Constant Field Valuesprotected static final boolean TRUE_EDEFAULT
True' attribute.
isTrue(),
Constant Field Valuesprotected static final boolean UNBOXED_EDEFAULT
Unboxed' attribute.
isUnboxed(),
Constant Field Valuesprotected static final java.lang.String VALUE_NAME_EDEFAULT
Value Name' attribute.
getValueName()protected java.lang.String valueName
Value Name' attribute.
getValueName()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class CGTypedElementImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class CGTypedElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class CGTypedElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class CGTypedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class CGTypedElementImplpublic java.lang.Object eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments)
throws java.lang.reflect.InvocationTargetException
eInvoke in interface org.eclipse.emf.ecore.InternalEObjecteInvoke in class org.eclipse.emf.ecore.impl.BasicEObjectImpljava.lang.reflect.InvocationTargetExceptionpublic void setValueName(java.lang.String newValueName)
setValueName in interface CGValuedElementnewValueName - the new value of the 'Value Name' attribute.CGValuedElement.getValueName()@NonNull public java.util.List<CGValuedElement> getDependsOn()
getDependsOn in interface CGValuedElementCGModelPackage.getCGValuedElement_DependsOn()public boolean isCaught()
isCaught in interface CGValuedElementCGValuedElement.setCaught(boolean),
CGModelPackage.getCGValuedElement_Caught()public void setCaught(boolean newCaught)
setCaught in interface CGValuedElementnewCaught - the new value of the 'Caught' attribute.CGValuedElement.isCaught()public <R> R accept(@NonNull
CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGTypedElementImpl@NonNull public CGValuedElement getReferredValuedElement()
CGValuedElementgetReferredValuedElement in interface CGValuedElementCGModelPackage.getCGValuedElement_ReferredValuedElement()@NonNull public CGValuedElement getValue()
CGValuedElementIf the meaning of the 'Value' reference isn't clear, there really should be more of a description here...
The first valued element along the referredValuedElement daisy chain that has a reified value with a name. e.g. A CGCatchExp defines a variable which is what is referenced, but its underlying type is available by following the referredValuedElement daisy chain to its end.getValue in interface CGValuedElementCGModelPackage.getCGValuedElement_Value()public java.lang.String getValueName()
CGValuedElementIf the meaning of the 'Value Name' attribute isn't clear, there really should be more of a description here...
The declared name value of this element. The text is valid for use in the target language and unique within the context in which this element is declared.getValueName in interface CGValuedElementCGValuedElement.setValueName(String),
CGModelPackage.getCGValuedElement_ValueName()public boolean isBoxed()
CGValuedElementIf the meaning of the 'Boxed' attribute isn't clear, there really should be more of a description here...
Whether this element is represented using boxed values.isBoxed in interface CGValuedElementCGModelPackage.getCGValuedElement_Boxed()public boolean isConstant()
isConstant in interface CGValuedElementpublic boolean isFalse()
CGValuedElement"false".
Whether this element is constant and represents the false value (and nothing else).
isFalse in interface CGValuedElementCGModelPackage.getCGValuedElement_False()public boolean isGlobal()
CGValuedElement"false".
If the meaning of the 'Global' attribute isn't clear, there really should be more of a description here...
Whether this element is global (and constant). Global values may be statically computed and shared.isGlobal in interface CGValuedElementCGModelPackage.getCGValuedElement_Global()public boolean isInlineable()
CGValuedElement"false".
If the meaning of the 'Inlineable' attribute isn't clear, there really should be more of a description here...
Whether this element is a constant that can be evaluated inline and so needs no declaration (e.g. null, true).isInlineable in interface CGValuedElementCGModelPackage.getCGValuedElement_Inlineable()public boolean isInvalid()
CGValuedElement"false".
If the meaning of the 'Invalid' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents an invalid value (and nothing else).isInvalid in interface CGValuedElementCGModelPackage.getCGValuedElement_Invalid()public boolean isNonInvalid()
CGValuedElement"false".
If the meaning of the 'Non Invalid' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents something other than an invalid value.isNonInvalid in interface CGValuedElementCGModelPackage.getCGValuedElement_NonInvalid()public boolean isNonNull()
CGValuedElement"false".
If the meaning of the 'Non Null' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents something other than the null value.isNonNull in interface CGValuedElementCGModelPackage.getCGValuedElement_NonNull()public boolean isNull()
CGValuedElement"false".
If the meaning of the 'Null' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents the null value (and nothing else).isNull in interface CGValuedElementCGModelPackage.getCGValuedElement_Null()public boolean isSettable()
CGValuedElement"false".
If the meaning of the 'Settable' attribute isn't clear, there really should be more of a description here...
Whether this element is subject to assignment from multiple sources. (e.g the then/else value of an if).isSettable in interface CGValuedElementCGModelPackage.getCGValuedElement_Settable()public boolean isTrue()
CGValuedElement"false".
Whether this element is constant and represents the true value (and nothing else).
isTrue in interface CGValuedElementCGModelPackage.getCGValuedElement_True()public boolean isUnboxed()
CGValuedElementIf the meaning of the 'Unboxed' attribute isn't clear, there really should be more of a description here...
Whether this element is represented using unboxed values.isUnboxed in interface CGValuedElementCGModelPackage.getCGValuedElement_Unboxed()public void setNonInvalid()
CGValuedElementsetNonInvalid in interface CGValuedElementpublic void setNonNull()
CGValuedElementsetNonNull in interface CGValuedElementpublic java.lang.String toString()
toString in class CGTypedElementImpl