Template:— packaging_specification (pack_spec) Context:— UK_Defence |
Date: 2010/03/15 14:46:04 Revision: 1.3
|
XML references to the Template
These can be cut and pasted into the XML as required.
packaging_specification
Set up a hyperlink to the template definition.
<template_ref name="packaging_specification" context="UK_Defence" />
Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="packaging_specification" context="UK_Defence" >
<param name="Content">
<param_value></param_value>
<description></description>
</param>
<param name="Derived_from">
<param_value></param_value>
<description></description>
</param>
<param name="ID">
<param_value></param_value>
<description></description>
</param>
<param name="ID_source_organization">
<param_value></param_value>
<description></description>
</param>
<param name="Related_handling_specification">
<param_value></param_value>
<description></description>
</param>
<param name="Related_storage_specification">
<param_value></param_value>
<description></description>
</param>
<param name="Related_transportation_specification">
<param_value></param_value>
<description></description>
</param>
<param name="Required_markings">
<param_value></param_value>
<description></description>
</param>
<param name="Required_packing">
<param_value></param_value>
<description></description>
</param>
</template_table>
Setup a template_example:
<template_example name="packaging_specification">
<param_in name="Content" value=""/>
<param_in name="Derived_from" value=""/>
<param_in name="ID" value=""/>
<param_in name="ID_source_organization" value=""/>
<param_in name="Related_handling_specification" value=""/>
<param_in name="Related_storage_specification" value=""/>
<param_in name="Related_transportation_specification" value=""/>
<param_in name="Required_markings" value=""/>
<param_in name="Required_packing" value=""/>
</template_example>
/
packaging_specification(Content='', Derived_from='', ID='', ID_source_organization='', Related_handling_specification='', Related_storage_specification='', Related_transportation_specification='', Required_markings='', Required_packing='')/
Path
-- Packaging_specification -- Packaging_specification.ID -- [Optional Packaging_specification.Related_handling_specification] -- [Optional Packaging_specification.Related_storage_specification] -- [Optional Packaging_specification.Related_transportation_specification] /
task_list(
Context='/NULL',
ID=@ID,
ID_source_organization=@ID_source_organization,
Name='/NULL',
Name_source_organization='NULL',
Version='/NULL',
Related_tasks=@Related_handling_specification,
Related_tasks=@Related_storage_specification,
Related_tasks=@Related_transportation_specification)/
%^packaging_specification = $task_list.task_list%
-- Content Document_assignmentDocument_assignment.is_assigned_to ->
^packaging_specification
Document_assignment.role = '/IGNORE'
Document_assignment.assigned_document ->
@Content-- Derived_from Applied_activity_method_assignmentApplied_activity_method_assignment.assigned_activity_method ->
^packaging_specification
Applied_activity_method_assignment.role = '/IGNORE'
Applied_activity_method_assignment.items ->
@Derived_from-- [Optional Required_markings] /
assigning_descriptor(
descr=@Required_markings,
class_name='Packaging_specification_required_markings',
ecl_id='urn:plcs:rdl:uk_defence',
is_assigned_to=^packaging_specification)/
-- [Optional Required_packing 0:?] Applied_activity_method_assignmentApplied_activity_method_assignment.assigned_activity_method ->
^packaging_specification
Applied_activity_method_assignment.role = '/IGNORE'
Applied_activity_method_assignment.items ->
@Required_packing
The following entities are instantiated with attributes as specified:
XML representation of path
<refpath
template="packaging_specification">
<comment>
Packaging_specification
</comment>
<comment>
Packaging_specification.ID
</comment>
<comment>
[Optional Packaging_specification.Related_handling_specification]
</comment>
<comment>
[Optional Packaging_specification.Related_storage_specification]
</comment>
<comment>
[Optional Packaging_specification.Related_transportation_specification]
</comment>
<call_template
name="task_list"
business_context="UK_Defence">
<param_in
name="Context"
value="'/NULL'">
</param_in>
<param_in
name="ID"
value="@ID">
</param_in>
<param_in
name="ID_source_organization"
value="@ID_source_organization">
</param_in>
<param_in
name="Name"
value="'/NULL'">
</param_in>
<param_in
name="Name_source_organization"
value="'NULL'">
</param_in>
<param_in
name="Version"
value="'/NULL'">
</param_in>
<param_in
name="Related_tasks"
value="@Related_handling_specification">
</param_in>
<param_in
name="Related_tasks"
value="@Related_storage_specification">
</param_in>
<param_in
name="Related_tasks"
value="@Related_transportation_specification">
</param_in>
</call_template>
<bind
parameter="packaging_specification">
<template_instance
template="task_list"
parameter="task_list">
</template_instance>
</bind>
<comment>
Content
</comment>
<instantiate
entity="Document_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Document_assignment"
attribute="is_assigned_to"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="packaging_specification">
</bound_parameter>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Document_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="Document_assignment"
attribute="assigned_document"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="Content">
</param_in_ref>
</source>
</assign>
<comment>
Derived_from
</comment>
<instantiate
entity="Applied_activity_method_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Applied_activity_method_assignment"
attribute="assigned_activity_method"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="packaging_specification">
</bound_parameter>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Applied_activity_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="Applied_activity_method_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="Derived_from">
</param_in_ref>
</source>
</assign>
<comment>
[Optional Required_markings]
</comment>
<call_template
name="assigning_descriptor"
business_context="UK_Defence">
<param_in
name="descr"
value="@Required_markings">
</param_in>
<param_in
name="class_name"
value="'Packaging_specification_required_markings'">
</param_in>
<param_in
name="ecl_id"
value="'urn:plcs:rdl:uk_defence'">
</param_in>
<param_in
name="is_assigned_to"
value="^packaging_specification">
</param_in>
</call_template>
<comment>
[Optional Required_packing 0:?]
</comment>
<instantiate
entity="Applied_activity_method_assignment"
context="UK_Defence">
</instantiate>
<assign
assignment_type="points-to">
<target>
<express_attribute
entity="Applied_activity_method_assignment"
attribute="assigned_activity_method"
context="UK_Defence">
</express_attribute>
</target>
<source>
<bound_parameter
name="packaging_specification">
</bound_parameter>
</source>
</assign>
<assign
assignment_type="equals"
context="UK_Defence">
<target>
<express_attribute
entity="Applied_activity_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="Applied_activity_method_assignment"
attribute="items"
context="UK_Defence">
</express_attribute>
</target>
<source>
<param_in_ref
name="Required_packing">
</param_in_ref>
</source>
</assign>
</refpath>