|
||||||||||
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:
Boxed
Caught
Constant
Depends On
False
Global
Inlineable
Invalid
Null
Non Invalid
Non Null
Referred Valued Element
Settable
True
Unboxed
Value
Value Name
CGModelPackage.getCGValuedElement()
Field Summary |
---|
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement |
---|
EMPTY_LIST |
Method Summary | |
---|---|
java.util.List<CGValuedElement> |
getDependsOn()
Returns the value of the 'Depends On' reference list. |
CGValuedElement |
getReferredValuedElement()
Returns the value of the 'Referred Valued Element' reference. |
CGValuedElement |
getValue()
Returns the value of the 'Value' reference. |
java.lang.String |
getValueName()
Returns the value of the 'Value Name' attribute. |
boolean |
isBoxed()
Returns the value of the 'Boxed' attribute. |
boolean |
isCaught()
Returns the value of the 'Caught' attribute. |
boolean |
isConstant()
|
boolean |
isFalse()
Returns the value of the 'False' attribute. |
boolean |
isGlobal()
Returns the value of the 'Global' attribute. |
boolean |
isInlineable()
Returns the value of the 'Inlineable' attribute. |
boolean |
isInvalid()
Returns the value of the 'Invalid' attribute. |
boolean |
isNonInvalid()
Returns the value of the 'Non Invalid' attribute. |
boolean |
isNonNull()
Returns the value of the 'Non Null' attribute. |
boolean |
isNull()
Returns the value of the 'Null' attribute. |
boolean |
isSettable()
Returns the value of the 'Settable' attribute. |
boolean |
isTrue()
Returns the value of the 'True' attribute. |
boolean |
isUnboxed()
Returns the value of the 'Unboxed' attribute. |
void |
setCaught(boolean value)
Sets the value of the ' Caught ' attribute. |
void |
setNonInvalid()
|
void |
setNonNull()
|
void |
setValueName(java.lang.String value)
Sets the value of the ' Value Name ' attribute. |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement |
---|
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement |
---|
getName, getPivot, setName, setPivot |
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement |
---|
accept, getChildren, getParent |
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 |
---|
boolean isBoxed()
If the meaning of the 'Boxed' attribute isn't clear, there really should be more of a description here...
Whether this element is represented using boxed values.
CGModelPackage.getCGValuedElement_Boxed()
boolean isCaught()
setCaught(boolean)
,
CGModelPackage.getCGValuedElement_Caught()
void setCaught(boolean value)
Caught
' attribute.
value
- the new value of the 'Caught' attribute.isCaught()
boolean isInlineable()
"false"
.
If the meaning of the 'Inlineable' attribute isn't clear, there really should be more of a description here...
Whether this element is a constant that can be evaluated inline and so needs no declaration (e.g. null, true).
CGModelPackage.getCGValuedElement_Inlineable()
boolean isInvalid()
"false"
.
If the meaning of the 'Invalid' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents an invalid value (and nothing else).
CGModelPackage.getCGValuedElement_Invalid()
boolean isNull()
"false"
.
If the meaning of the 'Null' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents the null value (and nothing else).
CGModelPackage.getCGValuedElement_Null()
boolean isFalse()
"false"
.
Whether this element is constant and represents the false value (and nothing else).
CGModelPackage.getCGValuedElement_False()
boolean isGlobal()
"false"
.
If the meaning of the 'Global' attribute isn't clear, there really should be more of a description here...
Whether this element is global (and constant). Global values may be statically computed and shared.
CGModelPackage.getCGValuedElement_Global()
boolean isNonInvalid()
"false"
.
If the meaning of the 'Non Invalid' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents something other than an invalid value.
CGModelPackage.getCGValuedElement_NonInvalid()
boolean isNonNull()
"false"
.
If the meaning of the 'Non Null' attribute isn't clear, there really should be more of a description here...
Whether this element is constant and represents something other than the null value.
CGModelPackage.getCGValuedElement_NonNull()
CGValuedElement getReferredValuedElement()
CGModelPackage.getCGValuedElement_ReferredValuedElement()
boolean isSettable()
"false"
.
If the meaning of the 'Settable' attribute isn't clear, there really should be more of a description here...
Whether this element is subject to assignment from multiple sources. (e.g the then/else value of an if).
CGModelPackage.getCGValuedElement_Settable()
boolean isTrue()
"false"
.
Whether this element is constant and represents the true value (and nothing else).
CGModelPackage.getCGValuedElement_True()
@NonNull CGValuedElement getValue()
If the meaning of the 'Value' reference isn't clear, there really should be more of a description here...
The first valued element along the referredValuedElement daisy chain that has a reified value with a name. e.g. A CGCatchExp defines a variable which is what is referenced, but its underlying type is available by following the referredValuedElement daisy chain to its end.
CGModelPackage.getCGValuedElement_Value()
java.lang.String getValueName()
If the meaning of the 'Value Name' attribute isn't clear, there really should be more of a description here...
The declared name value of this element. The text is valid for use in the target language and unique within the context in which this element is declared.
setValueName(String)
,
CGModelPackage.getCGValuedElement_ValueName()
void setValueName(java.lang.String value)
Value Name
' attribute.
value
- the new value of the 'Value Name' attribute.getValueName()
boolean isUnboxed()
If the meaning of the 'Unboxed' attribute isn't clear, there really should be more of a description here...
Whether this element is represented using unboxed values.
CGModelPackage.getCGValuedElement_Unboxed()
void setNonInvalid()
void setNonNull()
boolean isConstant()
@NonNull java.util.List<CGValuedElement> getDependsOn()
CGValuedElement
.
If the meaning of the 'Depends On' reference list isn't clear, there really should be more of a description here...
The elements that must be declared before this element.
CGModelPackage.getCGValuedElement_DependsOn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |