<link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
<link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
<link field="checkin_workstation" reltype="has_a" key="id" map="" class="aws"/>
- <link field="parent_circ" reltype="might_have" key="id" map="" class="circ"/>
+ <link field="parent_circ" reltype="has_a" key="id" map="" class="circ"/>
<link field="renewals" reltype="has_many" key="parent_circ" map="" class="circ"/>
</links>
</class>
value_field = osrfHashGet( fields, osrfHashGet(meta, "primarykey") );
}
- /* This causes 'might_have' fleshing to flesh the base object onto itself as
- * opposed to the linked object when fleshing a self-referential foreign key
if (!(strcmp( osrfHashGet(kid_link, "reltype"), "might_have" ))) { // might_have
value_field = osrfHashGet( fields, osrfHashGet(meta, "primarykey") );
}
- */
osrfStringArray* link_map = osrfHashGet( kid_link, "map" );