Package scheduler.configuration.impl
Class PassiveResourceConfigurationImpl
- 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.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- de.uka.ipd.sdq.identifier.impl.IdentifierImpl
-
- scheduler.configuration.impl.PassiveResourceConfigurationImpl
-
- All Implemented Interfaces:
de.uka.ipd.sdq.identifier.Identifier
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.eclipse.emf.cdo.common.model.CDOPackageTypeRegistry.CDOObjectMarker
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,org.eclipse.emf.spi.cdo.InternalCDOLoadable
,org.eclipse.emf.spi.cdo.InternalCDOObject
,PassiveResourceConfiguration
public class PassiveResourceConfigurationImpl extends de.uka.ipd.sdq.identifier.impl.IdentifierImpl implements PassiveResourceConfiguration
An implementation of the model object 'Passive Resource Configuration'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected static double
ACQUISITION_DEMAND_EDEFAULT
The default value of the 'Acquisition Demand
' attribute.protected double
acquisitionDemand
The cached value of the 'Acquisition Demand
' attribute.protected int
capacity
The cached value of the 'Capacity
' attribute.protected static int
CAPACITY_EDEFAULT
The default value of the 'Capacity
' attribute.protected ActiveResourceConfiguration
managingResource
The cached value of the 'Managing Resource
' reference.protected String
name
The cached value of the 'Name
' attribute.protected static String
NAME_EDEFAULT
The default value of the 'Name
' attribute.protected StaticPriorityBoost
staticPriorityBoostConfiguration
The cached value of the 'Static Priority Boost Configuration
' containment reference.protected PassiveResourceType
type
The cached value of the 'Type
' attribute.protected static PassiveResourceType
TYPE_EDEFAULT
The default value of the 'Type
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PassiveResourceConfigurationImpl()
-
Method Summary
-
Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
eStaticFeatureCount, getId, setId
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
staticPriorityBoostConfiguration
protected StaticPriorityBoost staticPriorityBoostConfiguration
The cached value of the 'Static Priority Boost Configuration
' containment reference.- See Also:
getStaticPriorityBoostConfiguration()
- Generated class or method.
- Ordered collection.
-
CAPACITY_EDEFAULT
protected static final int CAPACITY_EDEFAULT
The default value of the 'Capacity
' attribute.- See Also:
getCapacity()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
capacity
protected int capacity
The cached value of the 'Capacity
' attribute.- See Also:
getCapacity()
- Generated class or method.
- Ordered collection.
-
TYPE_EDEFAULT
protected static final PassiveResourceType TYPE_EDEFAULT
The default value of the 'Type
' attribute.- See Also:
getType()
- Generated class or method.
- Ordered collection.
-
type
protected PassiveResourceType type
The cached value of the 'Type
' attribute.- See Also:
getType()
- Generated class or method.
- Ordered collection.
-
NAME_EDEFAULT
protected static final String NAME_EDEFAULT
The default value of the 'Name
' attribute.- See Also:
getName()
- Generated class or method.
- Ordered collection.
-
name
protected String name
The cached value of the 'Name
' attribute.- See Also:
getName()
- Generated class or method.
- Ordered collection.
-
managingResource
protected ActiveResourceConfiguration managingResource
The cached value of the 'Managing Resource
' reference.- See Also:
getManagingResource()
- Generated class or method.
- Ordered collection.
-
ACQUISITION_DEMAND_EDEFAULT
protected static final double ACQUISITION_DEMAND_EDEFAULT
The default value of the 'Acquisition Demand
' attribute.- See Also:
getAcquisitionDemand()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
acquisitionDemand
protected double acquisitionDemand
The cached value of the 'Acquisition Demand
' attribute.- See Also:
getAcquisitionDemand()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
getStaticPriorityBoostConfiguration
public StaticPriorityBoost getStaticPriorityBoostConfiguration()
- Specified by:
getStaticPriorityBoostConfiguration
in interfacePassiveResourceConfiguration
- Returns:
- the value of the 'Static Priority Boost Configuration' containment reference.
- See Also:
PassiveResourceConfiguration.setStaticPriorityBoostConfiguration(StaticPriorityBoost)
,ConfigurationPackage.getPassiveResourceConfiguration_StaticPriorityBoostConfiguration()
- Generated class or method.
-
basicSetStaticPriorityBoostConfiguration
public NotificationChain basicSetStaticPriorityBoostConfiguration(StaticPriorityBoost newStaticPriorityBoostConfiguration, NotificationChain msgs)
- Generated class or method.
-
setStaticPriorityBoostConfiguration
public void setStaticPriorityBoostConfiguration(StaticPriorityBoost newStaticPriorityBoostConfiguration)
- Specified by:
setStaticPriorityBoostConfiguration
in interfacePassiveResourceConfiguration
- Parameters:
newStaticPriorityBoostConfiguration
- the new value of the 'Static Priority Boost Configuration' containment reference.- See Also:
PassiveResourceConfiguration.getStaticPriorityBoostConfiguration()
- Generated class or method.
-
getCapacity
public int getCapacity()
- Specified by:
getCapacity
in interfacePassiveResourceConfiguration
- Returns:
- the value of the 'Capacity' attribute.
- See Also:
PassiveResourceConfiguration.setCapacity(int)
,ConfigurationPackage.getPassiveResourceConfiguration_Capacity()
- Generated class or method.
-
setCapacity
public void setCapacity(int newCapacity)
- Specified by:
setCapacity
in interfacePassiveResourceConfiguration
- Parameters:
newCapacity
- the new value of the 'Capacity' attribute.- See Also:
PassiveResourceConfiguration.getCapacity()
- Generated class or method.
-
getType
public PassiveResourceType getType()
- Specified by:
getType
in interfacePassiveResourceConfiguration
- Returns:
- the value of the 'Type' attribute.
- See Also:
PassiveResourceType
,PassiveResourceConfiguration.setType(PassiveResourceType)
,ConfigurationPackage.getPassiveResourceConfiguration_Type()
- Generated class or method.
-
setType
public void setType(PassiveResourceType newType)
- Specified by:
setType
in interfacePassiveResourceConfiguration
- Parameters:
newType
- the new value of the 'Type' attribute.- See Also:
PassiveResourceType
,PassiveResourceConfiguration.getType()
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfacePassiveResourceConfiguration
- Returns:
- the value of the 'Name' attribute.
- See Also:
PassiveResourceConfiguration.setName(String)
,ConfigurationPackage.getPassiveResourceConfiguration_Name()
- Generated class or method.
-
setName
public void setName(String newName)
- Specified by:
setName
in interfacePassiveResourceConfiguration
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
PassiveResourceConfiguration.getName()
- Generated class or method.
-
getManagingResource
public ActiveResourceConfiguration getManagingResource()
- Specified by:
getManagingResource
in interfacePassiveResourceConfiguration
- Returns:
- the value of the 'Managing Resource' reference.
- See Also:
PassiveResourceConfiguration.setManagingResource(ActiveResourceConfiguration)
,ConfigurationPackage.getPassiveResourceConfiguration_ManagingResource()
- Generated class or method.
-
basicGetManagingResource
public ActiveResourceConfiguration basicGetManagingResource()
- Generated class or method.
-
setManagingResource
public void setManagingResource(ActiveResourceConfiguration newManagingResource)
- Specified by:
setManagingResource
in interfacePassiveResourceConfiguration
- Parameters:
newManagingResource
- the new value of the 'Managing Resource' reference.- See Also:
PassiveResourceConfiguration.getManagingResource()
- Generated class or method.
-
getAcquisitionDemand
public double getAcquisitionDemand()
- Specified by:
getAcquisitionDemand
in interfacePassiveResourceConfiguration
- Returns:
- the value of the 'Acquisition Demand' attribute.
- See Also:
PassiveResourceConfiguration.setAcquisitionDemand(double)
,ConfigurationPackage.getPassiveResourceConfiguration_AcquisitionDemand()
- Generated class or method.
-
setAcquisitionDemand
public void setAcquisitionDemand(double newAcquisitionDemand)
- Specified by:
setAcquisitionDemand
in interfacePassiveResourceConfiguration
- Parameters:
newAcquisitionDemand
- the new value of the 'Acquisition Demand' attribute.- See Also:
PassiveResourceConfiguration.getAcquisitionDemand()
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.internal.cdo.CDOObjectImpl
- Generated class or method.
-
-