| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0_06) on Wed Jul 19 14:42:51 EDT 2006 --> |
| <TITLE> |
| ValueHolderProperty (Cayenne API Documentation - v.1.2) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.objectstyle.cayenne.property.ValueHolderProperty class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../objectstyle-javadoc.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="ValueHolderProperty (Cayenne API Documentation - v.1.2)"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/objectstyle/cayenne/property/ToManyListProperty.html" title="class in org.objectstyle.cayenne.property"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/objectstyle/cayenne/property/ValueHolderProperty.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ValueHolderProperty.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.objectstyle.cayenne.property.AbstractSingleObjectArcProperty">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.objectstyle.cayenne.property</FONT> |
| <BR> |
| Class ValueHolderProperty</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">org.objectstyle.cayenne.property.SimpleProperty</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property">org.objectstyle.cayenne.property.AbstractSingleObjectArcProperty</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.objectstyle.cayenne.property.ValueHolderProperty</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html" title="interface in org.objectstyle.cayenne.property">ArcProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A>, <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html" title="interface in org.objectstyle.cayenne.property">PropertyAccessor</A>, <A HREF="../../../../org/objectstyle/cayenne/property/SingleObjectArcProperty.html" title="interface in org.objectstyle.cayenne.property">SingleObjectArcProperty</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>ValueHolderProperty</B><DT>extends <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property">AbstractSingleObjectArcProperty</A></DL> |
| </PRE> |
| |
| <P> |
| Provides access to a property implemented as a ValueHolder Field. This implementation |
| hides the fact of the ValueHolder existence. I.e. it never returns it from |
| 'readPropertyDirectly', returning held value instead. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Andrus Adamchik</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.objectstyle.cayenne.property.ValueHolderProperty">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.objectstyle.cayenne.property.AbstractSingleObjectArcProperty"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class org.objectstyle.cayenne.property.<A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property">AbstractSingleObjectArcProperty</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#complimentaryReverseArcName">complimentaryReverseArcName</A>, <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#targetDescriptor">targetDescriptor</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.objectstyle.cayenne.property.SimpleProperty"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from class org.objectstyle.cayenne.property.<A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#accessor">accessor</A>, <A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#owner">owner</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#ValueHolderProperty(org.objectstyle.cayenne.property.ClassDescriptor, org.objectstyle.cayenne.property.ClassDescriptor, org.objectstyle.cayenne.property.PropertyAccessor, java.lang.String)">ValueHolderProperty</A></B>(<A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html" title="interface in org.objectstyle.cayenne.property">ClassDescriptor</A> owner, |
| <A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html" title="interface in org.objectstyle.cayenne.property">ClassDescriptor</A> targetDescriptor, |
| <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html" title="interface in org.objectstyle.cayenne.property">PropertyAccessor</A> accessor, |
| java.lang.String reverseName)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/objectstyle/cayenne/ValueHolder.html" title="interface in org.objectstyle.cayenne">ValueHolder</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#createValueHolder(java.lang.Object)">createValueHolder</A></B>(java.lang.Object object)</CODE> |
| |
| <BR> |
| Creates a ValueHolder for an object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/objectstyle/cayenne/ValueHolder.html" title="interface in org.objectstyle.cayenne">ValueHolder</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#ensureValueHolderSet(java.lang.Object)">ensureValueHolderSet</A></B>(java.lang.Object object)</CODE> |
| |
| <BR> |
| Checks that an object's ValueHolder field described by this property is set, |
| injecting a ValueHolder if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#injectValueHolder(java.lang.Object)">injectValueHolder</A></B>(java.lang.Object object)</CODE> |
| |
| <BR> |
| Injects a ValueHolder in the object if it hasn't been done yet.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#isFault(java.lang.Object)">isFault</A></B>(java.lang.Object object)</CODE> |
| |
| <BR> |
| Returns true if a property ValueHolder is not initialized or is itself a fault.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#readProperty(java.lang.Object)">readProperty</A></B>(java.lang.Object object)</CODE> |
| |
| <BR> |
| Returns a property value, resolving object fault if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#readPropertyDirectly(java.lang.Object)">readPropertyDirectly</A></B>(java.lang.Object object)</CODE> |
| |
| <BR> |
| Returns a property value of an object without disturbing the object fault status.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#shallowMerge(java.lang.Object, java.lang.Object)">shallowMerge</A></B>(java.lang.Object from, |
| java.lang.Object to)</CODE> |
| |
| <BR> |
| Copies a property value from one object to another.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#writeProperty(java.lang.Object, java.lang.Object, java.lang.Object)">writeProperty</A></B>(java.lang.Object object, |
| java.lang.Object oldValue, |
| java.lang.Object newValue)</CODE> |
| |
| <BR> |
| Sets a property value,resolving object fault if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html#writePropertyDirectly(java.lang.Object, java.lang.Object, java.lang.Object)">writePropertyDirectly</A></B>(java.lang.Object object, |
| java.lang.Object oldValue, |
| java.lang.Object newValue)</CODE> |
| |
| <BR> |
| Sets a property value of an object without disturbing the object fault status.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.objectstyle.cayenne.property.AbstractSingleObjectArcProperty"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.objectstyle.cayenne.property.<A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property">AbstractSingleObjectArcProperty</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#getComplimentaryReverseArc()">getComplimentaryReverseArc</A>, <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#getTargetDescriptor()">getTargetDescriptor</A>, <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#setReverse(java.lang.Object, java.lang.Object, java.lang.Object)">setReverse</A>, <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#setTarget(java.lang.Object, java.lang.Object, boolean)">setTarget</A>, <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#visit(org.objectstyle.cayenne.property.PropertyVisitor)">visit</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.objectstyle.cayenne.property.SimpleProperty"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class org.objectstyle.cayenne.property.<A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#getName()">getName</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.objectstyle.cayenne.property.PropertyAccessor"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface org.objectstyle.cayenne.property.<A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html" title="interface in org.objectstyle.cayenne.property">PropertyAccessor</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#getName()">getName</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="ValueHolderProperty(org.objectstyle.cayenne.property.ClassDescriptor, org.objectstyle.cayenne.property.ClassDescriptor, org.objectstyle.cayenne.property.PropertyAccessor, java.lang.String)"><!-- --></A><H3> |
| ValueHolderProperty</H3> |
| <PRE> |
| public <B>ValueHolderProperty</B>(<A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html" title="interface in org.objectstyle.cayenne.property">ClassDescriptor</A> owner, |
| <A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html" title="interface in org.objectstyle.cayenne.property">ClassDescriptor</A> targetDescriptor, |
| <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html" title="interface in org.objectstyle.cayenne.property">PropertyAccessor</A> accessor, |
| java.lang.String reverseName)</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="isFault(java.lang.Object)"><!-- --></A><H3> |
| isFault</H3> |
| <PRE> |
| public boolean <B>isFault</B>(java.lang.Object object)</PRE> |
| <DL> |
| <DD>Returns true if a property ValueHolder is not initialized or is itself a fault. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html#isFault(java.lang.Object)">isFault</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html" title="interface in org.objectstyle.cayenne.property">ArcProperty</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html#isFault(java.lang.Object)">isFault</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property">AbstractSingleObjectArcProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readPropertyDirectly(java.lang.Object)"><!-- --></A><H3> |
| readPropertyDirectly</H3> |
| <PRE> |
| public java.lang.Object <B>readPropertyDirectly</B>(java.lang.Object object) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#readPropertyDirectly(java.lang.Object)">PropertyAccessor</A></CODE></B></DD> |
| <DD>Returns a property value of an object without disturbing the object fault status. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#readPropertyDirectly(java.lang.Object)">readPropertyDirectly</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html" title="interface in org.objectstyle.cayenne.property">PropertyAccessor</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#readPropertyDirectly(java.lang.Object)">readPropertyDirectly</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readProperty(java.lang.Object)"><!-- --></A><H3> |
| readProperty</H3> |
| <PRE> |
| public java.lang.Object <B>readProperty</B>(java.lang.Object object) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#readProperty(java.lang.Object)">Property</A></CODE></B></DD> |
| <DD>Returns a property value, resolving object fault if needed. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#readProperty(java.lang.Object)">readProperty</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#readProperty(java.lang.Object)">readProperty</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="writePropertyDirectly(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| writePropertyDirectly</H3> |
| <PRE> |
| public void <B>writePropertyDirectly</B>(java.lang.Object object, |
| java.lang.Object oldValue, |
| java.lang.Object newValue) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#writePropertyDirectly(java.lang.Object, java.lang.Object, java.lang.Object)">PropertyAccessor</A></CODE></B></DD> |
| <DD>Sets a property value of an object without disturbing the object fault status. Old |
| value of the property is specified as a hint. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#writePropertyDirectly(java.lang.Object, java.lang.Object, java.lang.Object)">writePropertyDirectly</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html" title="interface in org.objectstyle.cayenne.property">PropertyAccessor</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#writePropertyDirectly(java.lang.Object, java.lang.Object, java.lang.Object)">writePropertyDirectly</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="writeProperty(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| writeProperty</H3> |
| <PRE> |
| public void <B>writeProperty</B>(java.lang.Object object, |
| java.lang.Object oldValue, |
| java.lang.Object newValue) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#writeProperty(java.lang.Object, java.lang.Object, java.lang.Object)">Property</A></CODE></B></DD> |
| <DD>Sets a property value,resolving object fault if needed. Old value of the property |
| is specified as a hint. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#writeProperty(java.lang.Object, java.lang.Object, java.lang.Object)">writeProperty</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#writeProperty(java.lang.Object, java.lang.Object, java.lang.Object)">writeProperty</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="shallowMerge(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| shallowMerge</H3> |
| <PRE> |
| public void <B>shallowMerge</B>(java.lang.Object from, |
| java.lang.Object to) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#shallowMerge(java.lang.Object, java.lang.Object)">Property</A></CODE></B></DD> |
| <DD>Copies a property value from one object to another. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#shallowMerge(java.lang.Object, java.lang.Object)">shallowMerge</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#shallowMerge(java.lang.Object, java.lang.Object)">shallowMerge</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="injectValueHolder(java.lang.Object)"><!-- --></A><H3> |
| injectValueHolder</H3> |
| <PRE> |
| public void <B>injectValueHolder</B>(java.lang.Object object) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD>Injects a ValueHolder in the object if it hasn't been done yet. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#injectValueHolder(java.lang.Object)">injectValueHolder</A></CODE> in interface <CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html#injectValueHolder(java.lang.Object)">injectValueHolder</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/property/SimpleProperty.html" title="class in org.objectstyle.cayenne.property">SimpleProperty</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="ensureValueHolderSet(java.lang.Object)"><!-- --></A><H3> |
| ensureValueHolderSet</H3> |
| <PRE> |
| protected <A HREF="../../../../org/objectstyle/cayenne/ValueHolder.html" title="interface in org.objectstyle.cayenne">ValueHolder</A> <B>ensureValueHolderSet</B>(java.lang.Object object) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD>Checks that an object's ValueHolder field described by this property is set, |
| injecting a ValueHolder if needed. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createValueHolder(java.lang.Object)"><!-- --></A><H3> |
| createValueHolder</H3> |
| <PRE> |
| protected <A HREF="../../../../org/objectstyle/cayenne/ValueHolder.html" title="interface in org.objectstyle.cayenne">ValueHolder</A> <B>createValueHolder</B>(java.lang.Object object) |
| throws <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></PRE> |
| <DL> |
| <DD>Creates a ValueHolder for an object. Default implementation requires that an object |
| implements Persistent interface. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessException.html" title="class in org.objectstyle.cayenne.property">PropertyAccessException</A></CODE></DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/objectstyle/cayenne/property/ToManyListProperty.html" title="class in org.objectstyle.cayenne.property"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/objectstyle/cayenne/property/ValueHolderProperty.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ValueHolderProperty.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.objectstyle.cayenne.property.AbstractSingleObjectArcProperty">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| <!--@SFLOGO@--> <i>Copyright © 2001-2006 <a href= |
| "http://objectstyle.org" target="_top">ObjectStyle.org</a> All Rights Reserved.</i> |
| |
| </BODY> |
| </HTML> |