Template:— obsolescence_management_feedback (obslscnce_mgt_fdbk) Context:— UK_Defence |
Date: 2010/03/15 14:46:04 Revision: 1.5
|
XML references to the Template
These can be cut and pasted into the XML as required.
obsolescence_management_feedback
Set up a hyperlink to the template definition.
<template_ref name="obsolescence_management_feedback" context="UK_Defence" />
Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="obsolescence_management_feedback" context="UK_Defence" >
<param name="ID">
<param_value></param_value>
<description></description>
</param>
<param name="source_organization">
<param_value></param_value>
<description></description>
</param>
<param name="description">
<param_value></param_value>
<description></description>
</param>
<param name="record_date">
<param_value></param_value>
<description></description>
</param>
<param name="recorded_by">
<param_value></param_value>
<description></description>
</param>
<param name="recommendation">
<param_value></param_value>
<description></description>
</param>
<param name="subject_issue">
<param_value></param_value>
<description></description>
</param>
</template_table>
Setup a template_example:
<template_example name="obsolescence_management_feedback">
<param_in name="ID" value=""/>
<param_in name="source_organization" value=""/>
<param_in name="description" value=""/>
<param_in name="record_date" value=""/>
<param_in name="recorded_by" value=""/>
<param_in name="recommendation" value=""/>
<param_in name="subject_issue" value=""/>
</template_example>
Path
Activity_methodActivity_method.name = '/IGNORE'
Activity_method.description = '/IGNORE'
Activity_method.consequence = '/IGNORE'
Activity_method.purpose = '/IGNORE'
Activity_actualActivity_actual.chosen_method ->
Activity_method%^obs_mgt_fbk =
Activity_actual%
-- ID /
identifier(
ID=@ID,
source_organization=@source_organization,
type='obsolescence_management_feedback_id_code',
items=^obs_mgt_fbk)/
-- [Optional Description] /
assigning_descriptor(
descr=@description,
class_name='Description',
ecl_id='urn:plcs:rdl:uk_defence',
is_assigned_to=^obs_mgt_fbk)/
-- recommendation /
assigning_reference_data(
items=Activity_method,
class_name=@recommendation,
ecl_id='urn:plcs:rdl:uk_defence')/
-- relationship to record_date Date_or_date_time_assignmentDate_or_date_time_assignment.role = '/IGNORE'
Date_or_date_time_assignment.items ->
^obs_mgt_fbk
Date_or_date_time_assignment.assigned_date ->
@record_date%^record_date_time =
Date_or_date_time_assignment%
/
assigning_reference_data(
items=^record_date_time,
class_name='Record_date',
ecl_id='urn:plcs:rdl:uk_defence')/
-- relationship to recorded by Applied_activity_assignmentApplied_activity_assignment.role = '/IGNORE'
Applied_activity_assignment.items ->
@recorded_byApplied_activity_assignment.assigned_activity ->
^obs_mgt_fbk
%^rec_by =
Applied_activity_assignment%
/
assigning_reference_data(
items=^rec_by,
class_name='Recorded_by',
ecl_id='urn:plcs:rdl:uk_defence')/
-- relationship to subject issue /
assigning_activity(
role_class_name='subject_issue',
role_ecl_id='urn:plcs:rdl:uk_defence',
assigned_activity=^obs_mgt_fbk,
items=@subject_issue)/
The following entities are instantiated with attributes as specified:
XML representation of path
<refpath
template="obsolescence_management_feedback">
<instantiate
entity="Activity_method"
context="UK_Defence">
</instantiate>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Activity_method"
attribute="name"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Activity_method"
attribute="description"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Activity_method"
attribute="consequence"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Activity_method"
attribute="purpose"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<instantiate
entity="Activity_actual"
context="UK_Defence">
</instantiate>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Activity_actual"
attribute="chosen_method"
context="UK_Defence">
</express_attribute>
</target>
<source>
<express_entity
entity="Activity_method"
context="UK_Defence">
</express_entity>
</source>
</assign>
<bind
parameter="obs_mgt_fbk">
<express_entity
entity="Activity_actual"
context="UK_Defence">
</express_entity>
</bind>
<comment>
ID
</comment>
<call_template
name="identifier"
business_context="UK_Defence">
<param_in
name="ID"
value="@ID">
</param_in>
<param_in
name="source_organization"
value="@source_organization">
</param_in>
<param_in
name="type"
value="'obsolescence_management_feedback_id_code'">
</param_in>
<param_in
name="items"
value="^obs_mgt_fbk">
</param_in>
</call_template>
<comment>
[Optional Description]
</comment>
<call_template
name="assigning_descriptor"
business_context="UK_Defence">
<param_in
name="descr"
value="@description">
</param_in>
<param_in
name="class_name"
value="'Description'">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
<param_in
name="is_assigned_to"
value="^obs_mgt_fbk">
</param_in>
</call_template>
<comment>
recommendation
</comment>
<call_template
name="assigning_reference_data"
business_context="UK_Defence">
<param_in
name="items"
value="Activity_method">
</param_in>
<param_in
name="class_name"
value="@recommendation">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
</call_template>
<comment>
relationship to record_date
</comment>
<instantiate
entity="Date_or_date_time_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Date_or_date_time_assignment"
attribute="role"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Date_or_date_time_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="obs_mgt_fbk">
</bound_parameter>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Date_or_date_time_assignment"
attribute="assigned_date"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="record_date">
</param_in_ref>
</source>
</assign>
<bind
parameter="record_date_time">
<express_entity
entity="Date_or_date_time_assignment"
context="UK_Defence">
</express_entity>
</bind>
<call_template
name="assigning_reference_data"
business_context="UK_Defence">
<param_in
name="items"
value="^record_date_time">
</param_in>
<param_in
name="class_name"
value="'Record_date'">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
</call_template>
<comment>
relationship to recorded by
</comment>
<instantiate
entity="Applied_activity_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Applied_activity_assignment"
attribute="role"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Applied_activity_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="recorded_by">
</param_in_ref>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Applied_activity_assignment"
attribute="assigned_activity"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="obs_mgt_fbk">
</bound_parameter>
</source>
</assign>
<bind
parameter="rec_by">
<express_entity
entity="Applied_activity_assignment"
context="UK_Defence">
</express_entity>
</bind>
<call_template
name="assigning_reference_data"
business_context="UK_Defence">
<param_in
name="items"
value="^rec_by">
</param_in>
<param_in
name="class_name"
value="'Recorded_by'">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
</call_template>
<comment>
relationship to subject issue
</comment>
<call_template
name="assigning_activity"
business_context="UK_Defence">
<param_in
name="role_class_name"
value="'subject_issue'">
</param_in>
<param_in
name="role_ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
<param_in
name="assigned_activity"
value="^obs_mgt_fbk">
</param_in>
<param_in
name="items"
value="@subject_issue">
</param_in>
</call_template>
</refpath>