scheduler.configuration.impl
Class DynamicPriorityBoostConfiguratioinImpl

java.lang.Object
  extended by EObjectImpl
      extended by scheduler.configuration.impl.PriorityBoostConfigurationImpl
          extended by scheduler.configuration.impl.DynamicPriorityBoostConfiguratioinImpl
All Implemented Interfaces:
DynamicPriorityBoostConfiguratioin, PriorityBoostConfiguration

public class DynamicPriorityBoostConfiguratioinImpl
extends PriorityBoostConfigurationImpl
implements DynamicPriorityBoostConfiguratioin

An implementation of the model object 'Dynamic Priority Boost Configuratioin'.

The following features are implemented:


Field Summary
protected static int MAX_BONUS_EDEFAULT
          The default value of the 'Max Bonus' attribute.
protected  int maxBonus
          The cached value of the 'Max Bonus' attribute.
protected  TimeValue maxSleepAverage
          The cached value of the 'Max Sleep Average' containment reference.
protected  int threshold
          The cached value of the 'Threshold' attribute.
protected static int THRESHOLD_EDEFAULT
          The default value of the 'Threshold' attribute.
 
Constructor Summary
protected DynamicPriorityBoostConfiguratioinImpl()
           
 
Method Summary
 NotificationChain basicSetMaxSleepAverage(TimeValue newMaxSleepAverage, 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)
           
 int getMaxBonus()
           
 TimeValue getMaxSleepAverage()
           
 int getThreshold()
           
 void setMaxBonus(int newMaxBonus)
           
 void setMaxSleepAverage(TimeValue newMaxSleepAverage)
           
 void setThreshold(int newThreshold)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_BONUS_EDEFAULT

protected static final int MAX_BONUS_EDEFAULT
The default value of the 'Max Bonus' attribute.

See Also:
getMaxBonus(), Constant Field Values

maxBonus

protected int maxBonus
The cached value of the 'Max Bonus' attribute.

See Also:
getMaxBonus()

maxSleepAverage

protected TimeValue maxSleepAverage
The cached value of the 'Max Sleep Average' containment reference.

See Also:
getMaxSleepAverage()

THRESHOLD_EDEFAULT

protected static final int THRESHOLD_EDEFAULT
The default value of the 'Threshold' attribute.

See Also:
getThreshold(), Constant Field Values

threshold

protected int threshold
The cached value of the 'Threshold' attribute.

See Also:
getThreshold()
Constructor Detail

DynamicPriorityBoostConfiguratioinImpl

protected DynamicPriorityBoostConfiguratioinImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class PriorityBoostConfigurationImpl

getMaxBonus

public int getMaxBonus()

Specified by:
getMaxBonus in interface DynamicPriorityBoostConfiguratioin
Returns:
the value of the 'Max Bonus' attribute.
See Also:
DynamicPriorityBoostConfiguratioin.setMaxBonus(int), ConfigurationPackage.getDynamicPriorityBoostConfiguratioin_MaxBonus()

setMaxBonus

public void setMaxBonus(int newMaxBonus)

Specified by:
setMaxBonus in interface DynamicPriorityBoostConfiguratioin
Parameters:
newMaxBonus - the new value of the 'Max Bonus' attribute.
See Also:
DynamicPriorityBoostConfiguratioin.getMaxBonus()

getMaxSleepAverage

public TimeValue getMaxSleepAverage()

Specified by:
getMaxSleepAverage in interface DynamicPriorityBoostConfiguratioin
Returns:
the value of the 'Max Sleep Average' containment reference.
See Also:
DynamicPriorityBoostConfiguratioin.setMaxSleepAverage(TimeValue), ConfigurationPackage.getDynamicPriorityBoostConfiguratioin_MaxSleepAverage()

basicSetMaxSleepAverage

public NotificationChain basicSetMaxSleepAverage(TimeValue newMaxSleepAverage,
                                                 NotificationChain msgs)


setMaxSleepAverage

public void setMaxSleepAverage(TimeValue newMaxSleepAverage)

Specified by:
setMaxSleepAverage in interface DynamicPriorityBoostConfiguratioin
Parameters:
newMaxSleepAverage - the new value of the 'Max Sleep Average' containment reference.
See Also:
DynamicPriorityBoostConfiguratioin.getMaxSleepAverage()

getThreshold

public int getThreshold()

Specified by:
getThreshold in interface DynamicPriorityBoostConfiguratioin
Returns:
the value of the 'Threshold' attribute.
See Also:
DynamicPriorityBoostConfiguratioin.setThreshold(int), ConfigurationPackage.getDynamicPriorityBoostConfiguratioin_Threshold()

setThreshold

public void setThreshold(int newThreshold)

Specified by:
setThreshold in interface DynamicPriorityBoostConfiguratioin
Parameters:
newThreshold - the new value of the 'Threshold' attribute.
See Also:
DynamicPriorityBoostConfiguratioin.getThreshold()

eInverseRemove

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


eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()