public class CGInvalidImpl extends CGConstantImpl implements CGInvalid
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) |
List<Object> |
getBindings() |
Object |
getConstantValue()
Return the constant (boxed) value of this element.
|
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
String |
getMessageTemplate() |
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 |
isInlined()
Return true if this value is inlined and so has no local or global declaration.
|
boolean |
isNonInvalid()
Return true if this value is false.
|
void |
setMessageTemplate(String newMessageTemplate) |
String |
toString() |
isBoxed, isCommonable, isConstant, isEcore, isFalse, isGlobal, isNonNull, isNull, isTrue, isUnboxedeInverseRemove, getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getPlace, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isContext, isEquivalentTo, isInvalid, isSettable, isUncommonable, rewriteAs, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNameeBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependsOn, getEcoreClassifier, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEcore, isEquivalentTo, isFalse, isGlobal, isInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamepublic String getMessageTemplate()
getMessageTemplate in interface CGInvalidCGInvalid.setMessageTemplate(String),
CGModelPackage.getCGInvalid_MessageTemplate()public void setMessageTemplate(String newMessageTemplate)
setMessageTemplate in interface CGInvalidnewMessageTemplate - the new value of the 'Message Template' attribute.CGInvalid.getMessageTemplate()public List<Object> getBindings()
getBindings in interface CGInvalidCGModelPackage.getCGInvalid_Bindings()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 Object getConstantValue()
getConstantValue in interface CGConstantpublic CGInvalid getInvalidValue()
getInvalidValue in interface CGValuedElementgetInvalidValue in class CGConstantImplpublic Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal in interface CGValuedElementpublic boolean isInlined()
isInlined in interface CGValuedElementisInlined in class CGConstantImplpublic boolean isNonInvalid()
isNonInvalid in interface CGValuedElementisNonInvalid in class CGConstantImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.