1 /***
2 *
3 * The owl-s matcher software is subject to the GNU Lesser General
4 * Public License Version 2.1 (the "License"). You may not copy or use this
5 * file, in either source code or executable form, except in compliance
6 * with the License. You may obtain a copy of the License at
7 * http://www.fsf.org/licenses/lgpl.txt or http://www.opensource.org/.
8 *
9 * Software distributed under the License is distributed on an "AS IS"
10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied without
11 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 * PURPOSE. See the License for the specific language governing rights and
13 * limitations under the License.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this distribution; if not, write to the
17 *
18 * Free Software Foundation, Inc.,
19 * 59 Temple Place, Suite 330,
20 * Boston, MA 02111-1307 USA
21 *
22 * Copyright (C) 2003-2004
23 * TU Berlin, FG IVS
24 * Stefan Tang,
25 * Christoph Liebetruth,
26 * Michael C. Jaeger,
27 *
28 * More information available at http://ivs.tu-berlin.de/
29 *
30 * $Id$
31 *
32 */
33 package de.tuberlin.ivs.owl.service;
34
35 /***
36 * Represents the class Actor from a OWL-S profile.
37 *
38 * @author Stefan Tang (steftang@stanford.edu), Christoph Liebetruth (christophl@voelcker.com)
39 * @version 1.1
40 */
41 public class Actor {
42
43 /***
44 * The name of the contact.
45 */
46 private String name;
47
48 /***
49 * The title of the contact.
50 */
51 private String title;
52
53 /***
54 * The phone of the contact.
55 */
56 private String phone;
57
58 /***
59 * The fax of the contact.
60 */
61 private String fax;
62
63 /***
64 * The email address of the contact.
65 */
66 private String email;
67
68 /***
69 * The physical (i.e. realworld) address of the contact.
70 */
71 private String physicalAddress;
72
73 /***
74 * The web url of the contact.
75 */
76 private String webURL;
77
78 /***
79 * The ID of this contact class.
80 */
81 private String ID;
82
83 /***
84 * Default constructor.
85 */
86 public Actor() {
87 }
88
89 /***
90 * Returns the name of the contact.
91 * @return The name.
92 */
93 public String getName() {
94 return name;
95 }
96
97 /***
98 * Sets the name for this contact class.
99 * @param name The name.
100 */
101 public void setName(String name) {
102 this.name = name;
103 }
104
105 /***
106 * Returns the title of the contact.
107 * @return The title.
108 */
109 public String getTitle() {
110 return title;
111 }
112
113 /***
114 * Sets the title for this contact class.
115 * @param title The title.
116 */
117 public void setTitle(String title) {
118 this.title = title;
119 }
120
121 /***
122 * Returns the phone of the contact.
123 * @return The phone number as a string.
124 */
125 public String getPhone() {
126 return phone;
127 }
128
129 /***
130 * Sets the phone number for this contact class.
131 * @param phone A string representing the phone number.
132 */
133 public void setPhone(String phone) {
134 this.phone = phone;
135 }
136
137 /***
138 * Returns the Fax number of the contact.
139 * @return The Fax number as a String.
140 */
141 public String getFax() {
142 return fax;
143 }
144
145 /***
146 * Sets the Fax number for this contact class.
147 * @param fax A string representing the Fax number.
148 */
149 public void setFax(String fax) {
150 this.fax = fax;
151 }
152
153 /***
154 * Returns the email address of the contact.
155 * @return The email address.
156 */
157 public String getEmail() {
158 return email;
159 }
160
161 /***
162 * Sets the email address for this contact class.
163 * @param email The email.
164 */
165 public void setEmail(String email) {
166 this.email = email;
167 }
168
169 /***
170 * Returns the physical address of the contact.
171 * @return A string representing the physical address.
172 */
173 public String getPhysicalAddress() {
174 return physicalAddress;
175 }
176
177 /***
178 * Sets the physical address for this contact class.
179 * @param physicalAddress The physical address.
180 */
181 public void setPhysicalAddress(String physicalAddress) {
182 this.physicalAddress = physicalAddress;
183 }
184
185 /***
186 * Returns the web URL of this contact.
187 * @return The web URL.
188 */
189 public String getWebURL() {
190 return webURL;
191 }
192
193 /***
194 * Sets the web URL for this contact class.
195 * @param webURL The web URL.
196 */
197 public void setWebURL(String webURL) {
198 this.webURL = webURL;
199 }
200
201 /***
202 * Returns the ID of this contact class as specified in the rdf:ID attribute.
203 * @return The ID.
204 */
205 public String getID() {
206 return ID;
207 }
208
209 /***
210 * Sets the ID for this contact class.
211 * @param ID The ID.
212 */
213 public void setID(String ID) {
214 this.ID = ID;
215 }
216
217 }