public class CGTextImpl extends CGConstantImpl implements CGText
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 static java.lang.String |
TEXT_VALUE_EDEFAULT
The default value of the '
Text Value ' attribute. |
protected java.lang.String |
textValue
The cached value of the '
Text Value ' attribute. |
caught, dependsOn, owns, valueName
required, REQUIRED_EDEFAULT, typeId
ast, AST_EDEFAULT, name, NAME_EDEFAULT
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
CGTextImpl() |
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.
|
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.
|
java.lang.Object |
getConstantValue()
Return the constant (boxed) value of this element.
|
java.lang.String |
getTextValue() |
boolean |
isCommonable()
Return true if this value can be shared as part of a Common Subexpression.
|
java.lang.Boolean |
isEquivalentToInternal(CGValuedElement thatValue)
Provided that thatValue does not delegate its equivalence computation, return true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
boolean |
isGlobal()
Return true if this value is a global constant (independent of the user type system).
|
boolean |
isUncommonable()
Return true if this value does not have to be shared as part of a Common Subexpression.
|
void |
setTextValue(java.lang.String newTextValue) |
java.lang.String |
toString() |
getInvalidValue, isBoxed, isConstant, isEcore, isFalse, isInlined, isNonInvalid, isNonNull, isNull, isTrue, isUnboxed
eInverseRemove, getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getPlace, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isContext, isEquivalentTo, isInvalid, isSettable, rewriteAs, setCaught, setValueName
getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
eBasicSetContainer, eBasicSetContainer, getChildren, getParent
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, 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
getDependsOn, getEcoreClassifier, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isConstant, isEcore, isEquivalentTo, isFalse, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, setCaught, setValueName
getTypeId, isRequired, setRequired, setTypeId
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 static final java.lang.String TEXT_VALUE_EDEFAULT
Text Value
' attribute.
getTextValue()
protected java.lang.String textValue
Text Value
' attribute.
getTextValue()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class CGConstantImpl
public java.lang.String getTextValue()
getTextValue
in interface CGText
CGText.setTextValue(String)
,
CGModelPackage.getCGText_TextValue()
public void setTextValue(java.lang.String newTextValue)
setTextValue
in interface CGText
newTextValue
- the new value of the 'Text Value' attribute.CGText.getTextValue()
public java.lang.String toString()
toString
in class CGTypedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class CGValuedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class CGValuedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class CGValuedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class CGValuedElementImpl
public <R> R accept(@NonNull CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
@Nullable public TypeId getASTypeId()
getASTypeId
in interface CGTypedElement
getASTypeId
in class CGTypedElementImpl
@NonNull public java.lang.Object getConstantValue()
getConstantValue
in interface CGConstant
public boolean isCommonable()
isCommonable
in interface CGValuedElement
isCommonable
in class CGConstantImpl
@Nullable public java.lang.Boolean isEquivalentToInternal(@NonNull CGValuedElement thatValue)
isEquivalentToInternal
in interface CGValuedElement
public boolean isGlobal()
isGlobal
in interface CGValuedElement
isGlobal
in class CGConstantImpl
public boolean isUncommonable()
isUncommonable
in interface CGValuedElement
isUncommonable
in class CGValuedElementImpl