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 super(Person.class);
39 }
40
41 /***
42 * Returns the person name.
43 * <p>
44 * @return the person name, <b>null</b> if none.
45 *
46 */
47 public String getName() {
48 return _name;
49 }
50
51 /***
52 * Sets the personname.
53 * <p>
54 * @param name the person name, <b>null</b> if none.
55 *
56 */
57 public void setName(String name) {
58 _name = name;
59 }
60
61 /***
62 * Returns the person URL.
63 * <p>
64 * @return the person URL, <b>null</b> if none.
65 *
66 */
67 public String getUrl() {
68 return _url;
69 }
70
71 /***
72 * Sets the person URL.
73 * <p>
74 * @param url the person URL, <b>null</b> if none.
75 *
76 */
77 public void setUrl(String url) {
78 _url = url;
79 }
80
81 /***
82 * Returns the person email.
83 * <p>
84 * @return the person email, <b>null</b> if none.
85 *
86 */
87 public String getEmail() {
88 return _email;
89 }
90
91 /***
92 * Sets the person email.
93 * <p>
94 * @param email the person email, <b>null</b> if none.
95 *
96 */
97 public void setEmail(String email) {
98 _email = email;
99 }
100
101 }