| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| be.dvw.administration.model.Sponsor |
|
|
| 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 | 0 | 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 | 0 | return amount; |
| 37 | } |
|
| 38 | /** |
|
| 39 | * @return Returns the payed. |
|
| 40 | */ |
|
| 41 | public boolean isPayed() { |
|
| 42 | 0 | return payed; |
| 43 | } |
|
| 44 | /** |
|
| 45 | * @param payed The payed to set. |
|
| 46 | */ |
|
| 47 | public void setPayed(boolean payed) { |
|
| 48 | 0 | this.payed = payed; |
| 49 | 0 | } |
| 50 | /** |
|
| 51 | * @return Returns the payement. |
|
| 52 | */ |
|
| 53 | public String getPayment() { |
|
| 54 | 0 | return payement; |
| 55 | } |
|
| 56 | /** |
|
| 57 | * @param payement The payement to set. |
|
| 58 | */ |
|
| 59 | public void setPayement(String payement) { |
|
| 60 | 0 | this.payement = payement; |
| 61 | 0 | } |
| 62 | /** |
|
| 63 | * @return Returns the contactperson. |
|
| 64 | */ |
|
| 65 | public Person getContactperson() { |
|
| 66 | 0 | return contactperson; |
| 67 | } |
|
| 68 | /** |
|
| 69 | * @param contactperson The contactperson to set. |
|
| 70 | */ |
|
| 71 | public void setContactperson(Person contactperson) { |
|
| 72 | 0 | this.contactperson = contactperson; |
| 73 | 0 | } |
| 74 | /** |
|
| 75 | * @return Returns the email. |
|
| 76 | */ |
|
| 77 | public String getEmail() { |
|
| 78 | 0 | return email; |
| 79 | } |
|
| 80 | /** |
|
| 81 | * @param email The email to set. |
|
| 82 | */ |
|
| 83 | public void setEmail(String email) { |
|
| 84 | 0 | this.email = email; |
| 85 | 0 | } |
| 86 | /** |
|
| 87 | * @return Returns the fax. |
|
| 88 | */ |
|
| 89 | public String getFax() { |
|
| 90 | 0 | return fax; |
| 91 | } |
|
| 92 | /** |
|
| 93 | * @param fax The fax to set. |
|
| 94 | */ |
|
| 95 | public void setFax(String fax) { |
|
| 96 | 0 | this.fax = fax; |
| 97 | 0 | } |
| 98 | /** |
|
| 99 | * @return Returns the shortDescription. |
|
| 100 | */ |
|
| 101 | public String getShortDescription() { |
|
| 102 | 0 | return shortDescription; |
| 103 | } |
|
| 104 | /** |
|
| 105 | * @param shortDescription The shortDescription to set. |
|
| 106 | */ |
|
| 107 | public void setShortDescription(String shortDescription) { |
|
| 108 | 0 | this.shortDescription = shortDescription; |
| 109 | 0 | } |
| 110 | /** |
|
| 111 | * @return Returns the longDescription. |
|
| 112 | */ |
|
| 113 | public String getLongDescription() { |
|
| 114 | 0 | return longDescription; |
| 115 | } |
|
| 116 | /** |
|
| 117 | * @param longDescription The longDescription to set. |
|
| 118 | */ |
|
| 119 | public void setLongDescription(String longDescription) { |
|
| 120 | 0 | this.longDescription = longDescription; |
| 121 | 0 | } |
| 122 | /** |
|
| 123 | * @return Returns the logo. |
|
| 124 | */ |
|
| 125 | public Serializable getLogo() { |
|
| 126 | 0 | return logo; |
| 127 | } |
|
| 128 | /** |
|
| 129 | * @param logo The logo to set. |
|
| 130 | */ |
|
| 131 | public void setLogo(Serializable logo) { |
|
| 132 | 0 | this.logo = logo; |
| 133 | 0 | } |
| 134 | /** |
|
| 135 | * @return Returns the name. |
|
| 136 | */ |
|
| 137 | public String getName() { |
|
| 138 | 0 | return name; |
| 139 | } |
|
| 140 | /** |
|
| 141 | * @param name The name to set. |
|
| 142 | */ |
|
| 143 | public void setName(String naam) { |
|
| 144 | 0 | this.name = naam; |
| 145 | 0 | } |
| 146 | /** |
|
| 147 | * @return Returns the telephone1. |
|
| 148 | */ |
|
| 149 | public String getTelephone1() { |
|
| 150 | 0 | return telephone1; |
| 151 | } |
|
| 152 | /** |
|
| 153 | * @param telephone1 The telephone1 to set. |
|
| 154 | */ |
|
| 155 | public void setTelephone1(String telephone1) { |
|
| 156 | 0 | this.telephone1 = telephone1; |
| 157 | 0 | } |
| 158 | /** |
|
| 159 | * @return Returns the telephone2. |
|
| 160 | */ |
|
| 161 | public String getTelephone2() { |
|
| 162 | 0 | return telephone2; |
| 163 | } |
|
| 164 | /** |
|
| 165 | * @param telephone2 The telephone2 to set. |
|
| 166 | */ |
|
| 167 | public void setTelephone2(String telephone2) { |
|
| 168 | 0 | this.telephone2 = telephone2; |
| 169 | 0 | } |
| 170 | } |
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |