View Javadoc

1   /*
2    * Created on Jun 20, 2005
3    */
4   
5   package be.dvw.administration.model;
6   
7   import java.io.Serializable;
8   
9   /***
10   * @author Gregory Van Seghbroeck
11   *
12   */
13  public class Sponsor implements PayingEntity {
14      private String name;
15      private String shortDescription;
16      private String longDescription;
17      private String email;
18      private Serializable logo;
19      private String telephone1;
20      private String telephone2;
21      private String fax;
22      
23      private Person contactperson;
24      
25      
26      private boolean payed;
27      private String payement;
28      private static final double amount = 25.0;
29      
30      
31      
32      /***
33       * @return Returns the amount.
34       */
35      public double getAmount() {
36          return amount;
37      }
38      /***
39       * @return Returns the payed.
40       */
41      public boolean isPayed() {
42          return payed;
43      }
44      /***
45       * @param payed The payed to set.
46       */
47      public void setPayed(boolean payed) {
48          this.payed = payed;
49      }
50      /***
51       * @return Returns the payement.
52       */
53      public String getPayment() {
54          return payement;
55      }
56      /***
57       * @param payement The payement to set.
58       */
59      public void setPayement(String payement) {
60          this.payement = payement;
61      }
62      /***
63       * @return Returns the contactperson.
64       */
65      public Person getContactperson() {
66          return contactperson;
67      }
68      /***
69       * @param contactperson The contactperson to set.
70       */
71      public void setContactperson(Person contactperson) {
72          this.contactperson = contactperson;
73      }
74      /***
75       * @return Returns the email.
76       */
77      public String getEmail() {
78          return email;
79      }
80      /***
81       * @param email The email to set.
82       */
83      public void setEmail(String email) {
84          this.email = email;
85      }
86      /***
87       * @return Returns the fax.
88       */
89      public String getFax() {
90          return fax;
91      }
92      /***
93       * @param fax The fax to set.
94       */
95      public void setFax(String fax) {
96          this.fax = fax;
97      }
98      /***
99       * @return Returns the shortDescription.
100      */
101     public String getShortDescription() {
102         return shortDescription;
103     }
104     /***
105      * @param shortDescription The shortDescription to set.
106      */
107     public void setShortDescription(String shortDescription) {
108         this.shortDescription = shortDescription;
109     }
110     /***
111      * @return Returns the longDescription.
112      */
113     public String getLongDescription() {
114         return longDescription;
115     }
116     /***
117      * @param longDescription The longDescription to set.
118      */
119     public void setLongDescription(String longDescription) {
120         this.longDescription = longDescription;
121     }
122     /***
123      * @return Returns the logo.
124      */
125     public Serializable getLogo() {
126         return logo;
127     }
128     /***
129      * @param logo The logo to set.
130      */
131     public void setLogo(Serializable logo) {
132         this.logo = logo;
133     }
134     /***
135      * @return Returns the name.
136      */
137     public String getName() {
138         return name;
139     }
140     /***
141      * @param name The name to set.
142      */
143     public void setName(String naam) {
144         this.name = naam;
145     }
146     /***
147      * @return Returns the telephone1.
148      */
149     public String getTelephone1() {
150         return telephone1;
151     }
152     /***
153      * @param telephone1 The telephone1 to set.
154      */
155     public void setTelephone1(String telephone1) {
156         this.telephone1 = telephone1;
157     }
158     /***
159      * @return Returns the telephone2.
160      */
161     public String getTelephone2() {
162         return telephone2;
163     }
164     /***
165      * @param telephone2 The telephone2 to set.
166      */
167     public void setTelephone2(String telephone2) {
168         this.telephone2 = telephone2;
169     }
170 }