View Javadoc

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  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          return amount;
31      }
32      /***
33       * @return Returns the payed.
34       */
35      public boolean isPayed() {
36          return payed;
37      }
38      /***
39       * @param payed The payed to set.
40       */
41      public void setPayed(boolean payed) {
42          this.payed = payed;
43      }
44      /***
45       * @return Returns the payment.
46       */
47      public String getPayment() {
48          return payment;
49      }
50      /***
51       * @param payment The payment to set.
52       */
53      public void setPayment(String payment) {
54          this.payment = payment;
55      }
56      /***
57       * @return Returns the innkeeper.
58       */
59      public Person getInnkeeper() {
60          return innkeeper;
61      }
62      /***
63       * @param innkeeper The innkeeper to set.
64       */
65      public void setInnkeeper(Person innkeeper) {
66          this.innkeeper = innkeeper;
67      }
68      /***
69       * @return Returns the name.
70       */
71      public String getName() {
72          return name;
73      }
74      /***
75       * @param name The name to set.
76       */
77      public void setName(String name) {
78          this.name = name;
79      }
80      /***
81       * @return Returns the telephone.
82       */
83      public String getTelephone() {
84          return telephone;
85      }
86      /***
87       * @param telephone The telephone to set.
88       */
89      public void setTelephone(String telephone) {
90          this.telephone = telephone;
91      }
92  }