public class CGTextImpl extends CGConstantImpl implements CGText
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 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, valueNamerequired, REQUIRED_EDEFAULT, typeIdast, AST_EDEFAULT, name, NAME_EDEFAULTEVIRTUAL_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, isUnboxedeInverseRemove, getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getPlace, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isContext, isEquivalentTo, isInvalid, isSettable, rewriteAs, setCaught, setValueNamegetTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNameeBasicSetContainer, eBasicSetContainer, getChildren, getParenteBasicSetContainer, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependsOn, 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, setValueNamegetTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamegetChildren, getParent, getPlace, isContext, rewriteAseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 CGConstantImplpublic java.lang.String getTextValue()
getTextValue in interface CGTextCGText.setTextValue(String),
CGModelPackage.getCGText_TextValue()public void setTextValue(java.lang.String newTextValue)
setTextValue in interface CGTextnewTextValue - the new value of the 'Text Value' attribute.CGText.getTextValue()public java.lang.String toString()
toString in class CGTypedElementImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class CGValuedElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class CGValuedElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class CGValuedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class CGValuedElementImplpublic <R> R accept(@NonNull
CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImpl@Nullable public TypeId getASTypeId()
getASTypeId in interface CGTypedElementgetASTypeId in class CGTypedElementImpl@NonNull public java.lang.Object getConstantValue()
getConstantValue in interface CGConstantpublic boolean isCommonable()
isCommonable in interface CGValuedElementisCommonable in class CGConstantImpl@Nullable
public java.lang.Boolean isEquivalentToInternal(@NonNull
CGValuedElement thatValue)
isEquivalentToInternal in interface CGValuedElementpublic boolean isGlobal()
isGlobal in interface CGValuedElementisGlobal in class CGConstantImplpublic boolean isUncommonable()
isUncommonable in interface CGValuedElementisUncommonable in class CGValuedElementImpl