| java.lang.Object com.sun.syndication.feed.atom.Person
Person | public class Person implements Cloneable,Serializable(Code) | | Bean for person elements of Atom feeds.
author: Alejandro Abdelnur author: Dave Johnson (updated for Atom 1.0) |
Constructor Summary | |
public | Person() Default constructor. |
Person | public Person()(Code) | | Default constructor. All properties are set to null.
|
equals | public boolean equals(Object other)(Code) | | Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
Parameters: other - he reference object with which to compare. true if 'this' object is equal to the 'other' object. |
getEmail | public String getEmail()(Code) | | Returns the person email.
the person email, null if none. |
getName | public String getName()(Code) | | Returns the person name.
the person name, null if none. |
getUri | public String getUri()(Code) | | Returns the uri
Returns the uri. since: Atom 1.0 |
getUrl | public String getUrl()(Code) | | Returns the person URL (same as
getUri() )
the person URL, null if none. |
hashCode | public int hashCode()(Code) | | Returns a hashcode value for the object.
It follows the contract defined by the Object hashCode() method.
the hashcode of the bean object. |
setEmail | public void setEmail(String email)(Code) | | Sets the person email.
Parameters: email - the person email, null if none. |
setName | public void setName(String name)(Code) | | Sets the personname.
Parameters: name - the person name, null if none. |
setUri | public void setUri(String uri)(Code) | | Set the uri
Parameters: uri - The uri to set. since: Atom 1.0 |
setUrl | public void setUrl(String url)(Code) | | Sets the person URL (same as
setUri() )
Parameters: url - the person URL, null if none. |
toString | public String toString()(Code) | | Returns the String representation for the object.
String representation for the object. |
|
|