| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| be.dvw.administration.model.Inn |
|
|
| 1 | /* |
|
| 2 | * Created on Jun 20, 2005 |
|
| 3 | */ |
|
| 4 | ||
| 5 | package be.dvw.administration.model; |
|
| 6 | ||
| 7 | ||
| 8 | /** |
|
| 9 | * @author Gregory Van Seghbroeck |
|
| 10 | * |
|
| 11 | */ |
|
| 12 | 0 | public class Inn implements PayingEntity { |
| 13 | private String name; |
|
| 14 | private String telephone; |
|
| 15 | ||
| 16 | private Person innkeeper; |
|
| 17 | ||
| 18 | ||
| 19 | private boolean payed; |
|
| 20 | private String payment; |
|
| 21 | //TODO uit config file halen |
|
| 22 | private static final double amount = 30.0; |
|
| 23 | ||
| 24 | ||
| 25 | ||
| 26 | /** |
|
| 27 | * @return Returns the amount. |
|
| 28 | */ |
|
| 29 | public double getAmount() { |
|
| 30 | 0 | return amount; |
| 31 | } |
|
| 32 | /** |
|
| 33 | * @return Returns the payed. |
|
| 34 | */ |
|
| 35 | public boolean isPayed() { |
|
| 36 | 0 | return payed; |
| 37 | } |
|
| 38 | /** |
|
| 39 | * @param payed The payed to set. |
|
| 40 | */ |
|
| 41 | public void setPayed(boolean payed) { |
|
| 42 | 0 | this.payed = payed; |
| 43 | 0 | } |
| 44 | /** |
|
| 45 | * @return Returns the payment. |
|
| 46 | */ |
|
| 47 | public String getPayment() { |
|
| 48 | 0 | return payment; |
| 49 | } |
|
| 50 | /** |
|
| 51 | * @param payment The payment to set. |
|
| 52 | */ |
|
| 53 | public void setPayment(String payment) { |
|
| 54 | 0 | this.payment = payment; |
| 55 | 0 | } |
| 56 | /** |
|
| 57 | * @return Returns the innkeeper. |
|
| 58 | */ |
|
| 59 | public Person getInnkeeper() { |
|
| 60 | 0 | return innkeeper; |
| 61 | } |
|
| 62 | /** |
|
| 63 | * @param innkeeper The innkeeper to set. |
|
| 64 | */ |
|
| 65 | public void setInnkeeper(Person innkeeper) { |
|
| 66 | 0 | this.innkeeper = innkeeper; |
| 67 | 0 | } |
| 68 | /** |
|
| 69 | * @return Returns the name. |
|
| 70 | */ |
|
| 71 | public String getName() { |
|
| 72 | 0 | return name; |
| 73 | } |
|
| 74 | /** |
|
| 75 | * @param name The name to set. |
|
| 76 | */ |
|
| 77 | public void setName(String name) { |
|
| 78 | 0 | this.name = name; |
| 79 | 0 | } |
| 80 | /** |
|
| 81 | * @return Returns the telephone. |
|
| 82 | */ |
|
| 83 | public String getTelephone() { |
|
| 84 | 0 | return telephone; |
| 85 | } |
|
| 86 | /** |
|
| 87 | * @param telephone The telephone to set. |
|
| 88 | */ |
|
| 89 | public void setTelephone(String telephone) { |
|
| 90 | 0 | this.telephone = telephone; |
| 91 | 0 | } |
| 92 | } |
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |