public class NumberValueImpl extends LiteralValueReferenceImpl implements NumberValue
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamicorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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| Modifier and Type | Field and 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. |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET| Modifier | Constructor and Description |
|---|---|
protected |
NumberValueImpl() |
| Modifier and Type | Method and 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() |
eBasicSetContainer, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected org.eclipse.xtext.xbase.XNumberLiteral value
Value' containment reference.
getValue()protected static final boolean NEGATIVE_EDEFAULT
Negative' attribute.
isNegative(),
Constant Field Valuesprotected boolean negative
Negative' attribute.
isNegative()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class LiteralValueReferenceImplpublic org.eclipse.xtext.xbase.XNumberLiteral getValue()
getValue in interface NumberValueNumberValue.setValue(XNumberLiteral),
PatternLanguagePackage.getNumberValue_Value()public org.eclipse.emf.common.notify.NotificationChain basicSetValue(org.eclipse.xtext.xbase.XNumberLiteral newValue,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setValue(org.eclipse.xtext.xbase.XNumberLiteral newValue)
setValue in interface NumberValuenewValue - the new value of the 'Value' containment reference.NumberValue.getValue()public boolean isNegative()
isNegative in interface NumberValueNumberValue.setNegative(boolean),
PatternLanguagePackage.getNumberValue_Negative()public void setNegative(boolean newNegative)
setNegative in interface NumberValuenewNegative - the new value of the 'Negative' attribute.NumberValue.isNegative()public java.lang.String toString()
toString in interface ExpressiontoString in interface LiteralValueReferencetoString in interface NumberValuetoString in interface ValueReferencetoString in class LiteralValueReferenceImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl