| Modifier and Type | Field and Description |
|---|---|
private int |
expertiseLevel |
private int |
salary |
private javafx.beans.property.IntegerProperty |
totalProfit |
| Constructor and Description |
|---|
Steward() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDiscountFactor()
Retrieve the factor the steward gets when buying ware.
|
int |
getTotalProfitOnExperianceLevel()
Retrieve the amount of profit the steward made
while on the current experiance level.
|
void |
updateProfit(int profit)
Add the profit the total profit.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpertiseLevel, getSalaryprivate int expertiseLevel
private int salary
private javafx.beans.property.IntegerProperty totalProfit
public int getTotalProfitOnExperianceLevel()
IStewardgetTotalProfitOnExperianceLevel in interface IStewardpublic void updateProfit(int profit)
IStewardupdateProfit in interface IStewardpublic double getDiscountFactor()
IStewardgetDiscountFactor in interface IStewardCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.