|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
scheduler.configuration.impl.StaticPriorityBoostImpl
public class StaticPriorityBoostImpl
An implementation of the model object 'Static Priority Boost'.
The following features are implemented:
Field Summary | |
---|---|
protected int |
bonus
The cached value of the ' Bonus ' attribute. |
protected static int |
BONUS_EDEFAULT
The default value of the ' Bonus ' attribute. |
protected PriorityDegradation |
degradation
The cached value of the ' Degradation ' attribute. |
protected static PriorityDegradation |
DEGRADATION_EDEFAULT
The default value of the ' Degradation ' attribute. |
protected static boolean |
RESET_TIMESLICE_EDEFAULT
The default value of the ' Reset Timeslice ' attribute. |
protected boolean |
resetTimeslice
The cached value of the ' Reset Timeslice ' attribute. |
protected TimeValue |
timePenalty
The cached value of the ' Time Penalty ' containment reference. |
Constructor Summary | |
---|---|
protected |
StaticPriorityBoostImpl()
|
Method Summary | |
---|---|
NotificationChain |
basicSetTimePenalty(TimeValue newTimePenalty,
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 |
getBonus()
|
PriorityDegradation |
getDegradation()
|
TimeValue |
getTimePenalty()
|
boolean |
isResetTimeslice()
|
void |
setBonus(int newBonus)
|
void |
setDegradation(PriorityDegradation newDegradation)
|
void |
setResetTimeslice(boolean newResetTimeslice)
|
void |
setTimePenalty(TimeValue newTimePenalty)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final boolean RESET_TIMESLICE_EDEFAULT
Reset Timeslice
' attribute.
isResetTimeslice()
,
Constant Field Valuesprotected boolean resetTimeslice
Reset Timeslice
' attribute.
isResetTimeslice()
protected static final int BONUS_EDEFAULT
Bonus
' attribute.
getBonus()
,
Constant Field Valuesprotected int bonus
Bonus
' attribute.
getBonus()
protected static final PriorityDegradation DEGRADATION_EDEFAULT
Degradation
' attribute.
getDegradation()
protected PriorityDegradation degradation
Degradation
' attribute.
getDegradation()
protected TimeValue timePenalty
Time Penalty
' containment reference.
getTimePenalty()
Constructor Detail |
---|
protected StaticPriorityBoostImpl()
Method Detail |
---|
protected EClass eStaticClass()
public boolean isResetTimeslice()
isResetTimeslice
in interface StaticPriorityBoost
StaticPriorityBoost.setResetTimeslice(boolean)
,
ConfigurationPackage.getStaticPriorityBoost_ResetTimeslice()
public void setResetTimeslice(boolean newResetTimeslice)
setResetTimeslice
in interface StaticPriorityBoost
newResetTimeslice
- the new value of the 'Reset Timeslice' attribute.StaticPriorityBoost.isResetTimeslice()
public int getBonus()
getBonus
in interface StaticPriorityBoost
StaticPriorityBoost.setBonus(int)
,
ConfigurationPackage.getStaticPriorityBoost_Bonus()
public void setBonus(int newBonus)
setBonus
in interface StaticPriorityBoost
newBonus
- the new value of the 'Bonus' attribute.StaticPriorityBoost.getBonus()
public PriorityDegradation getDegradation()
getDegradation
in interface StaticPriorityBoost
PriorityDegradation
,
StaticPriorityBoost.setDegradation(PriorityDegradation)
,
ConfigurationPackage.getStaticPriorityBoost_Degradation()
public void setDegradation(PriorityDegradation newDegradation)
setDegradation
in interface StaticPriorityBoost
newDegradation
- the new value of the 'Degradation' attribute.PriorityDegradation
,
StaticPriorityBoost.getDegradation()
public TimeValue getTimePenalty()
getTimePenalty
in interface StaticPriorityBoost
StaticPriorityBoost.setTimePenalty(TimeValue)
,
ConfigurationPackage.getStaticPriorityBoost_TimePenalty()
public NotificationChain basicSetTimePenalty(TimeValue newTimePenalty, NotificationChain msgs)
public void setTimePenalty(TimeValue newTimePenalty)
setTimePenalty
in interface StaticPriorityBoost
newTimePenalty
- the new value of the 'Time Penalty' containment reference.StaticPriorityBoost.getTimePenalty()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |