public class SyndPersonImpl extends java.lang.Object implements java.io.Serializable, SyndPerson
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_email |
private java.lang.String |
_name |
private ObjectBean |
_objBean |
private java.lang.String |
_uri |
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.
|
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 |
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.
|
private ObjectBean _objBean
private java.lang.String _name
private java.lang.String _uri
private java.lang.String _email
public SyndPersonImpl()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface SyndPerson
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals
in class java.lang.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 java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
getName
in interface SyndPerson
public void setName(java.lang.String name)
setName
in interface SyndPerson
name
- the category name to set, null if none.public java.lang.String getEmail()
getEmail
in interface SyndPerson
public void setEmail(java.lang.String email)
setEmail
in interface SyndPerson
email
- The person's e-mail address to set, null if none.public java.lang.String getUri()
getUri
in interface SyndPerson
public void setUri(java.lang.String uri)
setUri
in interface SyndPerson
uri
- the peron's URI to set, null if none.Copyright © Sun Microsystems. All Rights Reserved.