public class CGGuardExpImpl extends CGCallExpImpl implements CGGuardExp
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) |
EClassifier |
getEcoreClassifier()
Return a non-null EClassifier if this value has a known EClassifier to define its instance class.
|
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
String |
getMessage() |
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
CGValuedElement |
getReferredValue()
Return the CGValuedElement to which the value of this CGValuedElement delegates.
|
CGValuedElement |
getSourceValue()
Return the CGValuedElement which is the source of the information value of this element.
|
CGValuedElement |
getTypedValue()
Return the CGValuedElement that provides the narrowest type declaration from which the type of this CGValuedElement may be obtained.
|
String |
getValueName()
Return the declared name value of this element.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
boolean |
isNonInvalid()
Return true if this value is false.
|
boolean |
isNonNull()
Return true if this value is not null.
|
boolean |
isNull()
Return true if this value is null.
|
boolean |
isSafe() |
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setMessage(String newMessage) |
void |
setSafe(boolean newSafe) |
String |
toString() |
basicSetSource, eInverseRemove, getSource, isEquivalentToInternal, isGlobal, isInvalidating, isValidating, setInvalidating, setSource, setValidatinggetDependsOn, getOwns, getPlace, getThisValue, isAssertedNonNull, isCaught, isCommonable, isConstant, isContext, isEquivalentTo, isFalse, isInlined, isInvalid, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNameeBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSource, isInvalidating, isValidating, setInvalidating, setSource, setValidatinggetDependsOn, getOwns, getThisValue, isAssertedNonNull, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isSettable, isTrue, isUncommonable, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamepublic String getMessage()
getMessage in interface CGGuardExpCGGuardExp.setMessage(String),
CGModelPackage.getCGGuardExp_Message()public void setMessage(String newMessage)
setMessage in interface CGGuardExpnewMessage - the new value of the 'Message' attribute.CGGuardExp.getMessage()public boolean isSafe()
isSafe in interface CGGuardExpCGGuardExp.setSafe(boolean),
CGModelPackage.getCGGuardExp_Safe()public void setSafe(boolean newSafe)
setSafe in interface CGGuardExpnewSafe - the new value of the 'Safe' attribute.CGGuardExp.isSafe()public String toString()
toString in class CGCallExpImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class CGCallExpImplpublic void eSet(int featureID,
Object newValue)
eSet in class CGCallExpImplpublic void eUnset(int featureID)
eUnset in class CGCallExpImplpublic boolean eIsSet(int featureID)
eIsSet in class CGCallExpImplpublic <R> R accept(CGModelVisitor<R> visitor)
accept in interface CGElementaccept in class CGElementImplpublic EClassifier getEcoreClassifier()
getEcoreClassifier in interface CGValuedElementgetEcoreClassifier in class CGValuedElementImplpublic CGInvalid getInvalidValue()
getInvalidValue in interface CGValuedElementgetInvalidValue in class CGValuedElementImplpublic CGValuedElement getSourceValue()
getSourceValue in interface CGValuedElementgetSourceValue in class CGValuedElementImplpublic CGValuedElement getTypedValue()
getTypedValue in interface CGValuedElementgetTypedValue in class CGValuedElementImplpublic CGValuedElement getNamedValue()
getNamedValue in interface CGValuedElementgetNamedValue in class CGValuedElementImplpublic CGValuedElement getReferredValue()
getReferredValue in interface CGValuedElementgetReferredValue in class CGValuedElementImplpublic String getValueName()
getValueName in interface CGValuedElementgetValueName in class CGValuedElementImplpublic boolean isBoxed()
isBoxed in interface CGValuedElementisBoxed in class CGValuedElementImplpublic boolean isEcore()
isEcore in interface CGValuedElementisEcore in class CGValuedElementImplpublic boolean isNonInvalid()
isNonInvalid in interface CGValuedElementisNonInvalid in class CGValuedElementImplpublic boolean isNonNull()
isNonNull in interface CGValuedElementisNonNull in class CGValuedElementImplpublic boolean isNull()
isNull in interface CGValuedElementisNull in class CGValuedElementImplpublic boolean isUnboxed()
isUnboxed in interface CGValuedElementisUnboxed in class CGValuedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.