blob: 4ce4659bfb883a4a77ea1b460dd4e4b060c2c767 [file] [log] [blame]
<!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>
ArcProperty (Cayenne API Documentation - v.1.2)
</TITLE>
<META NAME="keywords" CONTENT="org.objectstyle.cayenne.property.ArcProperty interface">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../objectstyle-javadoc.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="ArcProperty (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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/objectstyle/cayenne/property/BaseClassDescriptor.html" title="class in org.objectstyle.cayenne.property"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/objectstyle/cayenne/property/ArcProperty.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ArcProperty.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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>
Interface ArcProperty</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><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>, java.io.Serializable</DD>
</DL>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/objectstyle/cayenne/property/CollectionProperty.html" title="interface in org.objectstyle.cayenne.property">CollectionProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/SingleObjectArcProperty.html" title="interface in org.objectstyle.cayenne.property">SingleObjectArcProperty</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/objectstyle/cayenne/property/AbstractCollectionProperty.html" title="class in org.objectstyle.cayenne.property">AbstractCollectionProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property">AbstractSingleObjectArcProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/IndexedListProperty.html" title="class in org.objectstyle.cayenne.property">IndexedListProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/ListProperty.html" title="class in org.objectstyle.cayenne.property">ListProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/PersistentObjectProperty.html" title="class in org.objectstyle.cayenne.property">PersistentObjectProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/ToManyListProperty.html" title="class in org.objectstyle.cayenne.property">ToManyListProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/ValueHolderProperty.html" title="class in org.objectstyle.cayenne.property">ValueHolderProperty</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>ArcProperty</B><DT>extends <A HREF="../../../../org/objectstyle/cayenne/property/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A></DL>
</PRE>
<P>
A Property that represents an "arc" connecting source node to the target node in the
graph.
<P>
<P>
<DL>
<DT><B>Since:</B></DT>
<DD>1.2</DD>
<DT><B>Author:</B></DT>
<DD>Andrus Adamchik</DD>
</DL>
<HR>
<P>
<!-- ========== 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>&nbsp;<A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html" title="interface in org.objectstyle.cayenne.property">ArcProperty</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html#getComplimentaryReverseArc()">getComplimentaryReverseArc</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a complimentary reverse ArcProperty or null if no reverse arc exists.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html" title="interface in org.objectstyle.cayenne.property">ClassDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html#getTargetDescriptor()">getTargetDescriptor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a ClassDescriptor for the type of graph nodes pointed to by this arc
property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html#isFault(java.lang.Object)">isFault</A></B>(java.lang.Object&nbsp;target)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether a target node connected to a given object is an unresolved fault.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.objectstyle.cayenne.property.Property"><!-- --></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/Property.html" title="interface in org.objectstyle.cayenne.property">Property</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/objectstyle/cayenne/property/Property.html#injectValueHolder(java.lang.Object)">injectValueHolder</A>, <A HREF="../../../../org/objectstyle/cayenne/property/Property.html#readProperty(java.lang.Object)">readProperty</A>, <A HREF="../../../../org/objectstyle/cayenne/property/Property.html#shallowMerge(java.lang.Object, java.lang.Object)">shallowMerge</A>, <A HREF="../../../../org/objectstyle/cayenne/property/Property.html#visit(org.objectstyle.cayenne.property.PropertyVisitor)">visit</A>, <A HREF="../../../../org/objectstyle/cayenne/property/Property.html#writeProperty(java.lang.Object, java.lang.Object, java.lang.Object)">writeProperty</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>, <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#readPropertyDirectly(java.lang.Object)">readPropertyDirectly</A>, <A HREF="../../../../org/objectstyle/cayenne/property/PropertyAccessor.html#writePropertyDirectly(java.lang.Object, java.lang.Object, java.lang.Object)">writePropertyDirectly</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ 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="getComplimentaryReverseArc()"><!-- --></A><H3>
getComplimentaryReverseArc</H3>
<PRE>
<A HREF="../../../../org/objectstyle/cayenne/property/ArcProperty.html" title="interface in org.objectstyle.cayenne.property">ArcProperty</A> <B>getComplimentaryReverseArc</B>()</PRE>
<DL>
<DD>Returns a complimentary reverse ArcProperty or null if no reverse arc exists.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTargetDescriptor()"><!-- --></A><H3>
getTargetDescriptor</H3>
<PRE>
<A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html" title="interface in org.objectstyle.cayenne.property">ClassDescriptor</A> <B>getTargetDescriptor</B>()</PRE>
<DL>
<DD>Returns a ClassDescriptor for the type of graph nodes pointed to by this arc
property. Note that considering that a target object may be a subclass of the class
handled by the descriptor, users of this method may need to call
<A HREF="../../../../org/objectstyle/cayenne/property/ClassDescriptor.html#getSubclassDescriptor(java.lang.Class)"><CODE>ClassDescriptor.getSubclassDescriptor(Class)</CODE></A> before using the descriptor to
access objects.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isFault(java.lang.Object)"><!-- --></A><H3>
isFault</H3>
<PRE>
boolean <B>isFault</B>(java.lang.Object&nbsp;target)</PRE>
<DL>
<DD>Returns whether a target node connected to a given object is an unresolved fault.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/objectstyle/cayenne/property/AbstractSingleObjectArcProperty.html" title="class in org.objectstyle.cayenne.property"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/objectstyle/cayenne/property/BaseClassDescriptor.html" title="class in org.objectstyle.cayenne.property"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/objectstyle/cayenne/property/ArcProperty.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ArcProperty.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<!--@SFLOGO@--> &nbsp; <i>Copyright &#169; 2001-2006 <a href=
"http://objectstyle.org" target="_top">ObjectStyle.org</a> All Rights Reserved.</i>
</BODY>
</HTML>