<!--
 File: data/contexts/OASIS/templates/StateAssertion/test_data/state_assertion_rdl.xml
 -->
<!--
 $Id: state_assertion_rdl.xml,v 1.12 2013/02/18 16:30:32 robbod Exp $ 
 -->
<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 Part 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 
 -->

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

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

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

<!-- id004: -->
<!--
 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 
 -->

<!-- id007: -->
<!--
 Individual: Utilization_stage
        Note the ExternalOwlObject for Utilization_stage should only appear once 
 -->

<!-- id008: -->
<!--
 Individual: StateDefinition Serviceable 
        Note the ExternalOwlObject for Serviceable should only appear once 
 -->

<!-- id009: Referenced by: StateDefinition:id010, -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Asserted state  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->

<!-- id010: Referenced by: StateAssertion:id011, -->
 <Definition uidRef="id009"/>
 </StateDefinition>

<!-- id011: -->
 <AssertedState uidRef="id012"/>
 <ConformanceState uidRef="id010"/>
 </StateAssertion>
 <StateObserved uid="id012"/>
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
    Realized product against which state is asserted  
 -->
<!--
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 -->
<!--
 
        Part identified by its Part number:  p2 
    
 -->

<!-- id013: Referenced by: ProductDesignToIndividual:id022, -->
<Part uid="id013">
<Id>
 <Identifier id="p2" idContextRef="id014" idRoleRef="id003"/>
 </Id>
 </Part>

<!-- id017: Referenced by: ProductDesignToIndividual:id022, -->
<Id>
 <Identifier id="sn001" idContextRef="id014" idRoleRef="id004"/>
 </Id>

<!-- id019: -->
<ProductVersion uid="id019" xsi:type="plcs:ProductAsRealized">
<Id>
 <Identifier id="rev-A" idContextRef="id014" idRoleRef="id006"/>
 </Id>

<!-- id020: -->
<ProductViewDefinition uid="id020" xsi:type="plcs:ProductAsIndividualView">
 </ProductViewDefinition>
 </ViewDefinitions>
<!--
 the assignment of the observed state to the realized product. 
 -->

<!-- id021: -->
 </ClassifiedAs>
 <AssignedState uidRef="id012"/>
 </StateAssignment>
 </ProductVersion>
 </Versions>
 </ProductAsIndividual>

<!-- id022: -->
 <ProductDesign uidRef="id013"/>
 <IndividualProduct uidRef="id017"/>
 </ProductDesignToIndividual>
<!--
 
        ViewDefinitionContext - only one is instantiated and then referenced.
    
 -->
<!--
 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:id017, ProductVersion:id019, ProductViewDefinition:id020, -->
 </ViewDefinitionContext>
<!--
 Organization identified by its CAGE code:  OrganizationX 
 -->

<!-- id014: -->
<Id>
 <Identifier id="OrganizationX" idRoleRef="id002"/>
 </Id>
 </Organization>
 </DataContainer>
 </cmn:Uos>