|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.synd.SyndPersonImpl
public class SyndPersonImpl
Bean for authors and contributors of SyndFeedImpl feeds and entries.
Constructor Summary | |
---|---|
SyndPersonImpl()
For implementations extending SyndContentImpl to be able to use the ObjectBean functionality with extended interfaces. |
Method Summary | |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
String |
getEmail()
Returns the person's e-mail address. |
Module |
getModule(String uri)
Returns the module identified by a given URI. |
List |
getModules()
Returns the person modules. |
String |
getName()
Returns the person name. |
String |
getUri()
Returns the person's URI. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setEmail(String email)
Sets the person's e-mail address. |
void |
setModules(List modules)
Sets the person modules. |
void |
setName(String name)
Sets the category name. |
void |
setUri(String uri)
Sets the person's URI. |
String |
toString()
Returns the String representation for the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SyndPersonImpl()
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in interface SyndPerson
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
equals
in class 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 Object
public String toString()
toString
in class Object
public String getName()
getName
in interface SyndPerson
public void setName(String name)
setName
in interface SyndPerson
name
- the category name to set, null if none.public String getEmail()
getEmail
in interface SyndPerson
public void setEmail(String email)
setEmail
in interface SyndPerson
email
- The person's e-mail address to set, null if none.public String getUri()
getUri
in interface SyndPerson
public void setUri(String uri)
setUri
in interface SyndPerson
uri
- the peron's URI to set, null if none.public List getModules()
getModules
in interface Extendable
public void setModules(List modules)
setModules
in interface Extendable
modules
- the list of ModuleImpl elements with the person modules to set,
an empty list or null if none.public Module getModule(String uri)
getModule
in interface Extendable
uri
- the URI of the ModuleImpl.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |