Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.synd
Class SyndPersonImpl  view SyndPersonImpl download SyndPersonImpl.java

java.lang.Object
  extended bycom.sun.syndication.feed.synd.SyndPersonImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, SyndPerson

public class SyndPersonImpl
extends java.lang.Object
implements java.io.Serializable, SyndPerson

Bean for authors and contributors of SyndFeedImpl feeds and entries.


Field Summary
private  java.lang.String _email
           
private  java.lang.String _name
           
private  com.sun.syndication.feed.impl.ObjectBean _objBean
           
private  java.lang.String _uri
           
 
Constructor Summary
SyndPersonImpl()
          For implementations extending SyndContentImpl to be able to use the ObjectBean functionality with extended interfaces.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_objBean

private com.sun.syndication.feed.impl.ObjectBean _objBean

_name

private java.lang.String _name

_uri

private java.lang.String _uri

_email

private java.lang.String _email
Constructor Detail

SyndPersonImpl

public SyndPersonImpl()
For implementations extending SyndContentImpl to be able to use the ObjectBean functionality with extended interfaces.

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.

Specified by:
clone in interface SyndPerson

equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.


hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.


toString

public java.lang.String toString()
Returns the String representation for the object.


getName

public java.lang.String getName()
Returns the person name.

Specified by:
getName in interface SyndPerson

setName

public void setName(java.lang.String name)
Sets the category name.

Specified by:
setName in interface SyndPerson

getEmail

public java.lang.String getEmail()
Returns the person's e-mail address.

Specified by:
getEmail in interface SyndPerson

setEmail

public void setEmail(java.lang.String email)
Sets the person's e-mail address.

Specified by:
setEmail in interface SyndPerson

getUri

public java.lang.String getUri()
Returns the person's URI.

Specified by:
getUri in interface SyndPerson

setUri

public void setUri(java.lang.String uri)
Sets the person's URI.

Specified by:
setUri in interface SyndPerson