Template:— failure (falur)
Context:— UK_Defence
Date: 2009/04/17 21:34:51
Revision: 1.4
Template: failure

XML references to the Template

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

failure

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="failure" context="UK_Defence" >
  <param name="Related_product">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="New_failure">
    <param_value>Anomalous_state_of_unknown_novelty</param_value>
    <description></description>
  </param>
  <param name="ID">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="ID_source_organization">
    <param_value>UK_Defence</param_value>
    <description></description>
  </param>
  <param name="Name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Name_source_organization">
    <param_value>UK_Defence</param_value>
    <description></description>
  </param>
  <param name="Detection_method">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Isolation_method">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Suspected_cause">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Title">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Detection_method_category">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Isolation_method_category">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Operable_until_repaired">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Severity">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Priority">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Repair_in_situ">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Detected_by">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Detection_location">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Detection_zone">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Built_in_test_data">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Rectify_by">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Related_activity">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Related_mission">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Related_change">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Repair_hasten">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="When_detected">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Occurrence_of">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="failure">
  <param_in name="Related_product" value=""/>
  <param_in name="New_failure" value="Anomalous_state_of_unknown_novelty"/>
  <param_in name="ID" value=""/>
  <param_in name="ID_source_organization" value="UK_Defence"/>
  <param_in name="Name" value=""/>
  <param_in name="Name_source_organization" value="UK_Defence"/>
  <param_in name="Detection_method" value="/OPTIONAL"/>
  <param_in name="Isolation_method" value="/OPTIONAL"/>
  <param_in name="Suspected_cause" value="/OPTIONAL"/>
  <param_in name="Title" value="/OPTIONAL"/>
  <param_in name="Detection_method_category" value="/OPTIONAL"/>
  <param_in name="Isolation_method_category" value="/OPTIONAL"/>
  <param_in name="Operable_until_repaired" value="/OPTIONAL"/>
  <param_in name="Severity" value=""/>
  <param_in name="Priority" value="/OPTIONAL"/>
  <param_in name="Repair_in_situ" value="/OPTIONAL"/>
  <param_in name="Detected_by" value=""/>
  <param_in name="Detection_location" value=""/>
  <param_in name="Detection_zone" value=""/>
  <param_in name="Built_in_test_data" value=""/>
  <param_in name="Rectify_by" value=""/>
  <param_in name="Related_activity" value=""/>
  <param_in name="Related_mission" value=""/>
  <param_in name="Related_change" value=""/>
  <param_in name="Repair_hasten" value=""/>
  <param_in name="When_detected" value=""/>
  <param_in name="Occurrence_of" value=""/>
</template_example>

failure
/failure(Related_product='', New_failure='Anomalous_state_of_unknown_novelty', ID='', ID_source_organization='UK_Defence', Name='', Name_source_organization='UK_Defence', Detection_method='/OPTIONAL', Isolation_method='/OPTIONAL', Suspected_cause='/OPTIONAL', Title='/OPTIONAL', Detection_method_category='/OPTIONAL', Isolation_method_category='/OPTIONAL', Operable_until_repaired='/OPTIONAL', Severity='', Priority='/OPTIONAL', Repair_in_situ='/OPTIONAL', Detected_by='', Detection_location='', Detection_zone='', Built_in_test_data='', Rectify_by='', Related_activity='', Related_mission='', Related_change='', Repair_hasten='', When_detected='', Occurrence_of='')/

Path

-- failure
/anomaly(
    Related_product=@Related_product,
    New_anomaly=@New_failure,
    ID=@ID,
    ID_source_organization=@ID_source_organization,
    Name=@Name,
    Name_source_organization=@Name_source_organization,
    Detection_method=@Detection_method,
    Isolation_method=@Isolation_method,
    Suspected_cause=@Suspected_cause,
    Title=@Title,
    Detection_method_category=@Detection_method_category,
    Isolation_method_category=@Isolation_method_category,
    Operable_until_repaired=@Operable_until_repaired,
    Severity=@Severity,
    Priority=@Priority,
    Repair_in_situ=@Repair_in_situ,
    Detected_by=@Detected_by,
    Detection_location=@Detection_location,
    Detection_zone=@Detection_zone,
    Built_in_test_data=@Built_in_test_data,
    Rectify_by=@Rectify_by,
    Related_activity=@Related_activity,
    Related_mission=@Related_mission,
    Related_change=@Related_change,
    Repair_hasten=@Repair_hasten,
    When_detected=@When_detected)/
%^failure = $anomaly.anomaly%

-- Occurrence of (optional)
State_assertion
State_assertion.name = '/IGNORE'
State_assertion.description = '/IGNORE'
State_assertion.asserted_state -> ^failure
State_assertion.conformance_state -> @Occurrence_of
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
State_assertion.name '/IGNORE'
State_assertion.description '/IGNORE'

XML representation of path

<refpath
   template="failure">
   <comment>
      failure
   </comment>
   <call_template
      name="anomaly"
      business_context="UK_Defence">
      <param_in
         name="Related_product"
         value="@Related_product">
         
      </param_in>
      <param_in
         name="New_anomaly"
         value="@New_failure">
         
      </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="@Name">
         
      </param_in>
      <param_in
         name="Name_source_organization"
         value="@Name_source_organization">
         
      </param_in>
      <param_in
         name="Detection_method"
         value="@Detection_method">
         
      </param_in>
      <param_in
         name="Isolation_method"
         value="@Isolation_method">
         
      </param_in>
      <param_in
         name="Suspected_cause"
         value="@Suspected_cause">
         
      </param_in>
      <param_in
         name="Title"
         value="@Title">
         
      </param_in>
      <param_in
         name="Detection_method_category"
         value="@Detection_method_category">
         
      </param_in>
      <param_in
         name="Isolation_method_category"
         value="@Isolation_method_category">
         
      </param_in>
      <param_in
         name="Operable_until_repaired"
         value="@Operable_until_repaired">
         
      </param_in>
      <param_in
         name="Severity"
         value="@Severity">
         
      </param_in>
      <param_in
         name="Priority"
         value="@Priority">
         
      </param_in>
      <param_in
         name="Repair_in_situ"
         value="@Repair_in_situ">
         
      </param_in>
      <param_in
         name="Detected_by"
         value="@Detected_by">
         
      </param_in>
      <param_in
         name="Detection_location"
         value="@Detection_location">
         
      </param_in>
      <param_in
         name="Detection_zone"
         value="@Detection_zone">
         
      </param_in>
      <param_in
         name="Built_in_test_data"
         value="@Built_in_test_data">
         
      </param_in>
      <param_in
         name="Rectify_by"
         value="@Rectify_by">
         
      </param_in>
      <param_in
         name="Related_activity"
         value="@Related_activity">
         
      </param_in>
      <param_in
         name="Related_mission"
         value="@Related_mission">
         
      </param_in>
      <param_in
         name="Related_change"
         value="@Related_change">
         
      </param_in>
      <param_in
         name="Repair_hasten"
         value="@Repair_hasten">
         
      </param_in>
      <param_in
         name="When_detected"
         value="@When_detected">
         
      </param_in>
   </call_template>
   <bind
      parameter="failure">
      <template_instance
         template="anomaly"
         parameter="anomaly">
         
      </template_instance>
   </bind>
   <comment>
      Occurrence of (optional)
   </comment>
   <instantiate
      entity="State_assertion"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="State_assertion"
            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="State_assertion"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="State_assertion"
            attribute="asserted_state"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="failure">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="State_assertion"
            attribute="conformance_state"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="Occurrence_of">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© UK MOD 2010 — All rights reserved