Package bpsim.impl
Class ScenarioParametersImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- bpsim.impl.ScenarioParametersImpl
-
- All Implemented Interfaces:
ScenarioParameters,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
ScenarioParametersTypeImpl
public class ScenarioParametersImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements ScenarioParameters
An implementation of the model object 'Scenario Parameters'.The following features are implemented:
- Generated code
-
-
Nested Class Summary
-
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringBASE_CURRENCY_UNIT_EDEFAULTThe default value of the 'Base Currency Unit' attribute.protected static TimeUnitBASE_TIME_UNIT_EDEFAULTThe default value of the 'Base Time Unit' attribute.protected StringbaseCurrencyUnitThe cached value of the 'Base Currency Unit' attribute.protected TimeUnitbaseTimeUnitThe cached value of the 'Base Time Unit' attribute.protected booleanbaseTimeUnitESetThis is true if the Base Time Unit attribute has been set.protected ParameterdurationThe cached value of the 'Duration' containment reference.protected PropertyParameterspropertyParametersThe cached value of the 'Property Parameters' containment reference.protected intreplicationThe cached value of the 'Replication' attribute.protected static intREPLICATION_EDEFAULTThe default value of the 'Replication' attribute.protected booleanreplicationESetThis is true if the Replication attribute has been set.protected longseedThe cached value of the 'Seed' attribute.protected static longSEED_EDEFAULTThe default value of the 'Seed' attribute.protected booleanseedESetThis is true if the Seed attribute has been set.protected ParameterstartThe cached value of the 'Start' containment reference.-
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedScenarioParametersImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetDuration(Parameter newDuration, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetPropertyParameters(PropertyParameters newPropertyParameters, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetStart(Parameter newStart, org.eclipse.emf.common.notify.NotificationChain msgs)ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)StringgetBaseCurrencyUnit()TimeUnitgetBaseTimeUnit()ParametergetDuration()PropertyParametersgetPropertyParameters()intgetReplication()longgetSeed()ParametergetStart()booleanisSetBaseTimeUnit()booleanisSetReplication()booleanisSetSeed()voidsetBaseCurrencyUnit(String newBaseCurrencyUnit)voidsetBaseTimeUnit(TimeUnit newBaseTimeUnit)voidsetDuration(Parameter newDuration)voidsetPropertyParameters(PropertyParameters newPropertyParameters)voidsetReplication(int newReplication)voidsetSeed(long newSeed)voidsetStart(Parameter newStart)StringtoString()voidunsetBaseTimeUnit()voidunsetReplication()voidunsetSeed()-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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, 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
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
start
protected Parameter start
The cached value of the 'Start' containment reference.- See Also:
getStart()- Generated code
- Ordered
-
duration
protected Parameter duration
The cached value of the 'Duration' containment reference.- See Also:
getDuration()- Generated code
- Ordered
-
propertyParameters
protected PropertyParameters propertyParameters
The cached value of the 'Property Parameters' containment reference.- See Also:
getPropertyParameters()- Generated code
- Ordered
-
BASE_CURRENCY_UNIT_EDEFAULT
protected static final String BASE_CURRENCY_UNIT_EDEFAULT
The default value of the 'Base Currency Unit' attribute.- See Also:
getBaseCurrencyUnit()- Generated code
- Ordered
-
baseCurrencyUnit
protected String baseCurrencyUnit
The cached value of the 'Base Currency Unit' attribute.- See Also:
getBaseCurrencyUnit()- Generated code
- Ordered
-
BASE_TIME_UNIT_EDEFAULT
protected static final TimeUnit BASE_TIME_UNIT_EDEFAULT
The default value of the 'Base Time Unit' attribute.- See Also:
getBaseTimeUnit()- Generated code
- Ordered
-
baseTimeUnit
protected TimeUnit baseTimeUnit
The cached value of the 'Base Time Unit' attribute.- See Also:
getBaseTimeUnit()- Generated code
- Ordered
-
baseTimeUnitESet
protected boolean baseTimeUnitESet
This is true if the Base Time Unit attribute has been set.- Generated code
- Ordered
-
REPLICATION_EDEFAULT
protected static final int REPLICATION_EDEFAULT
The default value of the 'Replication' attribute.- See Also:
getReplication(), Constant Field Values- Generated code
- Ordered
-
replication
protected int replication
The cached value of the 'Replication' attribute.- See Also:
getReplication()- Generated code
- Ordered
-
replicationESet
protected boolean replicationESet
This is true if the Replication attribute has been set.- Generated code
- Ordered
-
SEED_EDEFAULT
protected static final long SEED_EDEFAULT
The default value of the 'Seed' attribute.- See Also:
getSeed(), Constant Field Values- Generated code
- Ordered
-
seed
protected long seed
The cached value of the 'Seed' attribute.- See Also:
getSeed()- Generated code
- Ordered
-
seedESet
protected boolean seedESet
This is true if the Seed attribute has been set.- Generated code
- Ordered
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.EObjectImpl- Generated code
-
getStart
public Parameter getStart()
- Specified by:
getStartin interfaceScenarioParameters- Returns:
- the value of the 'Start' containment reference.
- See Also:
ScenarioParameters.setStart(Parameter),BpsimPackage.getScenarioParameters_Start()- Generated code
-
basicSetStart
public org.eclipse.emf.common.notify.NotificationChain basicSetStart(Parameter newStart, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated code
-
setStart
public void setStart(Parameter newStart)
- Specified by:
setStartin interfaceScenarioParameters- Parameters:
newStart- the new value of the 'Start' containment reference.- See Also:
ScenarioParameters.getStart()- Generated code
-
getDuration
public Parameter getDuration()
- Specified by:
getDurationin interfaceScenarioParameters- Returns:
- the value of the 'Duration' containment reference.
- See Also:
ScenarioParameters.setDuration(Parameter),BpsimPackage.getScenarioParameters_Duration()- Generated code
-
basicSetDuration
public org.eclipse.emf.common.notify.NotificationChain basicSetDuration(Parameter newDuration, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated code
-
setDuration
public void setDuration(Parameter newDuration)
- Specified by:
setDurationin interfaceScenarioParameters- Parameters:
newDuration- the new value of the 'Duration' containment reference.- See Also:
ScenarioParameters.getDuration()- Generated code
-
getPropertyParameters
public PropertyParameters getPropertyParameters()
- Specified by:
getPropertyParametersin interfaceScenarioParameters- Returns:
- the value of the 'Property Parameters' containment reference.
- See Also:
ScenarioParameters.setPropertyParameters(PropertyParameters),BpsimPackage.getScenarioParameters_PropertyParameters()- Generated code
-
basicSetPropertyParameters
public org.eclipse.emf.common.notify.NotificationChain basicSetPropertyParameters(PropertyParameters newPropertyParameters, org.eclipse.emf.common.notify.NotificationChain msgs)
- Generated code
-
setPropertyParameters
public void setPropertyParameters(PropertyParameters newPropertyParameters)
- Specified by:
setPropertyParametersin interfaceScenarioParameters- Parameters:
newPropertyParameters- the new value of the 'Property Parameters' containment reference.- See Also:
ScenarioParameters.getPropertyParameters()- Generated code
-
getBaseCurrencyUnit
public String getBaseCurrencyUnit()
- Specified by:
getBaseCurrencyUnitin interfaceScenarioParameters- Returns:
- the value of the 'Base Currency Unit' attribute.
- See Also:
ScenarioParameters.setBaseCurrencyUnit(String),BpsimPackage.getScenarioParameters_BaseCurrencyUnit()- Generated code
-
setBaseCurrencyUnit
public void setBaseCurrencyUnit(String newBaseCurrencyUnit)
- Specified by:
setBaseCurrencyUnitin interfaceScenarioParameters- Parameters:
newBaseCurrencyUnit- the new value of the 'Base Currency Unit' attribute.- See Also:
ScenarioParameters.getBaseCurrencyUnit()- Generated code
-
getBaseTimeUnit
public TimeUnit getBaseTimeUnit()
- Specified by:
getBaseTimeUnitin interfaceScenarioParameters- Returns:
- the value of the 'Base Time Unit' attribute.
- See Also:
TimeUnit,ScenarioParameters.isSetBaseTimeUnit(),ScenarioParameters.unsetBaseTimeUnit(),ScenarioParameters.setBaseTimeUnit(TimeUnit),BpsimPackage.getScenarioParameters_BaseTimeUnit()- Generated code
-
setBaseTimeUnit
public void setBaseTimeUnit(TimeUnit newBaseTimeUnit)
- Specified by:
setBaseTimeUnitin interfaceScenarioParameters- Parameters:
newBaseTimeUnit- the new value of the 'Base Time Unit' attribute.- See Also:
TimeUnit,ScenarioParameters.isSetBaseTimeUnit(),ScenarioParameters.unsetBaseTimeUnit(),ScenarioParameters.getBaseTimeUnit()- Generated code
-
unsetBaseTimeUnit
public void unsetBaseTimeUnit()
- Specified by:
unsetBaseTimeUnitin interfaceScenarioParameters- See Also:
ScenarioParameters.isSetBaseTimeUnit(),ScenarioParameters.getBaseTimeUnit(),ScenarioParameters.setBaseTimeUnit(TimeUnit)- Generated code
-
isSetBaseTimeUnit
public boolean isSetBaseTimeUnit()
- Specified by:
isSetBaseTimeUnitin interfaceScenarioParameters- Returns:
- whether the value of the 'Base Time Unit' attribute is set.
- See Also:
ScenarioParameters.unsetBaseTimeUnit(),ScenarioParameters.getBaseTimeUnit(),ScenarioParameters.setBaseTimeUnit(TimeUnit)- Generated code
-
getReplication
public int getReplication()
- Specified by:
getReplicationin interfaceScenarioParameters- Returns:
- the value of the 'Replication' attribute.
- See Also:
ScenarioParameters.isSetReplication(),ScenarioParameters.unsetReplication(),ScenarioParameters.setReplication(int),BpsimPackage.getScenarioParameters_Replication()- Generated code
-
setReplication
public void setReplication(int newReplication)
- Specified by:
setReplicationin interfaceScenarioParameters- Parameters:
newReplication- the new value of the 'Replication' attribute.- See Also:
ScenarioParameters.isSetReplication(),ScenarioParameters.unsetReplication(),ScenarioParameters.getReplication()- Generated code
-
unsetReplication
public void unsetReplication()
- Specified by:
unsetReplicationin interfaceScenarioParameters- See Also:
ScenarioParameters.isSetReplication(),ScenarioParameters.getReplication(),ScenarioParameters.setReplication(int)- Generated code
-
isSetReplication
public boolean isSetReplication()
- Specified by:
isSetReplicationin interfaceScenarioParameters- Returns:
- whether the value of the 'Replication' attribute is set.
- See Also:
ScenarioParameters.unsetReplication(),ScenarioParameters.getReplication(),ScenarioParameters.setReplication(int)- Generated code
-
getSeed
public long getSeed()
- Specified by:
getSeedin interfaceScenarioParameters- Returns:
- the value of the 'Seed' attribute.
- See Also:
ScenarioParameters.isSetSeed(),ScenarioParameters.unsetSeed(),ScenarioParameters.setSeed(long),BpsimPackage.getScenarioParameters_Seed()- Generated code
-
setSeed
public void setSeed(long newSeed)
- Specified by:
setSeedin interfaceScenarioParameters- Parameters:
newSeed- the new value of the 'Seed' attribute.- See Also:
ScenarioParameters.isSetSeed(),ScenarioParameters.unsetSeed(),ScenarioParameters.getSeed()- Generated code
-
unsetSeed
public void unsetSeed()
- Specified by:
unsetSeedin interfaceScenarioParameters- See Also:
ScenarioParameters.isSetSeed(),ScenarioParameters.getSeed(),ScenarioParameters.setSeed(long)- Generated code
-
isSetSeed
public boolean isSetSeed()
- Specified by:
isSetSeedin interfaceScenarioParameters- Returns:
- whether the value of the 'Seed' attribute is set.
- See Also:
ScenarioParameters.unsetSeed(),ScenarioParameters.getSeed(),ScenarioParameters.setSeed(long)- Generated code
-
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:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated code
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated code
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated code
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated code
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated code
-
toString
public String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Generated code
-
-