public class SyndPersonImpl extends java.lang.Object implements java.io.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 |
|---|---|
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's e-mail address.
|
Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI.
|
java.util.List<Module> |
getModules()
Returns the person modules.
|
java.lang.String |
getName()
Returns the person name.
|
java.lang.String |
getUri()
Returns the person's URI.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setEmail(java.lang.String email)
Sets the person's e-mail address.
|
void |
setModules(java.util.List<Module> modules)
Sets the person modules.
|
void |
setName(java.lang.String name)
Sets the category name.
|
void |
setUri(java.lang.String uri)
Sets the person's URI.
|
java.lang.String |
toString()
Returns the String representation for the object.
|
public SyndPersonImpl()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface SyndPersonclone in class java.lang.Objectjava.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - 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.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
getName in interface SyndPersonpublic void setName(java.lang.String name)
setName in interface SyndPersonname - the category name to set, null if none.public java.lang.String getEmail()
getEmail in interface SyndPersonpublic void setEmail(java.lang.String email)
setEmail in interface SyndPersonemail - The person's e-mail address to set, null if none.public java.lang.String getUri()
getUri in interface SyndPersonpublic void setUri(java.lang.String uri)
setUri in interface SyndPersonuri - the peron's URI to set, null if none.public java.util.List<Module> getModules()
getModules in interface Extendablepublic void setModules(java.util.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(java.lang.String uri)
getModule in interface Extendableuri - the URI of the ModuleImpl.Copyright © 2025. All rights reserved.