public abstract class CGVariableImpl extends CGValuedElementImpl implements CGVariable
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
NotificationChain |
basicSetInit(CGValuedElement newInit,
NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
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.
|
CGValuedElement |
getInit() |
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
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.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isCommonable()
Return true if this value can be shared as part of a Common Subexpression.
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
Boolean |
isEquivalentTo(CGValuedElement thatValue)
Returns true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
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 |
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 |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setInit(CGValuedElement newInit) |
void |
setNonInvalid()
Set the non-invalid status.
|
void |
setNonNull()
Set the non-null status.
|
getDependsOn, getOwns, getPlace, getThisValue, getValueName, isAssertedNonNull, isCaught, isConstant, isContext, isFalse, isGlobal, isInlined, isInvalid, isSettable, isTrue, isUncommonable, rewriteAs, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId, toString
getAst, getName, setAst, setName
accept, eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDependsOn, getOwns, getThisValue, getValueName, isAssertedNonNull, isCaught, isConstant, isFalse, isGlobal, isInlined, isInvalid, isSettable, isTrue, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
public CGValuedElement getInit()
getInit
in interface CGVariable
CGVariable.setInit(CGValuedElement)
,
CGModelPackage.getCGVariable_Init()
public NotificationChain basicSetInit(CGValuedElement newInit, NotificationChain msgs)
public void setInit(CGValuedElement newInit)
setInit
in interface CGVariable
newInit
- the new value of the 'Init' containment reference.CGVariable.getInit()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class CGValuedElementImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class CGValuedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class CGValuedElementImpl
public void eUnset(int featureID)
eUnset
in class CGValuedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class CGValuedElementImpl
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface CGValuedElement
getEcoreClassifier
in class CGValuedElementImpl
public CGInvalid getInvalidValue()
getInvalidValue
in interface CGValuedElement
getInvalidValue
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 CGValuedElement getSourceValue()
getSourceValue
in interface CGValuedElement
getSourceValue
in class CGValuedElementImpl
public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
getTypedValue
in class CGValuedElementImpl
public boolean isBoxed()
isBoxed
in interface CGValuedElement
isBoxed
in class CGValuedElementImpl
public boolean isCommonable()
isCommonable
in interface CGValuedElement
isCommonable
in class CGValuedElementImpl
public boolean isEcore()
isEcore
in interface CGValuedElement
isEcore
in class CGValuedElementImpl
public Boolean isEquivalentTo(CGValuedElement thatValue)
isEquivalentTo
in interface CGValuedElement
isEquivalentTo
in class CGValuedElementImpl
public Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal
in interface CGValuedElement
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
public void setNonInvalid()
setNonInvalid
in interface CGVariable
public void setNonNull()
setNonNull
in interface CGVariable
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.