Class NumberValueImpl
- 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.viatra.query.patternlanguage.emf.vql.impl.ExpressionImpl
-
- org.eclipse.viatra.query.patternlanguage.emf.vql.impl.ValueReferenceImpl
-
- org.eclipse.viatra.query.patternlanguage.emf.vql.impl.LiteralValueReferenceImpl
-
- org.eclipse.viatra.query.patternlanguage.emf.vql.impl.NumberValueImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,Expression
,LiteralValueReference
,NumberValue
,ValueReference
public class NumberValueImpl extends LiteralValueReferenceImpl implements NumberValue
An implementation of the model object 'Number Value'.The following features are implemented:
- Generated:
-
-
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
negative
The cached value of the 'Negative
' attribute.protected static boolean
NEGATIVE_EDEFAULT
The default value of the 'Negative
' attribute.protected org.eclipse.xtext.xbase.XNumberLiteral
value
The cached value of the 'Value
' containment reference.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumberValueImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetValue(org.eclipse.xtext.xbase.XNumberLiteral newValue, org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.xtext.xbase.XNumberLiteral
getValue()
boolean
isNegative()
void
setNegative(boolean newNegative)
void
setValue(org.eclipse.xtext.xbase.XNumberLiteral newValue)
java.lang.String
toString()
-
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, eInvocationDelegate, eInvoke, 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
-
-
-
-
Field Detail
-
value
protected org.eclipse.xtext.xbase.XNumberLiteral value
The cached value of the 'Value
' containment reference.- See Also:
getValue()
- Generated:
- Ordered:
-
NEGATIVE_EDEFAULT
protected static final boolean NEGATIVE_EDEFAULT
The default value of the 'Negative
' attribute.- See Also:
isNegative()
, Constant Field Values- Generated:
- Ordered:
-
negative
protected boolean negative
The cached value of the 'Negative
' attribute.- See Also:
isNegative()
- Generated:
- Ordered:
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classLiteralValueReferenceImpl
- Generated:
-
getValue
public org.eclipse.xtext.xbase.XNumberLiteral getValue()
- Specified by:
getValue
in interfaceNumberValue
- Returns:
- the value of the 'Value' containment reference.
- See Also:
NumberValue.setValue(XNumberLiteral)
,PatternLanguagePackage.getNumberValue_Value()
- Generated:
-
basicSetValue
public org.eclipse.emf.common.notify.NotificationChain basicSetValue(org.eclipse.xtext.xbase.XNumberLiteral newValue, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated:
-
setValue
public void setValue(org.eclipse.xtext.xbase.XNumberLiteral newValue)
- Specified by:
setValue
in interfaceNumberValue
- Parameters:
newValue
- the new value of the 'Value' containment reference.- See Also:
NumberValue.getValue()
- Generated:
-
isNegative
public boolean isNegative()
- Specified by:
isNegative
in interfaceNumberValue
- Returns:
- the value of the 'Negative' attribute.
- See Also:
NumberValue.setNegative(boolean)
,PatternLanguagePackage.getNumberValue_Negative()
- Generated:
-
setNegative
public void setNegative(boolean newNegative)
- Specified by:
setNegative
in interfaceNumberValue
- Parameters:
newNegative
- the new value of the 'Negative' attribute.- See Also:
NumberValue.isNegative()
- Generated:
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceExpression
- Specified by:
toString
in interfaceLiteralValueReference
- Specified by:
toString
in interfaceNumberValue
- Specified by:
toString
in interfaceValueReference
- Overrides:
toString
in classLiteralValueReferenceImpl
- Generated:
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Generated:
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Generated:
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Generated:
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Generated:
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Generated:
-
-