public class CGIfExpImpl extends CGValuedElementImpl implements CGIfExp
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.
|
NotificationChain |
basicSetCondition(CGValuedElement newCondition,
NotificationChain msgs) |
NotificationChain |
basicSetElseExpression(CGValuedElement newElseExpression,
NotificationChain msgs) |
NotificationChain |
basicSetThenExpression(CGValuedElement newThenExpression,
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) |
CGValuedElement |
getCondition() |
CGValuedElement |
getElseExpression() |
CGInvalid |
getInvalidValue()
Return a non-null invalid value if this value is invalid.
|
AbstractPlace |
getPlace(Map<CGElement,AbstractPlace> element2place)
Returns the place for this element, updating and reusing element2place as required.
|
CGValuedElement |
getThenExpression() |
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isEcore()
Return true if this value is an Ecore value.
|
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 |
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 |
isSettable()
Return true if this value can be inlined as an expression term.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
void |
setCondition(CGValuedElement newCondition) |
void |
setElseExpression(CGValuedElement newElseExpression) |
void |
setThenExpression(CGValuedElement newThenExpression) |
getDependsOn, getEcoreClassifier, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isCommonable, isConstant, isContext, isEquivalentTo, isFalse, isInlined, isInvalid, isTrue, isUncommonable, rewriteAs, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeId, toStringgetAst, getName, setAst, setNameeBasicSetContainer, getChildren, getParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependsOn, getEcoreClassifier, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isCaught, isCommonable, isConstant, isEquivalentTo, isFalse, isInlined, isInvalid, isTrue, isUncommonable, setCaught, setValueNamegetASTypeId, getTypeId, isRequired, setRequired, setTypeIdgetAst, getName, setAst, setNamegetChildren, getParent, isContext, rewriteAspublic CGValuedElement getCondition()
getCondition in interface CGIfExpCGIfExp.setCondition(CGValuedElement),
CGModelPackage.getCGIfExp_Condition()public NotificationChain basicSetCondition(CGValuedElement newCondition, NotificationChain msgs)
public void setCondition(CGValuedElement newCondition)
setCondition in interface CGIfExpnewCondition - the new value of the 'Condition' containment reference.CGIfExp.getCondition()public CGValuedElement getThenExpression()
getThenExpression in interface CGIfExpCGIfExp.setThenExpression(CGValuedElement),
CGModelPackage.getCGIfExp_ThenExpression()public NotificationChain basicSetThenExpression(CGValuedElement newThenExpression, NotificationChain msgs)
public void setThenExpression(CGValuedElement newThenExpression)
setThenExpression in interface CGIfExpnewThenExpression - the new value of the 'Then Expression' containment reference.CGIfExp.getThenExpression()public CGValuedElement getElseExpression()
getElseExpression in interface CGIfExpCGIfExp.setElseExpression(CGValuedElement),
CGModelPackage.getCGIfExp_ElseExpression()public NotificationChain basicSetElseExpression(CGValuedElement newElseExpression, NotificationChain msgs)
public void setElseExpression(CGValuedElement newElseExpression)
setElseExpression in interface CGIfExpnewElseExpression - the new value of the 'Else Expression' containment reference.CGIfExp.getElseExpression()public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class CGValuedElementImplpublic 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 CGInvalid getInvalidValue()
getInvalidValue in interface CGValuedElementgetInvalidValue in class CGValuedElementImplpublic AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
getPlace in interface CGElementgetPlace in class CGValuedElementImplpublic boolean isBoxed()
isBoxed in interface CGValuedElementisBoxed in class CGValuedElementImplpublic boolean isEcore()
isEcore in interface CGValuedElementisEcore in class CGValuedElementImplpublic Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal in interface CGValuedElementpublic boolean isGlobal()
isGlobal in interface CGValuedElementisGlobal 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 isSettable()
isSettable in interface CGValuedElementisSettable in class CGValuedElementImplpublic boolean isUnboxed()
isUnboxed in interface CGValuedElementisUnboxed in class CGValuedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.