|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.MinimalEObjectImpl org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container org.eclipse.ocl.examples.codegen.cgmodel.impl.CGElementImpl org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl org.eclipse.ocl.examples.codegen.cgmodel.impl.CGTypedElementImpl org.eclipse.ocl.examples.codegen.cgmodel.impl.CGValuedElementImpl
public abstract class CGValuedElementImpl
An implementation of the model object 'CG Valued Element'.
The following features are implemented:
Boxed
Caught
Constant
Depends On
False
Global
Inlineable
Invalid
Null
Non Invalid
Non Null
Referred Valued Element
Settable
True
Unboxed
Value
Value Name
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
---|
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
---|
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
protected static boolean |
BOXED_EDEFAULT
The default value of the ' Boxed ' attribute. |
protected boolean |
caught
The cached value of the ' Caught ' attribute. |
protected static boolean |
CAUGHT_EDEFAULT
The default value of the ' Caught ' attribute. |
protected static boolean |
CONSTANT_EDEFAULT
The default value of the ' Constant ' attribute. |
protected org.eclipse.emf.common.util.EList<CGValuedElement> |
dependsOn
The cached value of the ' Depends On ' reference list. |
protected static boolean |
FALSE_EDEFAULT
The default value of the ' False ' attribute. |
protected static boolean |
GLOBAL_EDEFAULT
The default value of the ' Global ' attribute. |
protected static boolean |
INLINEABLE_EDEFAULT
The default value of the ' Inlineable ' attribute. |
protected static boolean |
INVALID_EDEFAULT
The default value of the ' Invalid ' attribute. |
protected static boolean |
NON_INVALID_EDEFAULT
The default value of the ' Non Invalid ' attribute. |
protected static boolean |
NON_NULL_EDEFAULT
The default value of the ' Non Null ' attribute. |
protected static boolean |
NULL_EDEFAULT
The default value of the ' Null ' attribute. |
protected static boolean |
SETTABLE_EDEFAULT
The default value of the ' Settable ' attribute. |
protected static boolean |
TRUE_EDEFAULT
The default value of the ' True ' attribute. |
protected static boolean |
UNBOXED_EDEFAULT
The default value of the ' Unboxed ' attribute. |
protected static java.lang.String |
VALUE_NAME_EDEFAULT
The default value of the ' Value Name ' attribute. |
protected java.lang.String |
valueName
The cached value of the ' Value Name ' attribute. |
Fields inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGTypedElementImpl |
---|
PIVOT_TYPE_ID_EDEFAULT, required, REQUIRED_EDEFAULT, typeId |
Fields inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl |
---|
name, NAME_EDEFAULT, pivot, PIVOT_EDEFAULT |
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
---|
eContainer |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement |
---|
EMPTY_LIST |
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder |
---|
NIL |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
CGValuedElementImpl()
|
Method Summary | ||
---|---|---|
|
accept(CGModelVisitor<R> visitor)
|
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
|
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments)
|
|
boolean |
eIsSet(int featureID)
|
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
|
void |
eUnset(int featureID)
|
|
java.util.List<CGValuedElement> |
getDependsOn()
|
|
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()
|
|
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 newCaught)
|
|
void |
setNonInvalid()
|
|
void |
setNonNull()
|
|
void |
setValueName(java.lang.String newValueName)
|
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGTypedElementImpl |
---|
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId |
Methods inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGNamedElementImpl |
---|
getName, getPivot, setName, setPivot |
Methods inherited from class org.eclipse.ocl.examples.codegen.cgmodel.impl.CGElementImpl |
---|
getChildren, getParent |
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
---|
eBasicSetContainer, eInternalContainer |
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
---|
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
---|
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 |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected static final boolean BOXED_EDEFAULT
Boxed
' attribute.
isBoxed()
,
Constant Field Valuesprotected static final boolean CAUGHT_EDEFAULT
Caught
' attribute.
isCaught()
,
Constant Field Valuesprotected boolean caught
Caught
' attribute.
isCaught()
protected static final boolean CONSTANT_EDEFAULT
Constant
' attribute.
isConstant()
,
Constant Field Valuesprotected org.eclipse.emf.common.util.EList<CGValuedElement> dependsOn
Depends On
' reference list.
getDependsOn()
protected static final boolean FALSE_EDEFAULT
False
' attribute.
isFalse()
,
Constant Field Valuesprotected static final boolean GLOBAL_EDEFAULT
Global
' attribute.
isGlobal()
,
Constant Field Valuesprotected static final boolean INLINEABLE_EDEFAULT
Inlineable
' attribute.
isInlineable()
,
Constant Field Valuesprotected static final boolean INVALID_EDEFAULT
Invalid
' attribute.
isInvalid()
,
Constant Field Valuesprotected static final boolean NULL_EDEFAULT
Null
' attribute.
isNull()
,
Constant Field Valuesprotected static final boolean NON_INVALID_EDEFAULT
Non Invalid
' attribute.
isNonInvalid()
,
Constant Field Valuesprotected static final boolean NON_NULL_EDEFAULT
Non Null
' attribute.
isNonNull()
,
Constant Field Valuesprotected static final boolean SETTABLE_EDEFAULT
Settable
' attribute.
isSettable()
,
Constant Field Valuesprotected static final boolean TRUE_EDEFAULT
True
' attribute.
isTrue()
,
Constant Field Valuesprotected static final boolean UNBOXED_EDEFAULT
Unboxed
' attribute.
isUnboxed()
,
Constant Field Valuesprotected static final java.lang.String VALUE_NAME_EDEFAULT
Value Name
' attribute.
getValueName()
protected java.lang.String valueName
Value Name
' attribute.
getValueName()
Constructor Detail |
---|
protected CGValuedElementImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class CGTypedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class CGTypedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class CGTypedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class CGTypedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class CGTypedElementImpl
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
java.lang.reflect.InvocationTargetException
public void setValueName(java.lang.String newValueName)
setValueName
in interface CGValuedElement
newValueName
- the new value of the 'Value Name' attribute.CGValuedElement.getValueName()
@NonNull public java.util.List<CGValuedElement> getDependsOn()
getDependsOn
in interface CGValuedElement
CGModelPackage.getCGValuedElement_DependsOn()
public boolean isCaught()
isCaught
in interface CGValuedElement
CGValuedElement.setCaught(boolean)
,
CGModelPackage.getCGValuedElement_Caught()
public void setCaught(boolean newCaught)
setCaught
in interface CGValuedElement
newCaught
- the new value of the 'Caught' attribute.CGValuedElement.isCaught()
public <R> R accept(@NonNull CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGTypedElementImpl
@NonNull public CGValuedElement getReferredValuedElement()
CGValuedElement
getReferredValuedElement
in interface CGValuedElement
CGModelPackage.getCGValuedElement_ReferredValuedElement()
@NonNull public CGValuedElement getValue()
CGValuedElement
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.
getValue
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Value()
public java.lang.String getValueName()
CGValuedElement
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.
getValueName
in interface CGValuedElement
CGValuedElement.setValueName(String)
,
CGModelPackage.getCGValuedElement_ValueName()
public boolean isBoxed()
CGValuedElement
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.
isBoxed
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Boxed()
public boolean isConstant()
isConstant
in interface CGValuedElement
public boolean isFalse()
CGValuedElement
"false"
.
Whether this element is constant and represents the false value (and nothing else).
isFalse
in interface CGValuedElement
CGModelPackage.getCGValuedElement_False()
public boolean isGlobal()
CGValuedElement
"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.
isGlobal
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Global()
public boolean isInlineable()
CGValuedElement
"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).
isInlineable
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Inlineable()
public boolean isInvalid()
CGValuedElement
"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).
isInvalid
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Invalid()
public boolean isNonInvalid()
CGValuedElement
"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.
isNonInvalid
in interface CGValuedElement
CGModelPackage.getCGValuedElement_NonInvalid()
public boolean isNonNull()
CGValuedElement
"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.
isNonNull
in interface CGValuedElement
CGModelPackage.getCGValuedElement_NonNull()
public boolean isNull()
CGValuedElement
"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).
isNull
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Null()
public boolean isSettable()
CGValuedElement
"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).
isSettable
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Settable()
public boolean isTrue()
CGValuedElement
"false"
.
Whether this element is constant and represents the true value (and nothing else).
isTrue
in interface CGValuedElement
CGModelPackage.getCGValuedElement_True()
public boolean isUnboxed()
CGValuedElement
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.
isUnboxed
in interface CGValuedElement
CGModelPackage.getCGValuedElement_Unboxed()
public void setNonInvalid()
CGValuedElement
setNonInvalid
in interface CGValuedElement
public void setNonNull()
CGValuedElement
setNonNull
in interface CGValuedElement
public java.lang.String toString()
toString
in class CGTypedElementImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |