public interface CGValuedElement extends CGTypedElement
The following features are supported:
CGModelPackage.getCGValuedElement()
Modifier and Type | Method and Description |
---|---|
List<CGValuedElement> |
getDependsOn()
Returns the value of the 'Depends On' reference list.
|
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.
|
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
List<CGValuedElement> |
getOwns()
Returns the value of the 'Owns' containment reference list.
|
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 |
getThisValue()
Return a simpler CGValuedElement that is fully equivalent to 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 |
isAssertedNonNull()
Return true if this value is not null, possibly with the aid of an assertion.
|
boolean |
isBoxed()
Return true if this value is a boxed value.
|
boolean |
isCaught()
Returns true if any exception associated with this value has been caught and consequently the value may be an InvalidValueException.
|
boolean |
isCommonable()
Return true if this value can be shared as part of a Common Subexpression.
|
boolean |
isConstant()
Return true if this value is a local constant (dependent of the user type system).
|
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 |
isFalse()
Return true if this value is false.
|
boolean |
isGlobal()
Return true if this value is a global constant (independent of the user type system).
|
boolean |
isInlined()
Return true if this value is inlined and so has no local or global declaration.
|
boolean |
isInvalid()
Return true if this value is false.
|
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 |
isTrue()
Return true if this value is true.
|
boolean |
isUnboxed()
Return true if this value is an unboxed value.
|
boolean |
isUncommonable()
Return true if this value does not have to be shared as part of a Common Subexpression.
|
void |
setCaught(boolean isCaught)
Set the caught status.
|
void |
setValueName(String valueName)
Set the name of the value.
|
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
List<CGValuedElement> getDependsOn()
CGValuedElement
.
The elements that must be declared before this element.
CGModelPackage.getCGValuedElement_DependsOn()
List<CGValuedElement> getOwns()
CGValuedElement
.
If the meaning of the 'Owns' containment reference list isn't clear, there really should be more of a description here...
CGModelPackage.getCGValuedElement_Owns()
EClassifier getEcoreClassifier()
CGInvalid getInvalidValue()
CGValuedElement getNamedValue()
CGValuedElement getReferredValue()
CGValuedElement getSourceValue()
CGValuedElement getThisValue()
CGValuedElement getTypedValue()
String getValueName()
boolean isAssertedNonNull()
boolean isBoxed()
boolean isCaught()
boolean isCommonable()
boolean isConstant()
boolean isEcore()
Boolean isEquivalentTo(CGValuedElement thatValue)
Boolean isEquivalentToInternal(CGValuedElement thatValue)
boolean isFalse()
boolean isGlobal()
boolean isInlined()
boolean isInvalid()
boolean isNonInvalid()
boolean isNonNull()
boolean isNull()
boolean isSettable()
boolean isTrue()
boolean isUnboxed()
boolean isUncommonable()
void setCaught(boolean isCaught)
void setValueName(String valueName)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.