[open-ils-commits] r15088 - trunk/Open-ILS/examples (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 4 15:24:52 EST 2009
Author: scottmk
Date: 2009-12-04 15:24:47 -0500 (Fri, 04 Dec 2009)
New Revision: 15088
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
Miscellaneous fix-ups to IDL.
Classes "vqar" and "vqbr"
changed datatype to "link" for the matches and attributes fields,
because they are tied to "has_many" links
Class "vqara":
<link> to "vqar" was misspelled as "vaqr"
Class "aws" :
removed "has_many" link for circulation_checkins, which is not
defined as a field.
Class "au":
added label attributes for fields "wsid" and "ws_ou"
Class "aou" :
removed "has_many" links for distribution_formulas and
distribution_formula_entries, which are not defined as fields.
M Open-ILS/examples/fm_IDL.xml
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-12-04 19:14:27 UTC (rev 15087)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-12-04 20:24:47 UTC (rev 15088)
@@ -267,8 +267,8 @@
<field reporter:label="Bib Source" name="bib_source" reporter:datatype="link"/>
<field reporter:label="Final Target Record" name="imported_as" reporter:datatype="link"/>
<field reporter:label="Purpose" name="purpose" reporter:datatype="text"/>
- <field reporter:label="Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="text"/>
- <field reporter:label="Matches" name="matches" oils_persist:virtual="true" reporter:datatype="text"/>
+ <field reporter:label="Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Matches" name="matches" oils_persist:virtual="true" reporter:datatype="link"/>
</fields>
<links>
<link field="queue" reltype="has_a" key="id" map="" class="vbq"/>
@@ -384,8 +384,8 @@
<field reporter:label="Queue" name="queue" reporter:datatype="link"/>
<field reporter:label="Final Target Record" name="imported_as" reporter:datatype="link"/>
<field reporter:label="Purpose" name="purpose" reporter:datatype="text"/>
- <field reporter:label="Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="text"/>
- <field reporter:label="Matches" name="matches" oils_persist:virtual="true" reporter:datatype="text"/>
+ <field reporter:label="Attributes" name="attributes" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Matches" name="matches" oils_persist:virtual="true" reporter:datatype="link"/>
</fields>
<links>
<link field="queue" reltype="has_a" key="id" map="" class="vaq"/>
@@ -434,7 +434,7 @@
<field reporter:label="Value" name="attr_value" reporter:datatype="text"/>
</fields>
<links>
- <link field="record" reltype="has_a" key="id" map="" class="vaqr"/>
+ <link field="record" reltype="has_a" key="id" map="" class="vqar"/>
<link field="field" reltype="has_a" key="id" map="" class="vqarad"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
@@ -798,7 +798,6 @@
<links>
<link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
<link field="circulations" reltype="has_many" key="workstation" map="" class="circ"/>
- <link field="circulation_checkins" reltype="has_many" key="checkin_workstation" map="" class="circ"/>
</links>
</class>
@@ -1673,8 +1672,8 @@
<field reporter:label="Standing Penalties" name="standing_penalties" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Statistical Category Entries" name="stat_cat_entries" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Survey Responses" name="survey_responses" oils_persist:virtual="true" reporter:datatype="link"/>
- <field name="ws_ou" oils_persist:virtual="true" reporter:datatype="link"/>
- <field name="wsid" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Workstation Org Unit" name="ws_ou" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Workstation ID" name="wsid" oils_persist:virtual="true" reporter:datatype="link"/>
<field reporter:label="Active" name="active" reporter:datatype="bool"/>
<field reporter:label="Alert Message" name="alert_message" reporter:datatype="text"/>
<field reporter:label="Barred" name="barred" reporter:datatype="bool"/>
@@ -3108,8 +3107,6 @@
<link field="addresses" reltype="has_many" key="org_unit" map="" class="aoa"/>
<link field="checkins" reltype="has_many" key="checkin_lib" map="" class="circ"/>
<link field="workstations" reltype="has_many" key="owning_lib" map="" class="aws"/>
- <link field="distribution_formulas" reltype="has_many" key="owner" map="" class="acqdf"/>
- <link field="distribution_formula_entries" reltype="has_many" key="owning_lib" map="" class="acqdfe"/>
<link field="fund_alloc_pcts" reltype="has_many" key="org" map="" class="acqfap"/>
<link field="copy_location_orders" reltype="has_many" key="org" map="" class="acplo"/>
<link field="atc_prev_dests" reltype="has_many" key="prev_dest" map="" class="atc"/>
More information about the open-ils-commits
mailing list