1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.sun.syndication.feed.atom;
18
19 import com.sun.syndication.common.ObjectBean;
20
21 /***
22 * Bean for person elements of Atom feeds.
23 * <p>
24 * @author Alejandro Abdelnur
25 *
26 */
27 public class Person extends ObjectBean {
28 private String _name;
29 private String _url;
30 private String _email;
31
32 /***
33 * Default constructor. All properties are set to <b>null</b>.
34 * <p>
35 *
36 */
37 public Person() {
38 }
39
40 /***
41 * Returns the person name.
42 * <p>
43 * @return the person name, <b>null</b> if none.
44 *
45 */
46 public String getName() {
47 return _name;
48 }
49
50 /***
51 * Sets the personname.
52 * <p>
53 * @param name the person name, <b>null</b> if none.
54 *
55 */
56 public void setName(String name) {
57 _name = name;
58 }
59
60 /***
61 * Returns the person URL.
62 * <p>
63 * @return the person URL, <b>null</b> if none.
64 *
65 */
66 public String getUrl() {
67 return _url;
68 }
69
70 /***
71 * Sets the person URL.
72 * <p>
73 * @param url the person URL, <b>null</b> if none.
74 *
75 */
76 public void setUrl(String url) {
77 _url = url;
78 }
79
80 /***
81 * Returns the person email.
82 * <p>
83 * @return the person email, <b>null</b> if none.
84 *
85 */
86 public String getEmail() {
87 return _email;
88 }
89
90 /***
91 * Sets the person email.
92 * <p>
93 * @param email the person email, <b>null</b> if none.
94 *
95 */
96 public void setEmail(String email) {
97 _email = email;
98 }
99
100 }