Template:— required_pse_constituent_usage_reliability (rpse_ctur)
Context:— UK_Defence
Date: 2009/04/17 11:32:31
Revision: 1.4
Template: required_pse_constituent_usage_reliability

XML references to the Template

These can be cut and pasted into the XML as required.

required_pse_constituent_usage_reliability

Set up a hyperlink to the template definition.
<template_ref name="required_pse_constituent_usage_reliability" context="UK_Defence" />

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="required_pse_constituent_usage_reliability" context="UK_Defence" >
  <param name="related_required_usage">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="source_organization">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="annual_usage">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="annual_usage_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="annual_usage_si_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_removals">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_removals_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_removals_si_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_technical_failures">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_technical_failures_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_technical_failures_si_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_technical_maintenance">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_technical_maintenance_unit">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="mean_usage_between_technical_maintenance_si_unit">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="required_pse_constituent_usage_reliability">
  <param_in name="related_required_usage" value=""/>
  <param_in name="id" value=""/>
  <param_in name="source_organization" value=""/>
  <param_in name="annual_usage" value=""/>
  <param_in name="annual_usage_unit" value=""/>
  <param_in name="annual_usage_si_unit" value=""/>
  <param_in name="mean_usage_between_removals" value=""/>
  <param_in name="mean_usage_between_removals_unit" value=""/>
  <param_in name="mean_usage_between_removals_si_unit" value=""/>
  <param_in name="mean_usage_between_technical_failures" value=""/>
  <param_in name="mean_usage_between_technical_failures_unit" value=""/>
  <param_in name="mean_usage_between_technical_failures_si_unit" value=""/>
  <param_in name="mean_usage_between_technical_maintenance" value=""/>
  <param_in name="mean_usage_between_technical_maintenance_unit" value=""/>
  <param_in name="mean_usage_between_technical_maintenance_si_unit" value=""/>
</template_example>

required_pse_constituent_usage_reliability
/required_pse_constituent_usage_reliability(related_required_usage='', id='', source_organization='', annual_usage='', annual_usage_unit='', annual_usage_si_unit='', mean_usage_between_removals='', mean_usage_between_removals_unit='', mean_usage_between_removals_si_unit='', mean_usage_between_technical_failures='', mean_usage_between_technical_failures_unit='', mean_usage_between_technical_failures_si_unit='', mean_usage_between_technical_maintenance='', mean_usage_between_technical_maintenance_unit='', mean_usage_between_technical_maintenance_si_unit='')/

Path

/representing_state_type(
    sd_class_name='pse_constituent_usage_reliability',
    sd_ecl_id='urn:plcs:rdl:tlss')/
%^required_pse_constituent_usage_reliability = $representing_state_type.state_def%

-- id identifier
/identifier(
    ID=@id,
    source_organization=@source_organization,
    type='required_pse_constituent_usage_reliability_id_code',
    items=^required_pse_constituent_usage_reliability)/
Applied_state_definition_assignment
Applied_state_definition_assignment.described_state_definition -> ^required_pse_constituent_usage_reliability
Applied_state_definition_assignment.assigned_to -> @related_required_usage

-- annual_usage
/assigning_product_property(
    property_class_name='annual_usage',
    property_ecl_id='urn:plcs:rdl:tlss',
    described_element=^required_pse_constituent_usage_reliability)/

-- Assign annual_usage reference parameter
-- not sure if needed
%^annual_usage = $assigning_product_property.property%

