[open-ils-commits] r12105 - trunk/Open-ILS/examples (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Feb 7 21:33:05 EST 2009
Author: miker
Date: 2009-02-07 21:33:03 -0500 (Sat, 07 Feb 2009)
New Revision: 12105
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
adding IDL for note tables for all bucket and item tables; adding IDL for pos field for optional ordering of items within a bucket
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-02-08 02:12:31 UTC (rev 12104)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-02-08 02:33:03 UTC (rev 12105)
@@ -1181,12 +1181,26 @@
<field name="id" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="id" />
<field name="target_copy" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="link"/>
<field name="create_time" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="timestamp" />
+ <field name="pos" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="int" />
</fields>
<links>
<link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
<link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
</links>
</class>
+ <class id="ccbin" controller="open-ils.cstore" oils_obj:fieldmapper="container::copy_bucket_item_note" oils_persist:tablename="container.copy_bucket_item_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_item_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="item" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="item" reltype="has_a" key="id" map="" class="ccbi"/>
+ </links>
+ </class>
<class id="are" controller="open-ils.cstore" oils_obj:fieldmapper="authority::record_entry" oils_persist:tablename="authority.record_entry">
<fields oils_persist:primary="id" oils_persist:sequence="authority.record_entry_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -2292,12 +2306,26 @@
<field name="id" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="id" />
<field name="target_call_number" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="link" />
<field name="create_time" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="timestamp" />
+ <field name="pos" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="int" />
</fields>
<links>
<link field="target_call_number" reltype="has_a" key="id" map="" class="acn"/>
<link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
</links>
</class>
+ <class id="ccnbin" controller="open-ils.cstore" oils_obj:fieldmapper="container::call_number_bucket_item_note" oils_persist:tablename="container.call_number_bucket_item_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_item_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="item" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="item" reltype="has_a" key="id" map="" class="ccnbi"/>
+ </links>
+ </class>
<class id="cbreb" controller="open-ils.cstore" oils_obj:fieldmapper="container::biblio_record_entry_bucket" oils_persist:tablename="container.biblio_record_entry_bucket">
<fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -2316,6 +2344,19 @@
<link field="items" reltype="has_many" key="bucket" map="" class="cbrebi"/>
</links>
</class>
+ <class id="cbrebn" controller="open-ils.cstore" oils_obj:fieldmapper="container::biblio_record_entry_bucket_note" oils_persist:tablename="container.biblio_record_entry_bucket_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="bucket" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
+ </links>
+ </class>
<class id="ahcm" controller="open-ils.cstore" oils_obj:fieldmapper="action::hold_copy_map" oils_persist:tablename="action.hold_copy_map">
<fields oils_persist:primary="id" oils_persist:sequence="action.hold_copy_map_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -2705,6 +2746,19 @@
<link field="items" reltype="has_many" key="bucket" map="" class="ccnbi"/>
</links>
</class>
+ <class id="ccnbn" controller="open-ils.cstore" oils_obj:fieldmapper="container::call_number_bucket_note" oils_persist:tablename="container.call_number_bucket_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="bucket" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
+ </links>
+ </class>
<class id="asc" controller="open-ils.cstore" oils_obj:fieldmapper="asset::stat_cat" oils_persist:tablename="asset.stat_cat" reporter:label="Asset Statistical Category">
<fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -2784,6 +2838,19 @@
<link field="items" reltype="has_many" key="bucket" map="" class="cubi"/>
</links>
</class>
+ <class id="cubn" controller="open-ils.cstore" oils_obj:fieldmapper="container::user_bucket_note" oils_persist:tablename="container.user_bucket_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="bucket" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
+ </links>
+ </class>
<class id="mcrp" controller="open-ils.cstore" oils_obj:fieldmapper="money::credit_payment" oils_persist:tablename="money.credit_payment" reporter:label="House Credit Payment">
<fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -2998,12 +3065,26 @@
<field name="id" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="id" />
<field name="target_user" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="link"/>
<field name="create_time" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="timestamp" />
+ <field name="pos" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="int" />
</fields>
<links>
<link field="target_user" reltype="has_a" key="id" map="" class="au"/>
<link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
</links>
</class>
+ <class id="cubin" controller="open-ils.cstore" oils_obj:fieldmapper="container::user_bucket_item_note" oils_persist:tablename="container.user_bucket_item_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_item_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="item" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="item" reltype="has_a" key="id" map="" class="cubi"/>
+ </links>
+ </class>
<class id="mus" controller="open-ils.cstore" oils_obj:fieldmapper="money::user_summary" oils_persist:tablename="money.usr_summary">
<fields oils_persist:primary="usr" oils_persist:sequence="">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -3449,6 +3530,19 @@
<link field="items" reltype="has_many" key="bucket" map="" class="ccbi"/>
</links>
</class>
+ <class id="ccbn" controller="open-ils.cstore" oils_obj:fieldmapper="container::copy_bucket_note" oils_persist:tablename="container.copy_bucket_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="bucket" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
+ </links>
+ </class>
<class id="puwoum" controller="open-ils.cstore" oils_obj:fieldmapper="permission::usr_work_ou_map" oils_persist:tablename="permission.usr_work_ou_map">
<fields oils_persist:primary="id" oils_persist:sequence="permission.usr_work_ou_map_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
@@ -3619,12 +3713,26 @@
<field name="id" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="id" />
<field name="target_biblio_record_entry" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="link"/>
<field name="create_time" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="timestamp" />
+ <field name="pos" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="int" />
</fields>
<links>
<link field="target_biblio_record_entry" reltype="has_a" key="id" map="" class="bre"/>
<link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
</links>
</class>
+ <class id="cbrebin" controller="open-ils.cstore" oils_obj:fieldmapper="container::biblio_record_entry_bucket_item_note" oils_persist:tablename="container.biblio_record_entry_bucket_item_note">
+ <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_note_id_seq">
+ <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 name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="item" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+ </fields>
+ <links>
+ <link field="item" reltype="has_a" key="id" map="" class="cbrebi"/>
+ </links>
+ </class>
<class id="asce" controller="open-ils.cstore" oils_obj:fieldmapper="asset::stat_cat_entry" oils_persist:tablename="asset.stat_cat_entry" reporter:label="Item Stat Cat Entry">
<fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
More information about the open-ils-commits
mailing list