com.sun.syndication.feed.atom
public class Person extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_email |
private java.lang.String |
_name |
private ObjectBean |
_objBean |
private java.lang.String |
_uri |
Constructor and Description |
---|
Person()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
|
java.lang.String |
getEmail()
Returns the person email.
|
java.lang.String |
getName()
Returns the person name.
|
java.lang.String |
getUri()
Returns the uri
|
java.lang.String |
getUrl()
Returns the person URL (same as
getUri() ) |
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setEmail(java.lang.String email)
Sets the person email.
|
void |
setName(java.lang.String name)
Sets the personname.
|
void |
setUri(java.lang.String uri)
Set the uri
|
void |
setUrl(java.lang.String url)
Sets the person URL (same as
setUri() ) |
java.lang.String |
toString()
Returns the String representation for the object.
|
private ObjectBean _objBean
private java.lang.String _name
private java.lang.String _uri
private java.lang.String _email
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- he reference object with which to compare.public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the person name, null if none.public java.lang.String getUrl()
getUri()
)
public void setUrl(java.lang.String url)
setUri()
)
url
- the person URL, null if none.public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- the person email, null if none.public java.lang.String getUri()
public void setUri(java.lang.String uri)
uri
- The uri to set.Copyright © Sun Microsystems. All Rights Reserved.