<?xml version="1.0" encoding="utf-8"?>
<!-- 
  $Id: Aerospace_and_Defense_AD_task_set.xml,v 1.3 2011/05/24 12:01:47 leifgyllstrom Exp $
  ============================================================
  AD_task_set DEX long form 

  Copyright OASIS 2011
  ============================================================
-->
<express language_version="1" rcs.date="$Date: 2011/05/24 12:01:47 $" rcs.revision="$Revision: 1.3 $">

  
   <application name=" Eurostep EXPRESS Parser (Eep!)" owner="Eurostep Limited" url="www.eurostep.com" version="1, 3, 29, 37" source="C:\Uppdrag\PLCS\stepmod\dexlib\data\busconcept\Aerospace_and_Defense\schemas\Aerospace_and_Defense_AD_task_set.exp"/>

  
   <schema name="AD_task_set_dex">
    
      <type name="activity_method_item">
      
         <select selectitems="Activity Activity_method Activity_property Assigned_property Breakdown_element Breakdown_element_definition Breakdown_element_version Document Document_version Message Organization Organization_type Part Part_version Part_view_definition Product Product_concept Product_configuration Product_version Product_version_relationship Product_view_definition Required_resource Required_resource_assignment Resource_item Resource_property Task_method Task_method_version Type_of_person Type_of_person_definition"/>
    
      </type>

    
      <type name="any_number_value">
      
         <builtintype type="NUMBER"/>
    
      </type>

    
      <type name="any_string_value">
      
         <builtintype type="STRING"/>
    
      </type>

    
      <type name="approval_item">
      
         <select selectitems="Activity Activity_method Activity_method_relationship Activity_property Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Assigned_property Breakdown Breakdown_element Breakdown_element_definition Breakdown_element_version Breakdown_version Classification_assignment Condition Condition_assignment Date_or_date_time_assignment Directed_activity Document_assignment Document_version Effectivity Effectivity_assignment Identification_assignment In_zone Independent_property Justification Justification_assignment Justification_support_assignment Message Organization_or_person_in_organization_assignment Organization_relationship Part Part_version Part_view_definition Product_category_assignment Product_concept Product_configuration Product_relationship Product_version_relationship Product_view_definition Required_resource Required_resource_assignment Required_resource_relationship Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_item Resource_property Security_classification Security_classification_assignment Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_state_relationship Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective Type_of_person View_definition_context Work_order Work_request"/>
    
      </type>

    
      <type name="assigned_document_select">
      
         <select selectitems="Document Document_version"/>
    
      </type>

    
      <type name="characterized_activity_definition">
      
         <select selectitems="Activity Activity_method Activity_method_relationship Condition Condition_relationship Required_resource_assignment Task_objective"/>
    
      </type>

    
      <type name="characterized_resource_select">
      
         <select selectitems="Required_resource Resource_item"/>
    
      </type>

    
      <type name="classification_item">
      
         <select selectitems="Activity Activity_method Activity_method_relationship Activity_property Activity_property_representation Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Approval Approval_assignment Approval_status Approving_person_organization Assigned_property Breakdown Breakdown_context Breakdown_element Breakdown_element_version Breakdown_of Calendar_date Class Condition Condition_assignment Condition_parameter Condition_relationship Content_item Date_or_date_time_assignment Date_time Directed_activity Document Document_assignment Document_version Effectivity Effectivity_assignment External_class_library Identification_assignment In_zone Independent_property Independent_property_representation Item_design_association Justification Justification_assignment Justification_support_assignment Local_time Market Message Organization Organization_or_person_in_organization_assignment Organization_relationship Organization_type Part Part_version Part_view_definition Partial_document_assignment Product Product_category Product_concept Product_configuration Product_relationship Product_version Product_version_relationship Product_view_definition Property_representation Representation Representation_context Representation_item Required_resource Required_resource_assignment Required_resource_relationship Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_item Resource_property Resource_property_representation Security_classification Security_classification_assignment State State_assertion State_definition State_role Task_element_state_relationship Task_method Task_method_state_relationship Task_objective Type_of_person Type_of_person_definition Uncertainty_with_unit Unit Value_with_unit View_definition_context Work_order Work_request"/>
    
      </type>

    
      <type name="condition_item">
      
         <select selectitems="Requirement_assignment Activity_method Effectivity Activity Activity_method_relationship Activity_property Applied_activity_method_assignment Approval Approval_assignment Assigned_property Document_assignment Required_resource Required_resource_assignment Required_resource_relationship Resource_item Resource_property State_definition Task_element_relationship Task_method_version_assignment Task_method_version_relationship"/>
    
      </type>

    
      <type name="condition_parameter_item">
      
         <select selectitems="Independent_property Organization_type Work_request Organization Product_configuration Activity Activity_method Activity_property Activity_property_representation Approval Approval_assignment Assigned_property Calendar_date Classification_assignment Condition_relationship Date_or_date_time_assignment Date_time Document_assignment Identification_assignment Independent_property_representation Organization_or_person_in_organization_assignment Product Product_category_assignment Product_concept Product_version Product_view_definition Property_representation Representation Required_resource Resource_property Resource_property_representation State State_definition"/>
    
      </type>

    
      <type name="constraint_context">
      
         <select selectitems="Task_element Task_method_version"/>
    
      </type>

    
      <type name="date_or_date_time_item">
      
         <select selectitems="Approving_person_organization Activity Activity_method Activity_method_relationship Activity_property Activity_property_representation Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Approval Assigned_property Breakdown Breakdown_element Breakdown_version Classification_assignment Condition Condition_assignment Date_or_date_time_assignment Directed_activity Document Document_assignment Document_version Effectivity Effectivity_assignment Identification_assignment Independent_property Independent_property_representation Justification Justification_assignment Justification_support_assignment Message Organization_or_person_in_organization_assignment Organization_relationship Part Part_version Part_view_definition Product_category_assignment Product_concept Product_configuration Product_relationship Product_version Product_version_relationship Product_view_definition Property_representation Representation Required_resource Required_resource_assignment Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_item Resource_property Resource_property_representation Security_classification Security_classification_assignment State State_assertion State_definition Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_state_relationship Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective View_definition_context Work_order Work_request"/>
    
      </type>

    
      <type name="date_or_date_time_select">
      
         <select selectitems="Calendar_date Date_time"/>
    
      </type>

    
      <type name="date_or_event">
      
         <select selectitems="Calendar_date Date_time"/>
    
      </type>

    
      <type name="day_in_month_number">
      
         <builtintype type="INTEGER"/>
      
         <where label="WR1" expression="{1 &lt;= SELF &lt;= 31}">
      
         </where>
    
      </type>

    
      <type name="documented_element_select">
      
         <select selectitems="Document_assignment In_zone Class Condition_parameter Condition_assignment Justification Activity Activity_method Activity_method_relationship Activity_property Activity_property_representation Applied_activity_method_assignment Approval Approval_assignment Assigned_property Breakdown Breakdown_context Breakdown_element Breakdown_version Condition Document Document_version Effectivity Effectivity_assignment Identification_assignment Independent_property Independent_property_representation Market Message Organization Organization_or_person_in_organization_assignment Organization_type Part Part_version Part_view_definition Product Product_concept Product_configuration Product_relationship Product_version Product_version_relationship Product_view_definition Property_representation Representation Representation_item Required_resource Required_resource_assignment Required_resource_relationship Requirement Requirement_assignment Requirement_version Resource_item Resource_property Resource_property_representation Security_classification Security_classification_assignment State State_assertion State_definition Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_state_relationship Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective Type_of_person Type_of_person_definition Work_order Work_request"/>
    
      </type>

    
      <type name="effectivity_item">
      
         <select selectitems="Property_representation In_zone Condition_parameter Task_element_relationship Task_element_state_relationship Resource_property_representation Condition_assignment Activity_property_representation Independent_property_representation Classification_assignment Activity Activity_method Activity_property Applied_activity_method_assignment Applied_state_definition_assignment Approval_assignment Assigned_property Breakdown Breakdown_element Breakdown_element_definition Breakdown_element_version Breakdown_of Breakdown_version Date_or_date_time_assignment Document Document_assignment Document_version Effectivity_assignment Identification_assignment Justification Justification_assignment Justification_support_assignment Organization_or_person_in_organization_assignment Organization_relationship Part Part_version Part_view_definition Product Product_configuration Product_relationship Product_version Product_version_relationship Product_view_definition Required_resource_assignment Required_resource_relationship Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_property Security_classification_assignment Work_order"/>
    
      </type>

    
      <type name="hour_in_day">
      
         <builtintype type="INTEGER"/>
      
         <where label="WR1" expression="{0 &lt;= SELF &lt; 24}">
      
         </where>
    
      </type>

    
      <type name="identification_item">
      
         <select selectitems="Type_of_person_definition Class Activity Activity_method Activity_method_relationship Activity_property Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Approval Approval_status Assigned_property Breakdown Breakdown_element Breakdown_element_definition Breakdown_element_version Breakdown_version Condition Directed_activity Document Document_assignment Document_version Effectivity External_class_library Independent_property Justification Justification_assignment Justification_support_assignment Market Message Organization Organization_or_person_in_organization_assignment Organization_type Part Part_version Part_view_definition Product_concept Product_configuration Product_relationship Required_resource Required_resource_relationship Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_item Resource_property Security_classification Security_classification_assignment State State_assertion State_definition Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_state_relationship Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective Type_of_person Work_order Work_request"/>
    
      </type>

    
      <type name="in_zone_item">
      
         <select selectitems="Activity_method Applied_activity_method_assignment Product_view_definition"/>
    
      </type>

    
      <type name="justification_item">
      
         <select selectitems="Condition_assignment Applied_state_definition_assignment Property_value_representation Activity Activity_method Activity_method_relationship Activity_property Applied_activity_method_assignment Applied_state_assignment Approval Approval_assignment Assigned_property Classification_assignment Document_assignment Effectivity Independent_property Message Product Product_version Product_version_relationship Product_view_definition Required_resource Required_resource_assignment Required_resource_relationship Resource_item Resource_property State_assertion Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_state_relationship Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective"/>
    
      </type>

    
      <type name="justification_support_item">
      
         <select selectitems="Activity Activity_method Activity_property Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Approval Assigned_property Document Document_version Effectivity Independent_property Message Product Product_version Product_version_relationship Product_view_definition Resource_property State State_definition Work_order Work_request"/>
    
      </type>

    
      <type name="length_measure">
      
         <builtintype type="REAL"/>
    
      </type>

    
      <type name="limit_qualifier_list">
      
         <enumeration items="minimum maximum"/>
    
      </type>

    
      <type name="measure_value">
      
         <select selectitems="any_number_value any_string_value length_measure plane_angle_measure"/>
    
      </type>

    
      <type name="message_definer_select">
      
         <select selectitems="Organization"/>
    
      </type>

    
      <type name="method_or_method_version">
      
         <select selectitems="Task_method Task_method_version"/>
    
      </type>

    
      <type name="minute_in_hour">
      
         <builtintype type="INTEGER"/>
      
         <where label="WR1" expression="{0 &lt;= SELF &lt;= 59}">
      
         </where>
    
      </type>

    
      <type name="month_in_year_number">
      
         <builtintype type="INTEGER"/>
      
         <where label="WR1" expression="{1 &lt;= SELF &lt;= 12}">
      
         </where>
    
      </type>

    
      <type name="offset_orientation">
      
         <enumeration items="ahead exact behind"/>
    
      </type>

    
      <type name="organization_or_person_in_organization_item">
      
         <select selectitems="Activity Activity_method Activity_method_relationship Activity_property Activity_property_representation Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Approval Assigned_property Breakdown Breakdown_element Breakdown_version Classification_assignment Condition Condition_assignment Date_or_date_time_assignment Directed_activity Document Document_assignment Document_version Effectivity Effectivity_assignment Identification_assignment Independent_property Independent_property_representation Justification Justification_assignment Justification_support_assignment Message Organization_or_person_in_organization_assignment Part Part_version Part_view_definition Product_category Product_category_assignment Product_configuration Product_relationship Product_version Product_view_definition Property_representation Representation Required_resource Required_resource_assignment Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_item Resource_property Resource_property_representation Security_classification Security_classification_assignment State State_assertion State_definition Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_state_relationship Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective View_definition_context Work_order Work_request"/>
    
      </type>

    
      <type name="organization_or_person_in_organization_select">
      
         <select selectitems="Organization"/>
    
      </type>

    
      <type name="plane_angle_measure">
      
         <builtintype type="REAL"/>
    
      </type>

    
      <type name="property_assignment_select">
      
         <select selectitems="Activity_method_relationship Work_request Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Document_assignment Organization_or_person_in_organization_assignment Part_view_definition Product_view_definition State State_definition Task_method_state_relationship Type_of_person_definition"/>
    
      </type>

    
      <type name="required_resource_item">
      
         <select selectitems="Activity Activity_method Task_element Task_method Task_method_version Task_method_version_assignment Type_of_person"/>
    
      </type>

    
      <type name="requirement_assignment_item">
      
         <select selectitems="Activity_method Applied_activity_method_assignment Applied_state_assignment Applied_state_definition_assignment Breakdown Breakdown_element Breakdown_element_version Breakdown_version Document_version Part_version Product_configuration Product_view_definition State State_definition Work_request"/>
    
      </type>

    
      <type name="resource_item_select">
      
         <select selectitems="Document Document_version Organization Organization_type Part Part_version Part_view_definition Type_of_person"/>
    
      </type>

    
      <type name="second_in_minute">
      
         <builtintype type="REAL"/>
      
         <where label="WR1" expression="{0 &lt;= SELF &lt;= 60.000000}">
      
         </where>
    
      </type>

    
      <type name="security_classification_item">
      
         <select selectitems="Activity Activity_method Activity_method_relationship Applied_activity_method_assignment Breakdown Breakdown_element_definition Breakdown_element_version Document Document_assignment Document_version Message Part Part_version Part_view_definition Product_configuration Product_relationship Requirement Requirement_assignment Requirement_version Requirement_version_relationship Requirement_view_definition Resource_item Task_element Task_element_relationship Task_element_state_relationship Task_method Task_method_version Task_method_version_assignment Task_method_version_relationship Task_objective"/>
    
      </type>

    
      <type name="state_definition_of_item">
      
         <select selectitems="Activity Activity_method Applied_activity_method_assignment Breakdown Breakdown_element Breakdown_element_definition Breakdown_element_version Breakdown_version Document Document_version Organization Part Part_version Part_view_definition Product Product_category Product_concept Product_configuration Product_version Resource_item Security_classification Work_order Work_request"/>
    
      </type>

    
      <type name="state_of_item">
      
         <select selectitems="Approval Activity Activity_method Breakdown Breakdown_element Breakdown_element_definition Breakdown_element_version Breakdown_version Document Document_version Message Organization Part Part_version Part_view_definition Product Product_concept Product_configuration Product_version Resource_item Security_classification Task_method_version Work_order Work_request"/>
    
      </type>

    
      <type name="state_or_state_definition_select">
      
         <select selectitems="Applied_state_assignment Applied_state_definition_assignment State State_definition"/>
    
      </type>

    
      <type name="task_item">
      
         <typename name="activity_method_item"/>
      
         <where label="wr1" expression="NOT ('AD_TASK_SET_DEX.ACTIVITY' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr2" expression="NOT ('AD_TASK_SET_DEX.ACTIVITY_METHOD' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr3" expression="NOT ('AD_TASK_SET_DEX.APPLIED_ACTIVITY_ASSIGNMENT' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr4" expression="NOT ('AD_TASK_SET_DEX.CONTRACT' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr5" expression="NOT ('AD_TASK_SET_DEX.EVENT' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr6" expression="NOT ('AD_TASK_SET_DEX.MANAGED_RESOURCE' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr7" expression="NOT ('AD_TASK_SET_DEX.PERSON' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr8" expression="NOT ('AD_TASK_SET_DEX.PERSON_IN_ORGANIZATION' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr9" expression="NOT ('AD_TASK_SET_DEX.PROJECT' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr10" expression="NOT ('AD_TASK_SET_DEX.RESOURCE_AS_REALIZED' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr11" expression="NOT ('AD_TASK_SET_DEX.RESOURCE_EVENT' IN TYPEOF(SELF))">
      
         </where>
      
         <where label="wr12" expression="NOT ('AD_TASK_SET_DEX.SCHEME_ENTRY' IN TYPEOF(SELF))">
      
         </where>
    
      </type>

    
      <type name="version_or_definition">
      
         <select selectitems="Product_version Product_view_definition"/>
    
      </type>

    
      <type name="year_number">
      
         <builtintype type="INTEGER"/>
    
      </type>

    
      <type name="message_content_item">
      
         <select selectitems="Product Product_version Activity Activity_method Work_order Work_request External_class_library Resource_item"/>
    
      </type>

    
      <entity name="Activity">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="chosen_method">
        
            <typename name="Activity_method"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Activity_method" super.expression="ONEOF(Task_element, Task_method, Task_method_version)">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="consequence" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="purpose">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Activity_method_relationship" super.expression="ONEOF(Task_element_relationship, Task_method_version_relationship)">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="relating_method">
        
            <typename name="Activity_method"/>
      
         </explicit>
      
         <explicit name="related_method">
        
            <typename name="Activity_method"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Activity_property">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="described_element">
        
            <typename name="characterized_activity_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Activity_property_representation">
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="property">
        
            <typename name="Activity_property"/>
      
         </explicit>
      
         <explicit name="rep">
        
            <typename name="Representation"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Advisory_task_step" supertypes="Task_step">
    
      </entity>

    
      <entity name="Applied_activity_method_assignment">
      
         <explicit name="assigned_activity_method">
        
            <typename name="Activity_method"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="activity_method_item"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Applied_state_assignment">
      
         <explicit name="described_state">
        
            <typename name="State"/>
      
         </explicit>
      
         <explicit name="assigned_to">
        
            <typename name="state_of_item"/>
      
         </explicit>
      
         <explicit name="role">
        
            <typename name="State_role"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Applied_state_definition_assignment">
      
         <explicit name="described_state_definition">
        
            <typename name="State_definition"/>
      
         </explicit>
      
         <explicit name="assigned_to">
        
            <typename name="state_definition_of_item"/>
      
         </explicit>
      
         <explicit name="role">
        
            <typename name="State_definition_role"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Approval">
      
         <explicit name="status">
        
            <typename name="Approval_status"/>
      
         </explicit>
      
         <explicit name="purpose">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="planned_date" optional="YES">
        
            <typename name="date_or_date_time_select"/>
      
         </explicit>
      
         <explicit name="actual_date" optional="YES">
        
            <typename name="date_or_date_time_select"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Approval_assignment">
      
         <explicit name="assigned_approval">
        
            <typename name="Approval"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="approval_item"/>
      
         </explicit>
      
         <explicit name="role" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Approval_status">
      
         <explicit name="status_name">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Approving_person_organization">
      
         <explicit name="person_organization">
        
            <typename name="organization_or_person_in_organization_select"/>
      
         </explicit>
      
         <explicit name="approval_date" optional="YES">
        
            <typename name="date_or_date_time_select"/>
      
         </explicit>
      
         <explicit name="authorized_approval">
        
            <typename name="Approval"/>
      
         </explicit>
      
         <explicit name="role" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Assigned_property">
      
         <explicit name="id" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="described_element">
        
            <typename name="property_assignment_select"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Breakdown" supertypes="Product" super.expression="ONEOF(Zone_breakdown)">
    
      </entity>

    
      <entity name="Breakdown_context" super.expression="ONEOF(Zone_breakdown_context)">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="breakdown">
        
            <typename name="Breakdown_version"/>
      
         </explicit>
      
         <explicit name="breakdown_element">
        
            <typename name="Breakdown_element_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Breakdown_element" supertypes="Product" super.expression="ONEOF(Zone_element)">
    
      </entity>

    
      <entity name="Breakdown_element_definition" supertypes="Product_view_definition" super.expression="ONEOF(Zone_element_definition)">
      
         <explicit name="defined_version">
        
            <typename name="Breakdown_element_version"/>
        
            <redeclaration entity-ref="Product_view_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Breakdown_element_version" supertypes="Product_version" super.expression="ONEOF(Zone_element_version)">
      
         <explicit name="of_product">
        
            <typename name="Breakdown_element"/>
        
            <redeclaration entity-ref="Product_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Breakdown_of">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="breakdown">
        
            <typename name="Breakdown_version"/>
      
         </explicit>
      
         <explicit name="of_view">
        
            <typename name="Product_view_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Breakdown_version" supertypes="Product_version" super.expression="ONEOF(Zone_breakdown_version)">
      
         <explicit name="of_product">
        
            <typename name="Breakdown"/>
        
            <redeclaration entity-ref="Product_version"/>
      
         </explicit>
      
         <inverse name="breakdown_of" entity="Breakdown_of" attribute="breakdown">
        
            <inverse.aggregate type="SET" lower="1" upper="?"/>
      
         </inverse>
    
      </entity>

    
      <entity name="Calendar_date">
      
         <explicit name="year_component">
        
            <typename name="year_number"/>
      
         </explicit>
      
         <explicit name="month_component">
        
            <typename name="month_in_year_number"/>
      
         </explicit>
      
         <explicit name="day_component">
        
            <typename name="day_in_month_number"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Class">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Classification_assignment">
      
         <explicit name="assigned_class">
        
            <typename name="Class"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="classification_item"/>
      
         </explicit>
      
         <explicit name="role" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Condition">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Condition_assignment">
      
         <explicit name="assigned_condition">
        
            <typename name="Condition"/>
      
         </explicit>
      
         <explicit name="item">
        
            <typename name="condition_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Condition_parameter">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="condition">
        
            <typename name="Condition"/>
      
         </explicit>
      
         <explicit name="parameter" optional="YES">
        
            <typename name="condition_parameter_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Condition_relationship">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="relating_condition">
        
            <typename name="Condition"/>
      
         </explicit>
      
         <explicit name="related_condition">
        
            <typename name="Condition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Content_item">
      
         <explicit name="item_identifier">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="item_type">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="access_comment" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Content_item_selected" supertypes="Content_item">
      
         <explicit name="contents">
        
            <typename name="message_content_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Date_or_date_time_assignment">
      
         <explicit name="assigned_date">
        
            <typename name="date_or_date_time_select"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="date_or_date_time_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Date_time">
      
         <explicit name="date_component">
        
            <typename name="Calendar_date"/>
      
         </explicit>
      
         <explicit name="time_component">
        
            <typename name="Local_time"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Dated_effectivity" supertypes="Effectivity">
      
         <explicit name="start_bound">
        
            <typename name="date_or_event"/>
      
         </explicit>
      
         <explicit name="end_bound" optional="YES">
        
            <typename name="date_or_event"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Decision_point" supertypes="Structured_task_element">
      
         <explicit name="condition">
        
            <typename name="Condition"/>
      
         </explicit>
      
         <explicit name="true_case_element" optional="YES">
        
            <typename name="Task_element"/>
      
         </explicit>
      
         <explicit name="false_case_element" optional="YES">
        
            <typename name="Task_element"/>
      
         </explicit>
      
         <explicit name="unknown_case_element" optional="YES">
        
            <typename name="Task_element"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Directed_activity" supertypes="Activity">
      
         <explicit name="directive">
        
            <typename name="Work_order"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Document" supertypes="Product">
    
      </entity>

    
      <entity name="Document_assignment">
      
         <explicit name="assigned_document">
        
            <typename name="assigned_document_select"/>
      
         </explicit>
      
         <explicit name="is_assigned_to">
        
            <typename name="documented_element_select"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Document_version" supertypes="Product_version">
      
         <explicit name="of_product">
        
            <typename name="Document"/>
        
            <redeclaration entity-ref="Product_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Effectivity" super.expression="ONEOF(Serial_effectivity, Dated_effectivity)">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Effectivity_assignment">
      
         <explicit name="assigned_effectivity">
        
            <typename name="Effectivity"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="effectivity_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Element_constraint" supertypes="Task_element_relationship">
      
         <explicit name="applies_in" optional="YES">
        
            <typename name="constraint_context"/>
      
         </explicit>
    
      </entity>

    
      <entity name="External_class" supertypes="Class">
      
         <explicit name="external_source">
        
            <typename name="External_class_library"/>
      
         </explicit>
    
      </entity>

    
      <entity name="External_class_library">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Identification_assignment">
      
         <explicit name="identifier">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="identification_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="In_zone">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="located_item">
        
            <typename name="in_zone_item"/>
      
         </explicit>
      
         <explicit name="zone">
        
            <typename name="Zone_element_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Independent_property">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="property_type">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Independent_property_representation">
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="property">
        
            <typename name="Independent_property"/>
      
         </explicit>
      
         <explicit name="rep">
        
            <typename name="Representation"/>
      
         </explicit>
      
         <explicit name="role" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Item_design_association">
      
         <explicit name="configuration">
        
            <typename name="Product_configuration"/>
      
         </explicit>
      
         <explicit name="design">
        
            <typename name="version_or_definition"/>
      
         </explicit>
      
         <unique label="UR1">
        
            <unique.attribute attribute="configuration"/>
        
            <unique.attribute attribute="design"/>
      
         </unique>
    
      </entity>

    
      <entity name="Justification">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="context_description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Justification_assignment">
      
         <explicit name="justification">
        
            <typename name="Justification"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="item">
        
            <typename name="justification_item"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Justification_support_assignment">
      
         <explicit name="justification">
        
            <typename name="Justification"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="support_item">
        
            <typename name="justification_support_item"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Local_time">
      
         <explicit name="hour_component">
        
            <typename name="hour_in_day"/>
      
         </explicit>
      
         <explicit name="minute_component" optional="YES">
        
            <typename name="minute_in_hour"/>
      
         </explicit>
      
         <explicit name="second_component" optional="YES">
        
            <typename name="second_in_minute"/>
      
         </explicit>
      
         <explicit name="zone">
        
            <typename name="Time_offset"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Market">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="market_segment_type" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Measure_item" abstract.supertype="YES" supertypes="Representation_item" super.expression="ONEOF(Numerical_item_with_unit, Value_limit, Value_range, Value_with_tolerances)">
      
         <where label="WR1" expression="SIZEOF(USEDIN(SELF, 'AD_TASK_SET_DEX.REPRESENTATION.ITEMS')) &gt; 0">
      
         </where>
    
      </entity>

    
      <entity name="Message">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="message_type">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="contains">
        
            <aggregate type="SET"/>
        
            <typename name="Content_item"/>
      
         </explicit>
      
         <explicit name="defined_by" optional="YES">
        
            <aggregate type="SET"/>
        
            <typename name="message_definer_select"/>
      
         </explicit>
      
         <explicit name="purpose" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Numerical_item_with_unit" supertypes="Measure_item Value_with_unit">
    
      </entity>

    
      <entity name="Numerical_representation_context" supertypes="Representation_context">
      
         <explicit name="units" optional="YES">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="Unit"/>
      
         </explicit>
      
         <explicit name="accuracies" optional="YES">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="Uncertainty_with_unit"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Organization">
      
         <explicit name="id" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Organization_or_person_in_organization_assignment">
      
         <explicit name="assigned_entity">
        
            <typename name="organization_or_person_in_organization_select"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="organization_or_person_in_organization_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Organization_relationship">
      
         <explicit name="relation_type">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="relating_organization">
        
            <typename name="Organization"/>
      
         </explicit>
      
         <explicit name="related_organization">
        
            <typename name="Organization"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Organization_type">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Part" supertypes="Product">
      
         <where label="WR1" expression="SIZEOF(['part', 'raw material', 'tool'] * types_of_product(SELF)) = 1">
      
         </where>
    
      </entity>

    
      <entity name="Part_version" supertypes="Product_version">
      
         <explicit name="of_product">
        
            <typename name="Part"/>
        
            <redeclaration entity-ref="Product_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Part_view_definition" supertypes="Product_view_definition">
      
         <explicit name="defined_version">
        
            <typename name="Part_version"/>
        
            <redeclaration entity-ref="Product_view_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Partial_document_assignment" supertypes="Document_assignment">
      
         <explicit name="document_portion">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Product" abstract.supertype="YES" super.expression="ONEOF(Breakdown, Breakdown_element, Document, Part, Requirement)">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Product_category">
      
         <explicit name="id" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Product_category_assignment">
      
         <explicit name="category">
        
            <typename name="Product_category"/>
      
         </explicit>
      
         <explicit name="products">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="Product"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Product_concept">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="target_market" optional="YES">
        
            <typename name="Market"/>
      
         </explicit>
      
         <unique label="UR1">
        
            <unique.attribute attribute="id"/>
      
         </unique>
    
      </entity>

    
      <entity name="Product_configuration">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="item_context">
        
            <typename name="Product_concept"/>
      
         </explicit>
      
         <inverse name="corresponding_design" entity="Item_design_association" attribute="configuration">
        
            <inverse.aggregate type="SET" lower="0" upper="1"/>
      
         </inverse>
    
      </entity>

    
      <entity name="Product_relationship">
      
         <explicit name="relation_type">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="relating_product">
        
            <typename name="Product"/>
      
         </explicit>
      
         <explicit name="related_product">
        
            <typename name="Product"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Product_version" abstract.supertype="YES" super.expression="ONEOF(Breakdown_element_version, Breakdown_version, Document_version, Part_version, Requirement_version)">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="of_product">
        
            <typename name="Product"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Product_version_relationship">
      
         <explicit name="relation_type">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="relating_version">
        
            <typename name="Product_version"/>
      
         </explicit>
      
         <explicit name="related_version">
        
            <typename name="Product_version"/>
      
         </explicit>
      
         <where label="WR1" expression="relating_version :&lt;&gt;: related_version">
      
         </where>
    
      </entity>

    
      <entity name="Product_view_definition" super.expression="ONEOF(Breakdown_element_definition, Part_view_definition, Requirement_view_definition)">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="additional_characterization" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="initial_context">
        
            <typename name="View_definition_context"/>
      
         </explicit>
      
         <explicit name="additional_contexts">
        
            <aggregate type="SET"/>
        
            <typename name="View_definition_context"/>
      
         </explicit>
      
         <explicit name="defined_version">
        
            <typename name="Product_version"/>
      
         </explicit>
      
         <where label="WR1" expression="NOT (initial_context IN additional_contexts)">
      
         </where>
    
      </entity>

    
      <entity name="Property_representation">
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="property">
        
            <typename name="Assigned_property"/>
      
         </explicit>
      
         <explicit name="rep">
        
            <typename name="Representation"/>
      
         </explicit>
      
         <explicit name="role" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Property_value_representation" supertypes="Representation">
      
         <explicit name="context_of_items">
        
            <typename name="Numerical_representation_context"/>
        
            <redeclaration entity-ref="Representation"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Representation">
      
         <explicit name="id" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="context_of_items">
        
            <typename name="Representation_context"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="Representation_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Representation_context">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="kind">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <inverse name="representations_in_context" entity="Representation" attribute="context_of_items">
        
            <inverse.aggregate type="SET" lower="1" upper="?"/>
      
         </inverse>
    
      </entity>

    
      <entity name="Representation_item">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Required_resource" abstract.supertype="YES" super.expression="ONEOF(Required_resource_by_resource_item)">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="required_quantity" optional="YES">
        
            <typename name="Value_with_unit"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Required_resource_assignment">
      
         <explicit name="assigned_resource">
        
            <typename name="Required_resource"/>
      
         </explicit>
      
         <explicit name="item">
        
            <typename name="required_resource_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Required_resource_by_resource_item" supertypes="Required_resource">
      
         <explicit name="resource_item">
        
            <typename name="Resource_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Required_resource_relationship">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="relating">
        
            <typename name="Required_resource"/>
      
         </explicit>
      
         <explicit name="related">
        
            <typename name="Required_resource"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Requirement" supertypes="Product">
    
      </entity>

    
      <entity name="Requirement_assignment">
      
         <explicit name="id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="assigned_requirement">
        
            <typename name="Requirement_view_definition"/>
      
         </explicit>
      
         <explicit name="assigned_to">
        
            <typename name="requirement_assignment_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Requirement_version" supertypes="Product_version">
      
         <explicit name="of_product">
        
            <typename name="Requirement"/>
        
            <redeclaration entity-ref="Product_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Requirement_version_relationship" supertypes="Product_version_relationship">
      
         <explicit name="relating_version">
        
            <typename name="Requirement_version"/>
        
            <redeclaration entity-ref="Product_version_relationship"/>
      
         </explicit>
      
         <explicit name="related_version">
        
            <typename name="Requirement_version"/>
        
            <redeclaration entity-ref="Product_version_relationship"/>
      
         </explicit>
      
         <derived name="predecessor" expression="SELF\Product_version_relationship.relating_version">
        
            <typename name="Requirement_version"/>
      
         </derived>
      
         <derived name="successor" expression="SELF\Product_version_relationship.related_version">
        
            <typename name="Requirement_version"/>
      
         </derived>
    
      </entity>

    
      <entity name="Requirement_view_definition" supertypes="Product_view_definition">
      
         <explicit name="defined_version">
        
            <typename name="Requirement_version"/>
        
            <redeclaration entity-ref="Product_view_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Resource_item">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="resource_items" optional="YES">
        
            <aggregate type="SET"/>
        
            <typename name="resource_item_select"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Resource_property">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="described_element">
        
            <typename name="characterized_resource_select"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Resource_property_representation">
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="property">
        
            <typename name="Resource_property"/>
      
         </explicit>
      
         <explicit name="rep">
        
            <typename name="Representation"/>
      
         </explicit>
      
         <explicit name="role">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Security_classification">
      
         <explicit name="classification_level">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Security_classification_assignment">
      
         <explicit name="classification">
        
            <typename name="Security_classification"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="security_classification_item"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Serial_effectivity" supertypes="Effectivity">
      
         <explicit name="start_id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="end_id" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="State" super.expression="ONEOF(State_observed)">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="State_assertion">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="asserted_state">
        
            <typename name="State"/>
      
         </explicit>
      
         <explicit name="conformance_state">
        
            <typename name="State_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="State_definition">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="State_definition_role">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="State_observed" supertypes="State">
    
      </entity>

    
      <entity name="State_role">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="String_representation_item" supertypes="Representation_item">
      
         <explicit name="string_value">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Structured_task_element" abstract.supertype="YES" supertypes="Task_element" super.expression="ONEOF(Decision_point, Task_element_sequence)">
    
      </entity>

    
      <entity name="Task_element" abstract.supertype="YES" supertypes="Activity_method" super.expression="ONEOF(Structured_task_element, Task_invocation, Task_step)">
      
         <explicit name="notes" optional="YES">
        
            <aggregate type="LIST" lower="1" upper="?"/>
        
            <typename name="Advisory_task_step"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_element_assignment" supertypes="Applied_activity_method_assignment">
      
         <explicit name="assigned_activity_method">
        
            <typename name="Task_element"/>
        
            <redeclaration entity-ref="Applied_activity_method_assignment"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="task_item"/>
        
            <redeclaration entity-ref="Applied_activity_method_assignment"/>
      
         </explicit>
      
         <derived name="assigned_task_element" expression="SELF\Applied_activity_method_assignment.assigned_activity_method">
        
            <typename name="Task_element"/>
      
         </derived>
    
      </entity>

    
      <entity name="Task_element_relationship" supertypes="Activity_method_relationship">
      
         <explicit name="relating_method">
        
            <typename name="Task_element"/>
        
            <redeclaration entity-ref="Activity_method_relationship"/>
      
         </explicit>
      
         <explicit name="related_method">
        
            <typename name="Task_element"/>
        
            <redeclaration entity-ref="Activity_method_relationship"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_element_sequence" supertypes="Structured_task_element">
      
         <explicit name="elements">
        
            <aggregate type="LIST" lower="2" upper="?"/>
        
            <typename name="Task_element"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_element_state_relationship">
      
         <explicit name="state">
        
            <typename name="state_or_state_definition_select"/>
      
         </explicit>
      
         <explicit name="task_element">
        
            <typename name="Task_element"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_invocation" supertypes="Task_element">
      
         <explicit name="task_method">
        
            <typename name="method_or_method_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_method" supertypes="Activity_method">
      
         <explicit name="objective">
        
            <aggregate type="SET"/>
        
            <typename name="Task_objective"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_method_state_relationship">
      
         <explicit name="state">
        
            <typename name="state_or_state_definition_select"/>
      
         </explicit>
      
         <explicit name="task_method">
        
            <typename name="Task_method_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_method_version" supertypes="Activity_method">
      
         <explicit name="content" optional="YES">
        
            <typename name="Task_element"/>
      
         </explicit>
      
         <explicit name="of_task_method">
        
            <typename name="Task_method"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_method_version_assignment" supertypes="Applied_activity_method_assignment">
      
         <explicit name="assigned_activity_method">
        
            <typename name="Task_method_version"/>
        
            <redeclaration entity-ref="Applied_activity_method_assignment"/>
      
         </explicit>
      
         <explicit name="items">
        
            <aggregate type="SET" lower="1" upper="?"/>
        
            <typename name="task_item"/>
        
            <redeclaration entity-ref="Applied_activity_method_assignment"/>
      
         </explicit>
      
         <derived name="assigned_task_method" expression="SELF\Applied_activity_method_assignment.assigned_activity_method">
        
            <typename name="Task_method_version"/>
      
         </derived>
    
      </entity>

    
      <entity name="Task_method_version_relationship" supertypes="Activity_method_relationship">
      
         <explicit name="relating_method">
        
            <typename name="Task_method_version"/>
        
            <redeclaration entity-ref="Activity_method_relationship"/>
      
         </explicit>
      
         <explicit name="related_method">
        
            <typename name="Task_method_version"/>
        
            <redeclaration entity-ref="Activity_method_relationship"/>
      
         </explicit>
      
         <derived name="relating_task_method" expression="SELF\Activity_method_relationship.relating_method">
        
            <typename name="Task_method_version"/>
      
         </derived>
      
         <derived name="related_task_method" expression="SELF\Activity_method_relationship.related_method">
        
            <typename name="Task_method_version"/>
      
         </derived>
    
      </entity>

    
      <entity name="Task_objective">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Task_step" supertypes="Task_element">
      
         <derived name="step_text" expression="SELF\Activity_method.description">
        
            <builtintype type="STRING"/>
      
         </derived>
    
      </entity>

    
      <entity name="Time_offset">
      
         <explicit name="hour_offset">
        
            <builtintype type="INTEGER"/>
      
         </explicit>
      
         <explicit name="minute_offset" optional="YES">
        
            <builtintype type="INTEGER"/>
      
         </explicit>
      
         <explicit name="sense">
        
            <typename name="offset_orientation"/>
      
         </explicit>
      
         <derived name="actual_minute_offset" expression="NVL(minute_offset, 0)">
        
            <builtintype type="INTEGER"/>
      
         </derived>
      
         <where label="WR1" expression="{0 &lt;= hour_offset &lt; 24}">
      
         </where>
      
         <where label="WR2" expression="{0 &lt;= actual_minute_offset &lt;= 59}">
      
         </where>
      
         <where label="WR3" expression="NOT (((hour_offset &lt;&gt; 0) OR (actual_minute_offset &lt;&gt; 0)) AND (sense = exact))">
      
         </where>
    
      </entity>

    
      <entity name="Type_of_person">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="has">
        
            <aggregate type="SET"/>
        
            <typename name="Type_of_person_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Type_of_person_definition">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Uncertainty_with_unit" supertypes="Value_with_unit">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Unit">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="si_unit">
        
            <builtintype type="BOOLEAN"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Value_limit" supertypes="Measure_item">
      
         <explicit name="limit_qualifier">
        
            <typename name="limit_qualifier_list"/>
      
         </explicit>
      
         <explicit name="limit">
        
            <typename name="Value_with_unit"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Value_range" supertypes="Measure_item">
      
         <explicit name="lower_limit">
        
            <typename name="Numerical_item_with_unit"/>
      
         </explicit>
      
         <explicit name="upper_limit">
        
            <typename name="Numerical_item_with_unit"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Value_with_tolerances" supertypes="Measure_item">
      
         <explicit name="item_value">
        
            <typename name="Numerical_item_with_unit"/>
      
         </explicit>
      
         <explicit name="lower_limit">
        
            <builtintype type="REAL"/>
      
         </explicit>
      
         <explicit name="upper_limit">
        
            <builtintype type="REAL"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Value_with_unit">
      
         <explicit name="unit">
        
            <typename name="Unit"/>
      
         </explicit>
      
         <explicit name="value_component">
        
            <typename name="measure_value"/>
      
         </explicit>
    
      </entity>

    
      <entity name="View_definition_context">
      
         <explicit name="application_domain">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="life_cycle_stage">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Work_order">
      
         <explicit name="name">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="in_response_to">
        
            <aggregate type="SET"/>
        
            <typename name="Work_request"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Work_request">
      
         <explicit name="request_id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="version_id">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="description" optional="YES">
        
            <builtintype type="STRING"/>
      
         </explicit>
      
         <explicit name="purpose">
        
            <builtintype type="STRING"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Zone_breakdown" supertypes="Breakdown">
    
      </entity>

    
      <entity name="Zone_breakdown_context" supertypes="Breakdown_context">
      
         <explicit name="breakdown">
        
            <typename name="Zone_breakdown_version"/>
        
            <redeclaration entity-ref="Breakdown_context"/>
      
         </explicit>
      
         <explicit name="breakdown_element">
        
            <typename name="Zone_element_definition"/>
        
            <redeclaration entity-ref="Breakdown_context"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Zone_breakdown_version" supertypes="Breakdown_version">
      
         <explicit name="of_product">
        
            <typename name="Zone_breakdown"/>
        
            <redeclaration entity-ref="Breakdown_version"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Zone_element" supertypes="Breakdown_element">
    
      </entity>

    
      <entity name="Zone_element_definition" supertypes="Breakdown_element_definition">
      
         <explicit name="defined_version">
        
            <typename name="Zone_element_version"/>
        
            <redeclaration entity-ref="Breakdown_element_definition"/>
      
         </explicit>
    
      </entity>

    
      <entity name="Zone_element_version" supertypes="Breakdown_element_version">
      
         <explicit name="of_product">
        
            <typename name="Zone_element"/>
        
            <redeclaration entity-ref="Breakdown_element_version"/>
      
         </explicit>
    
      </entity>

    
      <function name="types_of_product">
      
         <parameter name="obj">
        
            <typename name="Product"/>
      
         </parameter>
      
         <aggregate type="SET"/>
      
         <builtintype type="STRING"/>
      
         <algorithm>
  LOCAL
    category_assignments : BAG OF Product_category_assignment;
    categories : SET OF STRING := [];
    i : INTEGER;
  END_LOCAL;

  category_assignments := USEDIN(obj, 'AD_TASK_SET_DEX.PRODUCT_CATEGORY_ASSIGNMENT.PRODUCTS');
  REPEAT i := LOINDEX(category_assignments) TO HIINDEX(category_assignments);
    categories := categories + category_assignments[i].category.name;
  END_REPEAT;
  RETURN (categories);
      </algorithm>
    
      </function>

  
   </schema>


</express>