<AHREF="../../../../../com/sun/syndication/feed/impl/EqualsBean.html"title="class in com.sun.syndication.feed.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/feed/impl/ToStringBean.html"title="class in com.sun.syndication.feed.impl"><B>NEXT CLASS</B></A></FONT></TD>
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../../resources/inherit.gif"ALT="extended by "><B>com.sun.syndication.feed.impl.ObjectBean</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true"title="class or interface in java.io">Serializable</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true"title="class or interface in java.lang">Cloneable</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>ObjectBean</B><DT>extends <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A><DT>implements <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true"title="class or interface in java.io">Serializable</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true"title="class or interface in java.lang">Cloneable</A></DL>
</PRE>
<P>
Convenience class providing clone(), toString(), equals() and hashCode() functionality for Java Beans.
<p>
It works on all read/write properties, recursively.
<p>
It uses the CloneableBean, EqualsBean and ToStringBean classes in a delegation pattern.
<p>
<h3>ObjectBean programming conventions</h3>
<P>
All ObjectBean subclasses having properties that return collections they should never
return null if the property has been set to <b>null</b> or if a collection has not been set.
They should create and return an empty collection, this empty collection instance should
also be set to the corresponding property.
<P>
All ObjectBean subclasses properties should be live references.
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/feed/impl/ObjectBean.html#ObjectBean(java.lang.Class, java.lang.Object)">ObjectBean</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true"title="class or interface in java.lang">Class</A> beanClass,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> obj)</CODE>
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/feed/impl/ObjectBean.html#ObjectBean(java.lang.Class, java.lang.Object, java.util.Set)">ObjectBean</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true"title="class or interface in java.lang">Class</A> beanClass,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> obj,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</A> ignoreProperties)</CODE>
<CODE> <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/feed/impl/ObjectBean.html#equals(java.lang.Object)">equals</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> other)</CODE>
<BR>
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.</TD>
<CODE> <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public <B>ObjectBean</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true"title="class or interface in java.lang">Class</A> beanClass,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> obj)</PRE>
<DL>
<DD>Constructor.
<p>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>beanClass</CODE> - the class/interface to be used for property scanning.</DL>
public <B>ObjectBean</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true"title="class or interface in java.lang">Class</A> beanClass,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> obj,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</A> ignoreProperties)</PRE>
<DL>
<DD>Constructor.
<p>
The property names in the ignoreProperties Set will not be copied into
the cloned instance. This is useful for cases where the Bean has convenience
properties (properties that are actually references to other properties or
properties of properties). For example SyndFeed and SyndEntry beans have
convenience properties, publishedDate, author, copyright and categories all
of them mapped to properties in the DC Module.
<p>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>beanClass</CODE> - the class/interface to be used for property scanning.<DD><CODE>ignoreProperties</CODE> - properties to ignore when cloning.</DL>
public <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A><B>clone</B>()
throws <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</A></PRE>
<DL>
<DD>Creates a deep 'bean' clone of the object.
<p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A></CODE> in class <CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a clone of the object.
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/CloneNotSupportedException.html?is-external=true"title="class or interface in java.lang">CloneNotSupportedException</A></CODE> - thrown if an element of the object cannot be cloned.</DL>
</DD>
</DL>
<HR>
<ANAME="equals(java.lang.Object)"><!----></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> other)</PRE>
<DL>
<DD>Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
<p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A></CODE> in class <CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>other</CODE> - he reference object with which to compare.
<DT><B>Returns:</B><DD><b>true</b> if 'this' object is equal to the 'other' object.</DL>
</DD>
</DL>
<HR>
<ANAME="hashCode()"><!----></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>Returns a hashcode value for the object.
<p>
It follows the contract defined by the Object hashCode() method.
<p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the hashcode of the bean object.</DL>
</DD>
</DL>
<HR>
<ANAME="toString()"><!----></A><H3>
toString</H3>
<PRE>
public <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>toString</B>()</PRE>
<DL>
<DD>Returns the String representation for the object.
<p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A></CODE> in class <CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String representation for the object.</DL>
<AHREF="../../../../../com/sun/syndication/feed/impl/EqualsBean.html"title="class in com.sun.syndication.feed.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/feed/impl/ToStringBean.html"title="class in com.sun.syndication.feed.impl"><B>NEXT CLASS</B></A></FONT></TD>