<field reporter:label="Name" name="name" reporter:datatype="id" reporter:selector="label" oils_obj:required="true"/>
<field reporter:label="Label" name="label" reporter:datatype="text" oils_obj:required="true"/>
<field reporter:label="Description" name="description" reporter:datatype="text" />
+ <field reporter:label="Multi-valued?" name="multi" reporter:datatype="bool"/>
<field reporter:label="Filter?" name="filter" reporter:datatype="bool"/>
<field reporter:label="Sorter?" name="sorter" reporter:datatype="bool"/>
<field reporter:label="MARC Tag" name="tag" reporter:datatype="text"/>
</permacrud>
</class>
- <class id="mra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_attr" oils_persist:tablename="metabib.record_attr" reporter:label="SVF Record Attribute" oils_persist:field_safe="true">
+ <class id="murav" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::uncontrolled_record_attr_value" oils_persist:tablename="metabib.uncontrolled_record_attr_value" reporter:label="Uncontrolled Record Attribute Values" oils_persist:field_safe="true">
+ <fields oils_persist:primary="id" oils_persist:sequence="metabib.uncontrolled_record_attr_value_id_seq">
+ <field reporter:label="ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
+ <field reporter:label="Attribute" name="attr" reporter:datatype="text" oils_obj:required="true"/>
+ <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true"/>
+ </fields>
+ <links>
+ <link field="attr" reltype="has_a" key="name" map="" class="crad"/>
+ </links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <retrieve/>
+ </actions>
+ </permacrud>
+ </class>
+
+
+ <class id="mrs" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_sorter" oils_persist:tablename="metabib.record_sorter" reporter:label="Record Sort Values" oils_persist:field_safe="true">
+ <fields oils_persist:primary="id" oils_persist:sequence="metabib.record_sorter_id_seq">
+ <field reporter:label="ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
+ <field reporter:label="Bib Record ID" name="source" reporter:datatype="int" oils_obj:required="true"/>
+ <field reporter:label="Attribute" name="attr" reporter:datatype="text" oils_obj:required="true"/>
+ <field reporter:label="Value" name="value" reporter:datatype="text" oils_obj:required="true"/>
+ </fields>
+ <links>
+ <link field="source" reltype="has_a" key="id" map="" class="bre"/>
+ <link field="attr" reltype="has_a" key="name" map="" class="crad"/>
+ </links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <retrieve/>
+ </actions>
+ </permacrud>
+ </class>
+
+
+ <class id="mravl" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_attr_vector_list" oils_persist:tablename="metabib.record_attr_vector_list" reporter:label="MVF Record Attribute Vectors" oils_persist:field_safe="true">
+ <fields oils_persist:primary="source">
+ <field reporter:label="Record ID" name="source" reporter:datatype="id" oils_obj:required="true"/>
+ <field reporter:label="Vector" name="vlist" reporter:datatype="text" oils_obj:required="true"/> <!-- Actually an int[], but this is the best we can do in fm_IDL.xml -->
+ </fields>
+ <links>
+ <link field="source" reltype="has_a" key="id" map="" class="bre"/>
+ </links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <retrieve/>
+ </actions>
+ </permacrud>
+ </class>
+
+
+ <class id="mra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="metabib::record_attr" oils_persist:tablename="metabib.record_attr" reporter:label="SVF Record Attribute" oils_persist:field_safe="true" oils_persist:readonly="true">
<fields oils_persist:primary="id">
<field reporter:label="Record ID" name="id" reporter:datatype="id" oils_obj:required="true"/>
<field reporter:label="Attributes" name="attrs" reporter:datatype="text" oils_obj:required="true"/>