public class SyndPersonImpl extends Object implements Serializable, SyndPerson
| Constructor and Description |
|---|
SyndPersonImpl()
For implementations extending SyndContentImpl to be able to use the ObjectBean functionality
with extended interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
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<Module> |
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<Module> 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.
|
public SyndPersonImpl()
public Object clone() throws CloneNotSupportedException
clone in interface SyndPersonclone in class ObjectCloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(Object other)
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public String toString()
public String getName()
getName in interface SyndPersonpublic void setName(String name)
setName in interface SyndPersonname - the category name to set, null if none.public String getEmail()
getEmail in interface SyndPersonpublic void setEmail(String email)
setEmail in interface SyndPersonemail - The person's e-mail address to set, null if none.public String getUri()
getUri in interface SyndPersonpublic void setUri(String uri)
setUri in interface SyndPersonuri - the peron's URI to set, null if none.public List<Module> getModules()
getModules in interface Extendablepublic void setModules(List<Module> modules)
setModules in interface Extendablemodules - 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 Extendableuri - the URI of the ModuleImpl.Copyright © 2015. All Rights Reserved.