KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > applications > packaging > Person


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9  */

10
11 package org.mmbase.applications.packaging;
12
13 /**
14  * Person class, used as a container for the people related info when building
15  * a package/bundle. It keeps track of things like initiators, maintainers, supporters
16  * and the like. Doesn't have any real functional task.
17  *
18  * @author Daniel Ockeloen
19  * @since MMBase-1.7
20  */

21 public class Person {
22    private String JavaDoc name;
23    private String JavaDoc company;
24    private String JavaDoc reason;
25    private String JavaDoc mailto;
26     
27
28    /**
29    * Get the name if defined.
30    *
31    * @return name or null if not defined
32    */

33    public String JavaDoc getName() {
34       return name;
35    }
36
37    /**
38    * Get the mailto if defined.
39    * @return mailto or null if not defined
40    *
41    */

42    public String JavaDoc getMailto() {
43       return mailto;
44    }
45
46    /**
47    * Get the reason if defined. Reason can be things like bugfixes, sponsering
48    *
49    * @return reason or null if not defined
50    */

51    public String JavaDoc getReason() {
52       return reason;
53    }
54
55
56    /**
57    * Get the company if defined.
58    *
59    * @return company or null if not defined
60    */

61    public String JavaDoc getCompany() {
62        return company;
63    }
64
65    /**
66    * set the name
67    */

68    public void setName(String JavaDoc name) {
69        this.name = name;
70    }
71
72    /**
73    * set the company
74    */

75    public void setCompany(String JavaDoc company) {
76        this.company = company;
77    }
78
79    /**
80    * set the reason
81    */

82    public void setReason(String JavaDoc reason) {
83        this.reason = reason;
84    }
85
86    /**
87    * set the mailto
88    */

89    public void setMailto(String JavaDoc mailto) {
90        this.mailto = mailto;
91    }
92 }
93
Popular Tags