[open-ils-commits] r8759 - trunk/Open-ILS/examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 15 16:05:38 EST 2008
Author: miker
Date: 2008-02-15 15:35:53 -0500 (Fri, 15 Feb 2008)
New Revision: 8759
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
adding test result virtual class and fixing cut-n-paste error
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2008-02-15 19:12:28 UTC (rev 8758)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2008-02-15 20:35:53 UTC (rev 8759)
@@ -96,7 +96,21 @@
</fields>
</class>
+ <class id="ccmtr" controller="open-ils.cstore" oils_obj:fieldmapper="config::circ_matrix_test_result" oils_persist:virtual="true">
+ <fields oils_persist:primary="matchpoint">
+ <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
+ <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
+ <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
+ <field reporter:label="Matchpoint ID" name="matchpoint" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id"/>
+ <field reporter:label="Success" name="success" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="bool"/>
+ <field reporter:label="Failure Part" name="fail_part" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text"/>
+ </fields>
+ <links>
+ <link field="matchpoint" reltype="has_a" key="id" map="" class="ccmm"/>
+ </links>
+ </class>
+
<!-- Actually in the DB -->
<class id="auoi" controller="open-ils.cstore" oils_obj:fieldmapper="actor::usr_org_unit_opt_in" oils_persist:tablename="actor.usr_org_unit_opt_in" reporter:label="User Sharing Opt-in">
<fields oils_persist:primary="id" oils_persist:sequence="actor.usr_org_unit_opt_in_id_seq">
@@ -225,8 +239,8 @@
<field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
<field reporter:label="Matchpoint ID" name="matchpoint" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id"/>
<field reporter:label="Duration Rule" name="duration_rule" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
- <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
- <field reporter:label="Max Fine Rule" name="max_fine_rule" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field reporter:label="Recurring Fine Rule" name="recurring_fine_rule" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field reporter:label="Max Fine Rule" name="max_fine_rule" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="link"/>
</fields>
<links>
<link field="matchpoint" reltype="has_a" key="id" map="" class="ccmm"/>
More information about the open-ils-commits
mailing list