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, setValidating
getDependsOn, getOwns, getPlace, getThisValue, isAssertedNonNull, isCaught, isCommonable, isConstant, isContext, isEquivalentTo, isFalse, isInlined, isInvalid, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSource, isInvalidating, isValidating, setInvalidating, setSource, setValidating
getDependsOn, getOwns, getThisValue, isAssertedNonNull, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isSettable, isTrue, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
public String getMessage()
getMessage
in interface CGGuardExp
CGGuardExp.setMessage(String)
,
CGModelPackage.getCGGuardExp_Message()
public void setMessage(String newMessage)
setMessage
in interface CGGuardExp
newMessage
- the new value of the 'Message' attribute.CGGuardExp.getMessage()
public boolean isSafe()
isSafe
in interface CGGuardExp
CGGuardExp.setSafe(boolean)
,
CGModelPackage.getCGGuardExp_Safe()
public void setSafe(boolean newSafe)
setSafe
in interface CGGuardExp
newSafe
- the new value of the 'Safe' attribute.CGGuardExp.isSafe()
public String toString()
toString
in class CGCallExpImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class CGCallExpImpl
public void eSet(int featureID, Object newValue)
eSet
in class CGCallExpImpl
public void eUnset(int featureID)
eUnset
in class CGCallExpImpl
public boolean eIsSet(int featureID)
eIsSet
in class CGCallExpImpl
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGElementImpl
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface CGValuedElement
getEcoreClassifier
in class CGValuedElementImpl
public CGInvalid getInvalidValue()
getInvalidValue
in interface CGValuedElement
getInvalidValue
in class CGValuedElementImpl
public CGValuedElement getSourceValue()
getSourceValue
in interface CGValuedElement
getSourceValue
in class CGValuedElementImpl
public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
getTypedValue
in class CGValuedElementImpl
public CGValuedElement getNamedValue()
getNamedValue
in interface CGValuedElement
getNamedValue
in class CGValuedElementImpl
public CGValuedElement getReferredValue()
getReferredValue
in interface CGValuedElement
getReferredValue
in class CGValuedElementImpl
public String getValueName()
getValueName
in interface CGValuedElement
getValueName
in class CGValuedElementImpl
public boolean isBoxed()
isBoxed
in interface CGValuedElement
isBoxed
in class CGValuedElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
isEcore
in class CGValuedElementImpl
public boolean isNonInvalid()
isNonInvalid
in interface CGValuedElement
isNonInvalid
in class CGValuedElementImpl
public boolean isNonNull()
isNonNull
in interface CGValuedElement
isNonNull
in class CGValuedElementImpl
public boolean isNull()
isNull
in interface CGValuedElement
isNull
in class CGValuedElementImpl
public boolean isUnboxed()
isUnboxed
in interface CGValuedElement
isUnboxed
in class CGValuedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.