Template:— required_pse_constituent_interoperability (rpse_ctin) Context:— UK_Defence |
Date: 2009/04/17 11:32:31 Revision: 1.6
|
XML references to the Template
These can be cut and pasted into the XML as required.
required_pse_constituent_interoperability
Set up a hyperlink to the template definition.
<template_ref name="required_pse_constituent_interoperability" context="UK_Defence" />
Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="required_pse_constituent_interoperability" context="UK_Defence" >
<param name="id">
<param_value></param_value>
<description></description>
</param>
<param name="category">
<param_value>Interoperability</param_value>
<description></description>
</param>
<param name="description">
<param_value></param_value>
<description></description>
</param>
<param name="source_organization">
<param_value></param_value>
<description></description>
</param>
<param name="related_pse_constituent">
<param_value></param_value>
<description></description>
</param>
<param name="related_item">
<param_value></param_value>
<description></description>
</param>
<param name="required_pse_usage_profile">
<param_value></param_value>
<description></description>
</param>
</template_table>
Setup a template_example:
<template_example name="required_pse_constituent_interoperability">
<param_in name="id" value=""/>
<param_in name="category" value="Interoperability"/>
<param_in name="description" value=""/>
<param_in name="source_organization" value=""/>
<param_in name="related_pse_constituent" value=""/>
<param_in name="related_item" value=""/>
<param_in name="required_pse_usage_profile" value=""/>
</template_example>
Path
The following entities are instantiated with attributes as specified:
XML representation of path
<refpath
template="required_pse_constituent_interoperability">
<instantiate
entity="Product_group_membership"
context="UK_Defence">
</instantiate>
<comment>
Mark the Product_group_membership entity as
</comment>
<comment>
referable when this template is used by binding it to the reference
</comment>
<comment>
parameter prod_grp_membership
</comment>
<instantiate
entity="Product_group"
context="UK_Defence">
</instantiate>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Product_group"
attribute="id"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value="'/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Product_group"
attribute="purpose"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value="'/IGNORE' ">
</string>
</source>
</assign>
<bind
parameter="req_pse_const_interop">
<express_entity
entity="Product_group_membership"
context="UK_Defence">
</express_entity>
</bind>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Product_group_membership"
attribute="of_group"
context="UK_Defence">
</express_attribute>
</target>
<source>
<express_entity
entity="Product_group"
context="UK_Defence">
</express_entity>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Product_group_membership"
attribute="member"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="related_item">
</param_in_ref>
</source>
</assign>
<bind
parameter="pgm_effectivity">
<express_entity
entity="Effectivity"
context="UK_Defence">
</express_entity>
</bind>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Effectivity"
attribute="id"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Effectivity"
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="Effectivity"
attribute="description"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<comment>
New Effectivity assignment
</comment>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Effectivity_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="Effectivity_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="req_pse_const_interop">
</bound_parameter>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Effectivity_assignment"
attribute="role"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<comment>
Instantiate Effectivity_assignment entity (no.1)
</comment>
<bind
parameter="pgm_effect_asngt">
<express_entity
entity="Effectivity_assignment"
context="UK_Defence">
</express_entity>
</bind>
<assign
assignment_type="points-to">
<target>
<bound_parameter
name="pgm_effect_asngt.assigned_effectivity">
</bound_parameter>
</target>
<source>
<bound_parameter
name="pgm_effectivity">
</bound_parameter>
</source>
</assign>
<comment>
create the assignment to link the reqd_pse_cont_usg_profile
</comment>
<instantiate
entity="Task_method_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Task_method_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="Task_method_assignment"
attribute="assigned_activity_method"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="required_pse_usage_profile">
</param_in_ref>
</source>
</assign>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Task_method_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="req_pse_const_interop">
</bound_parameter>
</source>
</assign>
<comment>
id identifier
</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="'required_pse_constituent_interoperability_id_code'">
</param_in>
<param_in
name="items"
value="^req_pse_const_interop">
</param_in>
</call_template>
<comment>
Classify the membership as Constituent_interoperability
</comment>
<call_template
name="assigning_reference_data"
business_context="UK_Defence">
<param_in
name="items"
value="^req_pse_const_interop">
</param_in>
<param_in
name="class_name"
value="@category">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
</call_template>
<comment>
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="^req_pse_const_interop">
</param_in>
</call_template>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Effectivity_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="Effectivity_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="related_pse_constituent">
</param_in_ref>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Effectivity_assignment"
attribute="role"
context="UK_Defence">
</express_attribute>
</target>
<source>
<string
value=" '/IGNORE' ">
</string>
</source>
</assign>
<comment>
Make Ref Params of Effectivity_assignment entity (no.2)
</comment>
<bind
parameter="pse_const_effect_asngt">
<express_entity
entity="Effectivity_assignment"
context="UK_Defence">
</express_entity>
</bind>
<assign
assignment_type="points-to">
<target>
<bound_parameter
name="pse_const_effect_asngt.assigned_effectivity">
</bound_parameter>
</target>
<source>
<bound_parameter
name="pgm_effectivity">
</bound_parameter>
</source>
</assign>
</refpath>