-- annual_usage Value and Unit (opted for hours - as couldn't see cbis definition
/product_property_numeric(
    value=@annual_usage,
    unit=@annual_usage_unit,
    unit_ecl_id='urn:plcs:rdl:tlss',
    si_unit=@annual_usage_si_unit,
    context='Pse_constituent_usage_reliability',
    context_ecl_id='urn:plcs:rdl:tlss',
    property=^annual_usage)/

-- mean_usage_between_removals
/assigning_product_property(
    property_class_name='mean_usage_between_removals',
    property_ecl_id='urn:plcs:rdl:tlss',
    described_element=^required_pse_constituent_usage_reliability)/

-- Assign mean_usage_between_removals reference parameter
-- not sure if needed
%^mean_usage_between_removals = $assigning_product_property.property%

-- mean_usage_between_removals Value and Unit (opted for hours - as couldn't see cbis definition
/product_property_numeric(
    value=@mean_usage_between_removals,
    unit=@mean_usage_between_removals_unit,
    unit_ecl_id='urn:plcs:rdl:tlss',
    si_unit=@mean_usage_between_removals_si_unit,
    context='Pse_constituent_usage_reliability',
    context_ecl_id='urn:plcs:rdl:tlss',
    property=^mean_usage_between_removals)/

-- mean_usage_between_technical_failures
/assigning_product_property(
    property_class_name='mean_usage_between_technical_failures',
    property_ecl_id='urn:plcs:rdl:tlss',
    described_element=^required_pse_constituent_usage_reliability)/

-- Assign mean_usage_between_technical_failures reference parameter
-- not sure if needed
%^mean_usage_between_technical_failures = $assigning_product_property.property%

-- mean_usage_between_technical_failures Value and Unit (opted for hours - as couldn't see cbis definition
/product_property_numeric(
    value=@mean_usage_between_technical_failures,
    unit=@mean_usage_between_technical_failures_unit,
    unit_ecl_id='urn:plcs:rdl:tlss',
    si_unit=@mean_usage_between_technical_failures_si_unit,
    context='Pse_constituent_usage_reliability',
    context_ecl_id='urn:plcs:rdl:tlss',
    property=^mean_usage_between_technical_failures)/

-- mean_usage_between_technical_maintenance
/assigning_product_property(
    property_class_name='mean_usage_between_technical_maintenance',
    property_ecl_id='urn:plcs:rdl:tlss',
    described_element=^required_pse_constituent_usage_reliability)/

-- Assign mean_usage_between_technical_maintenance reference parameter
-- not sure if needed
%^mean_usage_between_technical_maintenance = $assigning_product_property.property%

-- mean_usage_between_technical_maintenance Value and Unit (opted for hours - as couldn't see cbis definition
/product_property_numeric(
    value=@mean_usage_between_technical_maintenance,
    unit=@mean_usage_between_technical_maintenance_unit,
    unit_ecl_id='urn:plcs:rdl:tlss',
    si_unit=@mean_usage_between_technical_maintenance_si_unit,
    context='Pse_constituent_usage_reliability',
    context_ecl_id='urn:plcs:rdl:tlss',
    property=^mean_usage_between_technical_maintenance)/

XML representation of path

<refpath
   template="required_pse_constituent_usage_reliability">
   <call_template
      name="representing_state_type"
      business_context="UK_Defence">
      <param_in
         name="sd_class_name"
         value="'pse_constituent_usage_reliability'">
         
      </param_in>
      <param_in
         name="sd_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
   </call_template>
   <bind
      parameter="required_pse_constituent_usage_reliability">
      <template_instance
         template="representing_state_type"
         parameter="state_def">
         
      </template_instance>
   </bind>
   <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_usage_reliability_id_code'">
         
      </param_in>
      <param_in
         name="items"
         value="^required_pse_constituent_usage_reliability">
         
      </param_in>
   </call_template>
   <instantiate
      entity="Applied_state_definition_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_definition_assignment"
            attribute="described_state_definition"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="required_pse_constituent_usage_reliability">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_definition_assignment"
            attribute="assigned_to"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="related_required_usage">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      annual_usage
   </comment>
   <call_template
      name="assigning_product_property"
      business_context="UK_Defence">
      <param_in
         name="property_class_name"
         value="'annual_usage'">
         
      </param_in>
      <param_in
         name="property_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="described_element"
         value="^required_pse_constituent_usage_reliability">
         
      </param_in>
   </call_template>
   <comment>
      Assign annual_usage reference parameter
   </comment>
   <comment>
      not sure if needed
   </comment>
   <bind
      parameter="annual_usage">
      <template_instance
         template="assigning_product_property"
         parameter="property">
         
      </template_instance>
   </bind>
   <comment>
      annual_usage Value and Unit (opted for hours - as couldn't see cbis definition
   </comment>
   <call_template
      name="product_property_numeric"
      business_context="UK_Defence">
      <param_in
         name="value"
         value="@annual_usage">
         
      </param_in>
      <param_in
         name="unit"
         value="@annual_usage_unit">
         
      </param_in>
      <param_in
         name="unit_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="si_unit"
         value="@annual_usage_si_unit">
         
      </param_in>
      <param_in
         name="context"
         value="'Pse_constituent_usage_reliability'">
         
      </param_in>
      <param_in
         name="context_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="property"
         value="^annual_usage">
         
      </param_in>
   </call_template>
   <comment>
      mean_usage_between_removals
   </comment>
   <call_template
      name="assigning_product_property"
      business_context="UK_Defence">
      <param_in
         name="property_class_name"
         value="'mean_usage_between_removals'">
         
      </param_in>
      <param_in
         name="property_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="described_element"
         value="^required_pse_constituent_usage_reliability">
         
      </param_in>
   </call_template>
   <comment>
      Assign mean_usage_between_removals reference parameter
   </comment>
   <comment>
      not sure if needed
   </comment>
   <bind
      parameter="mean_usage_between_removals">
      <template_instance
         template="assigning_product_property"
         parameter="property">
         
      </template_instance>
   </bind>
   <comment>
      mean_usage_between_removals Value and Unit (opted for hours - as couldn't see cbis definition
   </comment>
   <call_template
      name="product_property_numeric"
      business_context="UK_Defence">
      <param_in
         name="value"
         value="@mean_usage_between_removals">
         
      </param_in>
      <param_in
         name="unit"
         value="@mean_usage_between_removals_unit">
         
      </param_in>
      <param_in
         name="unit_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="si_unit"
         value="@mean_usage_between_removals_si_unit">
         
      </param_in>
      <param_in
         name="context"
         value="'Pse_constituent_usage_reliability'">
         
      </param_in>
      <param_in
         name="context_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="property"
         value="^mean_usage_between_removals">
         
      </param_in>
   </call_template>
   <comment>
      mean_usage_between_technical_failures
   </comment>
   <call_template
      name="assigning_product_property"
      business_context="UK_Defence">
      <param_in
         name="property_class_name"
         value="'mean_usage_between_technical_failures'">
         
      </param_in>
      <param_in
         name="property_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="described_element"
         value="^required_pse_constituent_usage_reliability">
         
      </param_in>
   </call_template>
   <comment>
      Assign mean_usage_between_technical_failures reference parameter
   </comment>
   <comment>
      not sure if needed
   </comment>
   <bind
      parameter="mean_usage_between_technical_failures">
      <template_instance
         template="assigning_product_property"
         parameter="property">
         
      </template_instance>
   </bind>
   <comment>
      mean_usage_between_technical_failures Value and Unit (opted for hours - as couldn't see cbis definition
   </comment>
   <call_template
      name="product_property_numeric"
      business_context="UK_Defence">
      <param_in
         name="value"
         value="@mean_usage_between_technical_failures">
         
      </param_in>
      <param_in
         name="unit"
         value="@mean_usage_between_technical_failures_unit">
         
      </param_in>
      <param_in
         name="unit_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="si_unit"
         value="@mean_usage_between_technical_failures_si_unit">
         
      </param_in>
      <param_in
         name="context"
         value="'Pse_constituent_usage_reliability'">
         
      </param_in>
      <param_in
         name="context_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="property"
         value="^mean_usage_between_technical_failures">
         
      </param_in>
   </call_template>
   <comment>
      mean_usage_between_technical_maintenance
   </comment>
   <call_template
      name="assigning_product_property"
      business_context="UK_Defence">
      <param_in
         name="property_class_name"
         value="'mean_usage_between_technical_maintenance'">
         
      </param_in>
      <param_in
         name="property_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="described_element"
         value="^required_pse_constituent_usage_reliability">
         
      </param_in>
   </call_template>
   <comment>
      Assign mean_usage_between_technical_maintenance reference parameter
   </comment>
   <comment>
      not sure if needed
   </comment>
   <bind
      parameter="mean_usage_between_technical_maintenance">
      <template_instance
         template="assigning_product_property"
         parameter="property">
         
      </template_instance>
   </bind>
   <comment>
      mean_usage_between_technical_maintenance Value and Unit (opted for hours - as couldn't see cbis definition
   </comment>
   <call_template
      name="product_property_numeric"
      business_context="UK_Defence">
      <param_in
         name="value"
         value="@mean_usage_between_technical_maintenance">
         
      </param_in>
      <param_in
         name="unit"
         value="@mean_usage_between_technical_maintenance_unit">
         
      </param_in>
      <param_in
         name="unit_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="si_unit"
         value="@mean_usage_between_technical_maintenance_si_unit">
         
      </param_in>
      <param_in
         name="context"
         value="'Pse_constituent_usage_reliability'">
         
      </param_in>
      <param_in
         name="context_ecl_id"
         value="'urn:plcs:rdl:tlss'">
         
      </param_in>
      <param_in
         name="property"
         value="^mean_usage_between_technical_maintenance">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved