public class Person extends Object implements SyndPerson, Cloneable, Serializable, Extendable
Constructor and Description |
---|
Person() |
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 email.
|
Module |
getModule(String uri)
Returns the module identified by a given URI.
|
List<Module> |
getModules()
Returns the entry modules.
|
String |
getName()
Returns the person name.
|
String |
getUri()
Returns the uri
|
String |
getUriResolved(String resolveURI) |
String |
getUrl()
Returns the person URL (same as
getUri() ) |
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setEmail(String email)
Sets the person email.
|
void |
setModules(List<Module> modules)
Sets the entry modules.
|
void |
setName(String name)
Sets the personname.
|
void |
setUri(String uri)
Set the uri
|
void |
setUriResolved(String uriResolved) |
void |
setUrl(String url)
Sets the person URL (same as
setUri(java.lang.String) ) |
String |
toString()
Returns the String representation for the object.
|
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)
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public String toString()
public String getName()
getName
in interface SyndPerson
public void setName(String name)
setName
in interface SyndPerson
name
- the person name, null if none.public String getUrl()
getUri()
)
public void setUrl(String url)
setUri(java.lang.String)
)
url
- the person URL, null if none.public void setUriResolved(String uriResolved)
public String getEmail()
getEmail
in interface SyndPerson
public void setEmail(String email)
setEmail
in interface SyndPerson
email
- the person email, null if none.public String getUri()
getUri
in interface SyndPerson
public void setUri(String uri)
setUri
in interface SyndPerson
uri
- The uri to set.public List<Module> getModules()
getModules
in interface Extendable
public void setModules(List<Module> modules)
setModules
in interface Extendable
modules
- the list of ModuleImpl elements with the entry 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.Copyright © 2023. All rights reserved.