public class PassiveResourceImpl extends EObjectImpl implements PassiveResource
The following features are implemented:
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id
The cached value of the '
Id ' attribute. |
protected static java.lang.String |
ID_EDEFAULT
The default value of the '
Id ' attribute. |
protected static double |
INITIAL_RESOURCE_COUNT_EDEFAULT
The default value of the '
Initial Resource Count '
attribute. |
protected double |
initialResourceCount
The cached value of the '
Initial Resource Count '
attribute. |
protected static double |
RESOURCES_AVAILABLE_EDEFAULT
The default value of the '
Resources Available '
attribute. |
protected EList<WaitForAcquire> |
waitingProcesses
The cached value of the '
Waiting Processes ' reference
list. |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
PassiveResourceImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getId() |
double |
getInitialResourceCount() |
double |
getResourcesAvailable() |
EList<WaitForAcquire> |
getWaitingProcesses() |
void |
setId(java.lang.String newId) |
void |
setInitialResourceCount(double newInitialResourceCount) |
void |
setResourcesAvailable(double newResourcesAvailable) |
java.lang.String |
toString() |
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, 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
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected EList<WaitForAcquire> waitingProcesses
Waiting Processes
' reference
list. getWaitingProcesses()
protected static final double INITIAL_RESOURCE_COUNT_EDEFAULT
Initial Resource Count
'
attribute. getInitialResourceCount()
,
Constant Field Valuesprotected double initialResourceCount
Initial Resource Count
'
attribute. getInitialResourceCount()
protected static final double RESOURCES_AVAILABLE_EDEFAULT
Resources Available
'
attribute. getResourcesAvailable()
,
Constant Field Valuesprotected static final java.lang.String ID_EDEFAULT
Id
' attribute.
getId()
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public EList<WaitForAcquire> getWaitingProcesses()
getWaitingProcesses
in interface PassiveResource
SimucomstatusPackage.getPassiveResource_WaitingProcesses()
,
WaitForAcquire.getResource()
public double getInitialResourceCount()
getInitialResourceCount
in interface PassiveResource
PassiveResource.setInitialResourceCount(double)
,
SimucomstatusPackage.getPassiveResource_InitialResourceCount()
public void setInitialResourceCount(double newInitialResourceCount)
setInitialResourceCount
in interface PassiveResource
newInitialResourceCount
- the new value of the 'Initial Resource Count' attribute.PassiveResource.getInitialResourceCount()
public double getResourcesAvailable()
getResourcesAvailable
in interface PassiveResource
PassiveResource.setResourcesAvailable(double)
,
SimucomstatusPackage.getPassiveResource_ResourcesAvailable()
public void setResourcesAvailable(double newResourcesAvailable)
setResourcesAvailable
in interface PassiveResource
newResourcesAvailable
- the new value of the 'Resources Available' attribute.PassiveResource.getResourcesAvailable()
public java.lang.String getId()
getId
in interface PassiveResource
PassiveResource.setId(String)
,
SimucomstatusPackage.getPassiveResource_Id()
public void setId(java.lang.String newId)
setId
in interface PassiveResource
newId
- the new value of the 'Id' attribute.PassiveResource.getId()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl