<!--
 File: data/contexts/OASIS/templates/Part/test_data/part.xml
 -->
<!--
    $Id: part.xml,v 1.13 2012/10/23 07:45:50 robbod Exp $
    Author: Rob Bodington, Eurostep Limited
    Owner:  Developed by Eurostep 
    Purpose: part 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 Part is represented
 </Documentation>
 </Header>
<DataContainer xsi:type="plcs:PlcsDataContainer">
<!--
 
        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>
<!--
 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 Version identifiers. 
        Note the ExternalOwlClass for Version_identification_code should only appear once 
 -->

<!-- id004: -->
<!--
 Class of View identifiers. 
        Note the ExternalOwlClass for View_identification_code should only appear once 
 -->

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

<!-- idViewDefnContext: Referenced by: Part:id020, ProductVersion:id022, ProductViewDefinition:id018, -->
 </ViewDefinitionContext>
<!--
 Organization identified by its CAGE code:  OrganizationX 
 -->

<!-- id010: -->
<Id>
 <Identifier id="OrganizationX" idRoleRef="id002"/>
 </Id>
 </Organization>
<!--
 
        Part identified by its Part number:  p1
    
 -->

<!-- id013: -->
<Part uid="id013">
<Id>
 <Identifier id="p1" idContextRef="id010" idRoleRef="id003"/>
 </Id>
 </Part>
<!--
 
        Part identified by its Part number:  p2 
    
 -->

<!-- id014: -->
<Part uid="id014">
<Id>
 <Identifier id="p2" idContextRef="id010" idRoleRef="id003"/>
 </Id>
 </Part>
<!--
 
        Part identified by its Part number:  p3, with a version, REV-A.
        Note the use of encapsulation for the version.
    
 -->

<!-- id015: -->
<Part uid="id015">
<Id>
 <Identifier id="p2" idContextRef="id010" idRoleRef="id003"/>
 </Id>

<!-- id016: -->
<ProductVersion xsi:type="plcs:PartVersion" uid="id016">
<!--
 The part version identifier 
 -->
<Id>
 <Identifier id="REV-A" idContextRef="id010" idRoleRef="id004"/>
 </Id>
 </ProductVersion>
 </Versions>
 </Part>
<!--
 
        Part identified by its Part number:  p4, with a version, REV-B, and a view definition.
        Note the use of encapsulation for the version and the view definiton.
    
 -->

<!-- id020: -->
<Part uid="id020">
<Id>
 <Identifier id="p4" idContextRef="id010" idRoleRef="id003"/>
 </Id>

<!-- id022: -->
<ProductVersion xsi:type="plcs:PartVersion" uid="id022">
<Id>
 <Identifier id="REV-B" idContextRef="id010" idRoleRef="id004"/>
 </Id>

<!-- id018: -->
<ProductViewDefinition xsi:type="plcs:PartViewDefinition" uid="id018">
<!--
 The part view identifier note thisis optional 
 -->
<Id>
 <Identifier id="prtVdfn-11" idContextRef="id010" idRoleRef="id024"/>
 </Id>
 </ProductViewDefinition>
 </ViewDefinitions>
 </ProductVersion>
 </Versions>
 </Part>
 </DataContainer>
 </cmn:Uos>