| <!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:45:54 EDT 2006 --> |
| <TITLE> |
| EOModelProcessor (Apache Cayenne API Documentation - v.2.0-incubating-SNAPSHOT) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.cayenne.wocompat.EOModelProcessor class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../apache-javadoc.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="EOModelProcessor (Apache Cayenne API Documentation - v.2.0-incubating-SNAPSHOT)"; |
| } |
| </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/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/wocompat/EOObjAttribute.html" title="class in org.apache.cayenne.wocompat"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/wocompat/EOModelProcessor.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="EOModelProcessor.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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.apache.cayenne.wocompat</FONT> |
| <BR> |
| Class EOModelProcessor</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cayenne.wocompat.EOModelProcessor</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>EOModelProcessor</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Class for converting stored Apple EOModel mapping files to Cayenne DataMaps. |
| <P> |
| |
| <P> |
| <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> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.commons.collections.Predicate</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#prototypeChecker">prototypeChecker</A></B></CODE> |
| |
| <BR> |
| </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/apache/cayenne/wocompat/EOModelProcessor.html#EOModelProcessor()">EOModelProcessor</A></B>()</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 boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#isPrototypesEntity(java.lang.String)">isPrototypesEntity</A></B>(java.lang.String entityName)</CODE> |
| |
| <BR> |
| Returns whether an Entity is an EOF EOPrototypes entity.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/map/DataMap.html" title="class in org.apache.cayenne.map">DataMap</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#loadEOModel(java.lang.String)">loadEOModel</A></B>(java.lang.String path)</CODE> |
| |
| <BR> |
| Performs EOModel loading.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/map/DataMap.html" title="class in org.apache.cayenne.map">DataMap</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#loadEOModel(java.lang.String, boolean)">loadEOModel</A></B>(java.lang.String path, |
| boolean generateClientClass)</CODE> |
| |
| <BR> |
| Performs EOModel loading.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#loadModeIndex(java.lang.String)">loadModeIndex</A></B>(java.lang.String path)</CODE> |
| |
| <BR> |
| Returns index.eomodeld contents as a Map.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeAttributes(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.wocompat.EOObjEntity)">makeAttributes</A></B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/wocompat/EOObjEntity.html" title="class in org.apache.cayenne.wocompat">EOObjEntity</A> objEntity)</CODE> |
| |
| <BR> |
| Create ObjAttributes of the specified entity, as well as DbAttributes of the |
| corresponding DbEntity.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/wocompat/EOObjEntity.html" title="class in org.apache.cayenne.wocompat">EOObjEntity</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeEntity(org.apache.cayenne.wocompat.EOModelHelper, java.lang.String, boolean)">makeEntity</A></B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| java.lang.String name, |
| boolean generateClientClass)</CODE> |
| |
| <BR> |
| Creates and returns a new ObjEntity linked to a corresponding DbEntity.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeFlatRelationships(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.map.ObjEntity)">makeFlatRelationships</A></B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/map/ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</A> e)</CODE> |
| |
| <BR> |
| Create Flattened ObjRelationships of the specified entity.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeHelper(java.lang.String, boolean)">makeHelper</A></B>(java.lang.String path, |
| boolean genereateClientClass)</CODE> |
| |
| <BR> |
| Creates an returns new EOModelHelper to process EOModel.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeQuery(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.wocompat.EOObjEntity, java.lang.String)">makeQuery</A></B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/wocompat/EOObjEntity.html" title="class in org.apache.cayenne.wocompat">EOObjEntity</A> entity, |
| java.lang.String queryName)</CODE> |
| |
| <BR> |
| Creates a Cayenne query out of EOFetchSpecification data.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeRelationships(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.map.ObjEntity)">makeRelationships</A></B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/map/ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</A> objEntity)</CODE> |
| |
| <BR> |
| Create ObjRelationships of the specified entity, as well as DbRelationships of the |
| corresponding DbEntity.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/wocompat/EOModelProcessor.html#makeReverseDbRelationships(org.apache.cayenne.map.DbEntity)">makeReverseDbRelationships</A></B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> dbEntity)</CODE> |
| |
| <BR> |
| Create reverse DbRelationships that were not created so far, since Cayenne requires |
| them.</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> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_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>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="prototypeChecker"><!-- --></A><H3> |
| prototypeChecker</H3> |
| <PRE> |
| protected org.apache.commons.collections.Predicate <B>prototypeChecker</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= 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="EOModelProcessor()"><!-- --></A><H3> |
| EOModelProcessor</H3> |
| <PRE> |
| public <B>EOModelProcessor</B>()</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="loadModeIndex(java.lang.String)"><!-- --></A><H3> |
| loadModeIndex</H3> |
| <PRE> |
| public java.util.Map <B>loadModeIndex</B>(java.lang.String path) |
| throws java.lang.Exception</PRE> |
| <DL> |
| <DD>Returns index.eomodeld contents as a Map. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.Exception</CODE><DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="loadEOModel(java.lang.String)"><!-- --></A><H3> |
| loadEOModel</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/map/DataMap.html" title="class in org.apache.cayenne.map">DataMap</A> <B>loadEOModel</B>(java.lang.String path) |
| throws java.lang.Exception</PRE> |
| <DL> |
| <DD>Performs EOModel loading. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>path</CODE> - A path to ".eomodeld" directory. If path doesn't end with ".eomodeld", |
| ".eomodeld" suffix is automatically assumed. |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.Exception</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="loadEOModel(java.lang.String, boolean)"><!-- --></A><H3> |
| loadEOModel</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/cayenne/map/DataMap.html" title="class in org.apache.cayenne.map">DataMap</A> <B>loadEOModel</B>(java.lang.String path, |
| boolean generateClientClass) |
| throws java.lang.Exception</PRE> |
| <DL> |
| <DD>Performs EOModel loading. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>path</CODE> - A path to ".eomodeld" directory. If path doesn't end with ".eomodeld", |
| ".eomodeld" suffix is automatically assumed.<DD><CODE>generateClientClass</CODE> - if true then loading of EOModel is java client classes |
| aware and the following processing will work with Java client class |
| settings of the EOModel. |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.Exception</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isPrototypesEntity(java.lang.String)"><!-- --></A><H3> |
| isPrototypesEntity</H3> |
| <PRE> |
| protected boolean <B>isPrototypesEntity</B>(java.lang.String entityName)</PRE> |
| <DL> |
| <DD>Returns whether an Entity is an EOF EOPrototypes entity. According to EOF |
| conventions EOPrototypes and EO[Adapter]Prototypes entities are considered to be |
| prototypes. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeHelper(java.lang.String, boolean)"><!-- --></A><H3> |
| makeHelper</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> <B>makeHelper</B>(java.lang.String path, |
| boolean genereateClientClass) |
| throws java.lang.Exception</PRE> |
| <DL> |
| <DD>Creates an returns new EOModelHelper to process EOModel. Exists mostly for the |
| benefit of subclasses. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.Exception</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeQuery(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.wocompat.EOObjEntity, java.lang.String)"><!-- --></A><H3> |
| makeQuery</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A> <B>makeQuery</B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/wocompat/EOObjEntity.html" title="class in org.apache.cayenne.wocompat">EOObjEntity</A> entity, |
| java.lang.String queryName)</PRE> |
| <DL> |
| <DD>Creates a Cayenne query out of EOFetchSpecification data. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeEntity(org.apache.cayenne.wocompat.EOModelHelper, java.lang.String, boolean)"><!-- --></A><H3> |
| makeEntity</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/cayenne/wocompat/EOObjEntity.html" title="class in org.apache.cayenne.wocompat">EOObjEntity</A> <B>makeEntity</B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| java.lang.String name, |
| boolean generateClientClass)</PRE> |
| <DL> |
| <DD>Creates and returns a new ObjEntity linked to a corresponding DbEntity. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeAttributes(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.wocompat.EOObjEntity)"><!-- --></A><H3> |
| makeAttributes</H3> |
| <PRE> |
| protected void <B>makeAttributes</B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/wocompat/EOObjEntity.html" title="class in org.apache.cayenne.wocompat">EOObjEntity</A> objEntity)</PRE> |
| <DL> |
| <DD>Create ObjAttributes of the specified entity, as well as DbAttributes of the |
| corresponding DbEntity. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeRelationships(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.map.ObjEntity)"><!-- --></A><H3> |
| makeRelationships</H3> |
| <PRE> |
| protected void <B>makeRelationships</B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/map/ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</A> objEntity)</PRE> |
| <DL> |
| <DD>Create ObjRelationships of the specified entity, as well as DbRelationships of the |
| corresponding DbEntity. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeReverseDbRelationships(org.apache.cayenne.map.DbEntity)"><!-- --></A><H3> |
| makeReverseDbRelationships</H3> |
| <PRE> |
| protected void <B>makeReverseDbRelationships</B>(<A HREF="../../../../org/apache/cayenne/map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</A> dbEntity)</PRE> |
| <DL> |
| <DD>Create reverse DbRelationships that were not created so far, since Cayenne requires |
| them. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0.5</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeFlatRelationships(org.apache.cayenne.wocompat.EOModelHelper, org.apache.cayenne.map.ObjEntity)"><!-- --></A><H3> |
| makeFlatRelationships</H3> |
| <PRE> |
| protected void <B>makeFlatRelationships</B>(<A HREF="../../../../org/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat">EOModelHelper</A> helper, |
| <A HREF="../../../../org/apache/cayenne/map/ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</A> e)</PRE> |
| <DL> |
| <DD>Create Flattened ObjRelationships of the specified entity. |
| <P> |
| <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> </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/apache/cayenne/wocompat/EOModelHelper.html" title="class in org.apache.cayenne.wocompat"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/wocompat/EOObjAttribute.html" title="class in org.apache.cayenne.wocompat"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/wocompat/EOModelProcessor.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="EOModelProcessor.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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> |
| |
| <i>Copyright © 2001-2006 <a href= |
| "http://apache.org" target="_top">Apache.org</a> All Rights Reserved.</i> |
| |
| </BODY> |
| </HTML> |