public class CGTextImpl extends CGConstantImpl implements CGText
The following features are implemented:
| 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.
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
TypeId |
getASTypeId()
Return the TypeId of the pivot element.
|
Object |
getConstantValue()
Return the constant (boxed) value of this element.
|
String |
getTextValue() |
boolean |
isCommonable()
Return true if this value can be shared as part of a Common Subexpression.
|
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(String newTextValue) |
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, getChildren, getParentequals, 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, setNamepublic String getTextValue()
getTextValue in interface CGTextCGText.setTextValue(String),
CGModelPackage.getCGText_TextValue()public void setTextValue(String newTextValue)
setTextValue in interface CGTextnewTextValue - the new value of the 'Text Value' attribute.CGText.getTextValue()public String toString()
toString in class CGTypedElementImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class CGValuedElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class CGValuedElementImplpublic void eUnset(int featureID)
eUnset in class CGValuedElementImplpublic boolean eIsSet(int featureID)
eIsSet in class CGValuedElementImplpublic <R> R accept(CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImplpublic TypeId getASTypeId()
getASTypeId in interface CGTypedElementgetASTypeId in class CGTypedElementImplpublic Object getConstantValue()
getConstantValue in interface CGConstantpublic boolean isCommonable()
isCommonable in interface CGValuedElementisCommonable in class CGConstantImplpublic Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal in interface CGValuedElementpublic boolean isGlobal()
isGlobal in interface CGValuedElementisGlobal in class CGConstantImplpublic boolean isUncommonable()
isUncommonable in interface CGValuedElementisUncommonable in class CGValuedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.