|
Großmarkt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--market.Options
Contains some variables which affect the computation of the discount and the dismissal compensation.
Constructor Summary | |
Options()
|
Method Summary | |
int |
getDiscountRange()
|
int |
getDiscountValue()
|
double |
getFractionOfWages()
|
double |
getMaxDiscount()
|
double |
getTimeOfEmployment()
|
void |
setDiscountRange(int range)
Sets the number of months which have influence on the discount. |
void |
setDiscountValue(int value)
Sets the money in Euros that are worth one percent discount. |
void |
setFractionOfWages(double fraction)
Sets the influence the current wage has on the computation of the dismissal compensation. |
void |
setMaxDiscount(double max)
Sets the maximal discount that can be allowed. |
void |
setTimeOfEmployment(double fraction)
Sets the influence the time the worker has been employed has on the computation of the dismissal compensation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Options()
Method Detail |
public int getDiscountRange()
public void setDiscountRange(int range)
range
- the number of monthspublic double getMaxDiscount()
public void setMaxDiscount(double max)
max
- the maximal discount.public int getDiscountValue()
public void setDiscountValue(int value)
value
- the money in Euros.public double getFractionOfWages()
public void setFractionOfWages(double fraction)
fraction
- the influence of the wage in percent.public double getTimeOfEmployment()
public void setTimeOfEmployment(double fraction)
fraction
- the influence of the time in percent.
|
Großmarkt | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |