|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CGValuedElement
A representation of the model object 'CG Valued Element'.
The following features are supported:
CGModelPackage.getCGValuedElement()
Method Summary | |
---|---|
java.util.List<CGValuedElement> |
getDependsOn()
Returns the value of the 'Depends On' reference list. |
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. |
java.util.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. |
java.lang.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). |
java.lang.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. |
java.lang.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(java.lang.String valueName)
Set the name of the value. |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement |
---|
getASTypeId, getTypeId, isRequired, setRequired, setTypeId |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement |
---|
getAst, getName, setAst, setName |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement |
---|
accept, getChildren, getParent, getPlace, isContext, rewriteAs |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
java.util.List<CGValuedElement> getDependsOn()
CGValuedElement
.
The elements that must be declared before this element.
CGModelPackage.getCGValuedElement_DependsOn()
java.util.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()
@Nullable CGInvalid getInvalidValue()
@NonNull CGValuedElement getNamedValue()
@NonNull CGValuedElement getReferredValue()
@NonNull CGValuedElement getSourceValue()
@NonNull CGValuedElement getThisValue()
@NonNull CGValuedElement getTypedValue()
@Nullable java.lang.String getValueName()
boolean isAssertedNonNull()
boolean isBoxed()
boolean isCaught()
boolean isCommonable()
boolean isConstant()
@Nullable java.lang.Boolean isEquivalentTo(@NonNull CGValuedElement thatValue)
@Nullable java.lang.Boolean isEquivalentToInternal(@NonNull 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(@NonNull java.lang.String valueName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |