public class NumericParameterTypeImpl extends ConstantParameterImpl implements NumericParameterType
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected static String |
CURRENCY_UNIT_EDEFAULT
The default value of the '
Currency Unit ' attribute |
protected String |
currencyUnit
The cached value of the '
Currency Unit ' attribute |
protected static TimeUnit |
TIME_UNIT_EDEFAULT
The default value of the '
Time Unit ' attribute |
protected TimeUnit |
timeUnit
The cached value of the '
Time Unit ' attribute |
protected boolean |
timeUnitESet
This is true if the Time Unit attribute has been set
|
protected long |
value
The cached value of the '
Value ' attribute |
protected static long |
VALUE_EDEFAULT
The default value of the '
Value ' attribute |
protected boolean |
valueESet
This is true if the Value attribute has been set
|
instance, INSTANCE_EDEFAULT, result, RESULT_EDEFAULT, resultESet, VALID_FOR_EDEFAULT, validFor
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
NumericParameterTypeImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
String |
getCurrencyUnit() |
TimeUnit |
getTimeUnit() |
long |
getValue() |
boolean |
isSetTimeUnit() |
boolean |
isSetValue() |
void |
setCurrencyUnit(String newCurrencyUnit) |
void |
setTimeUnit(TimeUnit newTimeUnit) |
void |
setValue(long newValue) |
String |
toString() |
void |
unsetTimeUnit() |
void |
unsetValue() |
getInstance, getResult, getValidFor, isSetResult, setInstance, setResult, setValidFor, unsetResult
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInstance, getResult, getValidFor, isSetResult, setInstance, setResult, setValidFor, unsetResult
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final String CURRENCY_UNIT_EDEFAULT
Currency Unit
' attribute.
getCurrencyUnit()
protected String currencyUnit
Currency Unit
' attribute.
getCurrencyUnit()
protected static final TimeUnit TIME_UNIT_EDEFAULT
Time Unit
' attribute.
getTimeUnit()
protected TimeUnit timeUnit
Time Unit
' attribute.
getTimeUnit()
protected boolean timeUnitESet
protected static final long VALUE_EDEFAULT
Value
' attribute.
getValue()
,
Constant Field Valuesprotected long value
Value
' attribute.
getValue()
protected boolean valueESet
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ConstantParameterImpl
public String getCurrencyUnit()
getCurrencyUnit
in interface NumericParameterType
NumericParameterType.setCurrencyUnit(String)
,
BpsimPackage.getNumericParameterType_CurrencyUnit()
public void setCurrencyUnit(String newCurrencyUnit)
setCurrencyUnit
in interface NumericParameterType
newCurrencyUnit
- the new value of the 'Currency Unit' attribute.NumericParameterType.getCurrencyUnit()
public TimeUnit getTimeUnit()
getTimeUnit
in interface NumericParameterType
TimeUnit
,
NumericParameterType.isSetTimeUnit()
,
NumericParameterType.unsetTimeUnit()
,
NumericParameterType.setTimeUnit(TimeUnit)
,
BpsimPackage.getNumericParameterType_TimeUnit()
public void setTimeUnit(TimeUnit newTimeUnit)
setTimeUnit
in interface NumericParameterType
newTimeUnit
- the new value of the 'Time Unit' attribute.TimeUnit
,
NumericParameterType.isSetTimeUnit()
,
NumericParameterType.unsetTimeUnit()
,
NumericParameterType.getTimeUnit()
public void unsetTimeUnit()
unsetTimeUnit
in interface NumericParameterType
NumericParameterType.isSetTimeUnit()
,
NumericParameterType.getTimeUnit()
,
NumericParameterType.setTimeUnit(TimeUnit)
public boolean isSetTimeUnit()
isSetTimeUnit
in interface NumericParameterType
NumericParameterType.unsetTimeUnit()
,
NumericParameterType.getTimeUnit()
,
NumericParameterType.setTimeUnit(TimeUnit)
public long getValue()
getValue
in interface NumericParameterType
NumericParameterType.isSetValue()
,
NumericParameterType.unsetValue()
,
NumericParameterType.setValue(long)
,
BpsimPackage.getNumericParameterType_Value()
public void setValue(long newValue)
setValue
in interface NumericParameterType
newValue
- the new value of the 'Value' attribute.NumericParameterType.isSetValue()
,
NumericParameterType.unsetValue()
,
NumericParameterType.getValue()
public void unsetValue()
unsetValue
in interface NumericParameterType
NumericParameterType.isSetValue()
,
NumericParameterType.getValue()
,
NumericParameterType.setValue(long)
public boolean isSetValue()
isSetValue
in interface NumericParameterType
NumericParameterType.unsetValue()
,
NumericParameterType.getValue()
,
NumericParameterType.setValue(long)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ParameterValueImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ParameterValueImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ParameterValueImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ParameterValueImpl
public String toString()
toString
in class ParameterValueImpl
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.