scheduler.configuration.impl
Class PassiveResourceConfigurationImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.identifier.impl.IdentifierImpl
          extended by scheduler.configuration.impl.PassiveResourceConfigurationImpl
All Implemented Interfaces:
Identifier, PassiveResourceConfiguration

public class PassiveResourceConfigurationImpl
extends IdentifierImpl
implements PassiveResourceConfiguration

An implementation of the model object 'Passive Resource Configuration'.

The following features are implemented:


Field Summary
protected  TimeValue acquisitionDemand
          The cached value of the 'Acquisition Demand' containment reference.
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 de.uka.ipd.sdq.identifier.impl.IdentifierImpl
id, ID_EDEFAULT
 
Constructor Summary
protected PassiveResourceConfigurationImpl()
           
 
Method Summary
 ActiveResourceConfiguration basicGetManagingResource()
           
 NotificationChain basicSetAcquisitionDemand(TimeValue newAcquisitionDemand, NotificationChain msgs)
           
 NotificationChain basicSetStaticPriorityBoostConfiguration(StaticPriorityBoost newStaticPriorityBoostConfiguration, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 TimeValue getAcquisitionDemand()
           
 int getCapacity()
           
 ActiveResourceConfiguration getManagingResource()
           
 String getName()
           
 StaticPriorityBoost getStaticPriorityBoostConfiguration()
           
 PassiveResourceType getType()
           
 void setAcquisitionDemand(TimeValue newAcquisitionDemand)
           
 void setCapacity(int newCapacity)
           
 void setManagingResource(ActiveResourceConfiguration newManagingResource)
           
 void setName(String newName)
           
 void setStaticPriorityBoostConfiguration(StaticPriorityBoost newStaticPriorityBoostConfiguration)
           
 void setType(PassiveResourceType newType)
           
 String toString()
           
 
Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
getId, idHasToBeUnique, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, idHasToBeUnique, setId
 

Field Detail

staticPriorityBoostConfiguration

protected StaticPriorityBoost staticPriorityBoostConfiguration
The cached value of the 'Static Priority Boost Configuration' containment reference.

See Also:
getStaticPriorityBoostConfiguration()

CAPACITY_EDEFAULT

protected static final int CAPACITY_EDEFAULT
The default value of the 'Capacity' attribute.

See Also:
getCapacity(), Constant Field Values

capacity

protected int capacity
The cached value of the 'Capacity' attribute.

See Also:
getCapacity()

TYPE_EDEFAULT

protected static final PassiveResourceType TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected PassiveResourceType type
The cached value of the 'Type' attribute.

See Also:
getType()

NAME_EDEFAULT

protected static final String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected String name
The cached value of the 'Name' attribute.

See Also:
getName()

managingResource

protected ActiveResourceConfiguration managingResource
The cached value of the 'Managing Resource' reference.

See Also:
getManagingResource()

acquisitionDemand

protected TimeValue acquisitionDemand
The cached value of the 'Acquisition Demand' containment reference.

See Also:
getAcquisitionDemand()
Constructor Detail

PassiveResourceConfigurationImpl

protected PassiveResourceConfigurationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class IdentifierImpl

getStaticPriorityBoostConfiguration

public StaticPriorityBoost getStaticPriorityBoostConfiguration()

Specified by:
getStaticPriorityBoostConfiguration in interface PassiveResourceConfiguration
Returns:
the value of the 'Static Priority Boost Configuration' containment reference.
See Also:
PassiveResourceConfiguration.setStaticPriorityBoostConfiguration(StaticPriorityBoost), ConfigurationPackage.getPassiveResourceConfiguration_StaticPriorityBoostConfiguration()

basicSetStaticPriorityBoostConfiguration

public NotificationChain basicSetStaticPriorityBoostConfiguration(StaticPriorityBoost newStaticPriorityBoostConfiguration,
                                                                  NotificationChain msgs)


setStaticPriorityBoostConfiguration

public void setStaticPriorityBoostConfiguration(StaticPriorityBoost newStaticPriorityBoostConfiguration)

Specified by:
setStaticPriorityBoostConfiguration in interface PassiveResourceConfiguration
Parameters:
newStaticPriorityBoostConfiguration - the new value of the 'Static Priority Boost Configuration' containment reference.
See Also:
PassiveResourceConfiguration.getStaticPriorityBoostConfiguration()

getCapacity

public int getCapacity()

Specified by:
getCapacity in interface PassiveResourceConfiguration
Returns:
the value of the 'Capacity' attribute.
See Also:
PassiveResourceConfiguration.setCapacity(int), ConfigurationPackage.getPassiveResourceConfiguration_Capacity()

setCapacity

public void setCapacity(int newCapacity)

Specified by:
setCapacity in interface PassiveResourceConfiguration
Parameters:
newCapacity - the new value of the 'Capacity' attribute.
See Also:
PassiveResourceConfiguration.getCapacity()

getType

public PassiveResourceType getType()

Specified by:
getType in interface PassiveResourceConfiguration
Returns:
the value of the 'Type' attribute.
See Also:
PassiveResourceType, PassiveResourceConfiguration.setType(PassiveResourceType), ConfigurationPackage.getPassiveResourceConfiguration_Type()

setType

public void setType(PassiveResourceType newType)

Specified by:
setType in interface PassiveResourceConfiguration
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
PassiveResourceType, PassiveResourceConfiguration.getType()

getName

public String getName()

Specified by:
getName in interface PassiveResourceConfiguration
Returns:
the value of the 'Name' attribute.
See Also:
PassiveResourceConfiguration.setName(String), ConfigurationPackage.getPassiveResourceConfiguration_Name()

setName

public void setName(String newName)

Specified by:
setName in interface PassiveResourceConfiguration
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
PassiveResourceConfiguration.getName()

getManagingResource

public ActiveResourceConfiguration getManagingResource()

Specified by:
getManagingResource in interface PassiveResourceConfiguration
Returns:
the value of the 'Managing Resource' reference.
See Also:
PassiveResourceConfiguration.setManagingResource(ActiveResourceConfiguration), ConfigurationPackage.getPassiveResourceConfiguration_ManagingResource()

basicGetManagingResource

public ActiveResourceConfiguration basicGetManagingResource()


setManagingResource

public void setManagingResource(ActiveResourceConfiguration newManagingResource)

Specified by:
setManagingResource in interface PassiveResourceConfiguration
Parameters:
newManagingResource - the new value of the 'Managing Resource' reference.
See Also:
PassiveResourceConfiguration.getManagingResource()

getAcquisitionDemand

public TimeValue getAcquisitionDemand()

Specified by:
getAcquisitionDemand in interface PassiveResourceConfiguration
Returns:
the value of the 'Acquisition Demand' containment reference.
See Also:
PassiveResourceConfiguration.setAcquisitionDemand(TimeValue), ConfigurationPackage.getPassiveResourceConfiguration_AcquisitionDemand()

basicSetAcquisitionDemand

public NotificationChain basicSetAcquisitionDemand(TimeValue newAcquisitionDemand,
                                                   NotificationChain msgs)


setAcquisitionDemand

public void setAcquisitionDemand(TimeValue newAcquisitionDemand)

Specified by:
setAcquisitionDemand in interface PassiveResourceConfiguration
Parameters:
newAcquisitionDemand - the new value of the 'Acquisition Demand' containment reference.
See Also:
PassiveResourceConfiguration.getAcquisitionDemand()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Overrides:
eGet in class IdentifierImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class IdentifierImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class IdentifierImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class IdentifierImpl

toString

public String toString()

Overrides:
toString in class IdentifierImpl