<!--
 File: data/contexts/OASIS/templates/StateAssertion/test_data/state_assertion_extref.xml
 -->
<!--
    $Id: state_assertion_extref.xml,v 1.14 2013/02/18 16:30:32 robbod Exp $
    Author: Rob Bodington, Eurostep Limited
    Owner:  Developed by Eurostep 
    Purpose: state assertion test data
 -->
<cmn:Uos xsi:schemaLocation="http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/plcs/plcs-psm/xml-schema/plcs-psm ../../../../../PLCS/psm_model/plcs_psm.xsd">
<!--
 header information present in every file 
 -->
Rob Bodington
 </Name>
 </Author>
Eurostep Limited
 </Name>
 </Organization>
Hand created
 </OriginatingSystem>
A hand coded example showing how a StateAssertion is represented
 </Documentation>
 </Header>
<DataContainer xsi:type="plcs:PlcsDataContainer">
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Main Body  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 
        every file should identify the ExchangeContextClassLibrary to indicate the 
        main OWL ontology that imports all the reference data used.
    
 -->

<!-- id001: -->
<!--
 The IRI of the Ontology NOT the OWL file 
 -->
http://docs.oasis-open.org/plcs/ns/plcslib/v1.0/data/contexts/OASIS/refdata/plcs-rdl
 </LibraryId>
 </ExchangeContextClassLibrary>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Classes  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 Class of Actual_fault_state_assignment. 
        Note the ClassifiedByOwlClass for Actual_fault_state_assignment should only appear once 
 -->

<!-- id002: -->
<!--
 Class of CAGE identifiers. 
        Note the ExternalOwlClass for CAGE_code should only appear once 
 -->

<!-- id003: -->
<!--
 Class of Part number identifiers. 
        Note the ExternalOwlClass for Part_identification_code should only appear once 
 -->

<!-- id004: -->
<!--
 Class of Serial number identifiers. 
        Note the ExternalOwlClass for Serial_identification_code should only appear once 
 -->

<!-- id005: -->
<!--
 Class of Version identifiers. 
        Note the ExternalOwlClass for Version_identification_code should only appear once 
 -->

<!-- id006: -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Individuals  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 Individual: Product_life_cycle_support
        Note the ExternalOwlObject for Product_life_cycle_support should only appear once 
 -->

<!-- indApDomain: Referenced by: ApplicationDomain:ApDomain, -->
<!--
 Individual: Utilization_stage
        Note the ExternalOwlObject for Utilization_stage should only appear once 
 -->

<!-- indLifeCycleStage: Referenced by: LifeCycleStage:LifeCycleStage, -->

<!-- ApDomain: Referenced by: ViewDefinitionContext:idViewDefnContext, -->
 <Definition uidRef="indApDomain"/>
 </ApplicationDomain>

<!-- LifeCycleStage: Referenced by: ViewDefinitionContext:idViewDefnContext, -->
 </LifeCycleStage>
<!--
 
        ViewDefinitionContext - only one is instantiated and then referenced.
    
 -->

<!-- idViewDefnContext: Referenced by: ProductAsIndividual:id016, ProductVersion:id018, ProductViewDefinition:id019, -->
 </ViewDefinitionContext>
<!--
 Organization identified by its CAGE code:  OrganizationX 
 -->

<!-- id012: -->
<Id>
 <Identifier id="OrganizationX" idRoleRef="id003"/>
 </Id>
 </Organization>
<!--
 
        Part identified by its Part number:  p2 
    
 -->

<!-- id014: Referenced by: ProductDesignToIndividual:id020, -->
<Part uid="id014">
<Id>
 <Identifier id="p2" idContextRef="id012" idRoleRef="id004"/>
 </Id>
 </Part>

<!-- id016: Referenced by: ProductDesignToIndividual:id020, -->
<Id>
 <Identifier id="sn001" idContextRef="id012" idRoleRef="id005"/>
 </Id>

<!-- id018: -->
<ProductVersion uid="id018" xsi:type="plcs:ProductAsRealized">

<!-- id019: -->
<ProductViewDefinition uid="id019" xsi:type="plcs:ProductAsIndividualView">
 </ProductViewDefinition>
 </ViewDefinitions>

<!-- id029: -->
 <Classification classRef="id002"/>
 </ClassifiedAs>
 <AssignedState uidRef="id028"/>
 </StateAssignment>
 </ProductVersion>
 </Versions>
 </ProductAsIndividual>

<!-- id020: -->
 <ProductDesign uidRef="id014"/>
 <IndividualProduct uidRef="id016"/>
 </ProductDesignToIndividual>

<!-- id021: Referenced by: StateAssertion:id027, -->
 <Definition uidRef="id022"/>
 </StateDefinition>

<!-- fault_codes: Referenced by: ExternalItem:id022, -->
<Id>
 <Identifier id="Fault code reference book" idContextRef="id012" idRoleRef="id026"/>
 </Id>
 </Document>

<!-- id022: Referenced by: StateDefinition:id021, -->
<Id>
 <Identifier id="FM0009" idContextRef="id012" idRoleRef="id024"/>
 </Id>
 <Source uidRef="fault_codes"/>
 </ExternalItem>

<!-- id024: -->

<!-- id026: -->

<!-- id027: -->
 <AssertedState uidRef="id028"/>
 <ConformanceState uidRef="id021"/>
 </StateAssertion>
 <StateObserved uid="id028"/>
 </DataContainer>
 </cmn:Uos>