AP scope  |  AP module  |  AP contents  |  AP index
Application module: General model parameter ISO/WD 10303-1472

Cover page
Table of contents
Copyright
Foreword
Introduction
1 Scope
2 Normative references
3 Terms, definitions and abbreviations

4 Information requirements
   4.1 Required AM ARMs
   4.2 ARM type definition
   4.3 ARM entity definitions
   4.4 ARM function definition
5 Module interpreted model
   5.1 Mapping specification
   5.2 MIM EXPRESS short listing
     5.2.1 MIM type definitions
     5.2.2 MIM entity definitions
6 Module reference data

A MIM short names
B Information object registration
C ARM EXPRESS-G   EXPRESS-G
D MIM EXPRESS-G   EXPRESS-G
E Computer interpretable listings
Bibliography
Index

6 Module reference data

Implementations of this part of ISO 10303 shall make use of the capability to classify an entity type using Classification_assignment (see ISO 10303-1114), Class (see ISO 10303-1070) and External_class (see ISO 10303-1275). This annex contains a subclause for each entity type defined in or used by this part of ISO 10303 for which that capability shall be applied. The specified Uniform Resource Identifier (URI) is used to identify each class.

For the purpose of diagramming possible classifications of EXPRESS entity types, UML 1.4 or later class diagrams with stereotypes are used. The W3C OWL Web Ontology Language is used to represent the classes that may be applied to an EXPRESS entity type both in the diagrams and as example OWL files.

NOTE   The standards related to the specification of reference data are:

The diagram notation is interpreted as follows:

6.1 Classifications of General_model_parameter

A General_model_parameter may be classified in order to specify the direction it is passed with respect to the model for which it is a parameter. For the purpose of specifying that direction, the OMG UML 2 concept of ParameterDirectionKind is used. The following terms represent the same concepts from the UML 2 specification regarding ParameterDirectionKind and are referenced using the specified URIs.



Figure 6.1 —  General_model_parameter Taxonomy

Figure 6.1 —  General_model_parameter Taxonomy

6.1.1 ParemeterDirectionKind-in

A ParemeterDirectionKind-in indicates that parameter values are passed into the model.

URI Specification

http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-in

6.1.2 ParemeterDirectionKind-out

A ParemeterDirectionKind-out indicates that parameter values are passed from a model.

URI Specification

http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-out

6.1.3 ParemeterDirectionKind-inout

A ParemeterDirectionKind-inout indicates that parameter values are passed into a model and then back out from the model.

URI Specification

http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-inout

6.1.4 ParemeterDirectionKind-return

A ParemeterDirectionKind-return indicates that parameter values are passed as return values from a model.

URI Specification

http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-return

6.1.5 Examples

EXAMPLE    The following shows how the four direction kinds would appear in an ISO 10303-21 instance data file.

#1=EXTERNAL_CLASS_LIBRARY('http://schema.omg.org/spec/UML/2.1','OMG UML 2.1');
#2=EXTERNAL_CLASS('http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-in','in',$,#1);
#3=EXTERNAL_CLASS('http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-out','out',$,#1);
#4=EXTERNAL_CLASS('http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-inout','inout',$,#1);
#5=EXTERNAL_CLASS('http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-return','return',$,#1);
#6=CLASSIFICATION_ASSIGNMENT(#2,#7,$);
#7=GENERAL_MODEL_PARAMETER('a','','',$);

EXAMPLE    The following shows how the ParameterDirectionKind's can be represented using an OWL ontology and the related RDF/XML Abbreviated syntax.

<?xml version="1.0"?>
<rdf:RDF
    xmlns="http://schema.omg.org/spec/UML/2.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
  xml:base="http://schema.omg.org/spec/UML/2.1/">
  <owl:Ontology rdf:about=""/>
  <owl:Class rdf:about="http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-in"/>
  <owl:Class rdf:about="http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-out"/>
  <owl:Class rdf:about="http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-inout"/>
  <owl:Class rdf:about="http://schema.omg.org/spec/UML/2.1/ParameterDirectionKind-return"/>
</rdf:RDF>

6.2 Classifications of Independent_property_representation

An Independent_property_representation may be classified in order to specify the kind of value being represented for a General_model_parameter.



Figure 6.2 —  Independent_property_representation Taxonomy

Figure 6.2 —  Independent_property_representation Taxonomy

6.2.1 Independent_property_representation Default Value

A DefaultValue is the value of the General_model_parameter if no other value is specified.

URI Specification

urn:iso:std:iso:ts:10303:-1472:ed-1:tech-taxonomy#DefaultValue

6.2.2 Examples

EXAMPLE    The following shows how the DefaultValue would appear in an ISO 10303-21 instance data file.

#1=EXTERNAL_CLASS_LIBRARY('urn:iso:std:iso:ts:10303:-1472:ed-1:en:tech:taxonomy:General_model_parameter','ISO 10303-1472 General model parameter module');
#2=EXTERNAL_CLASS('urn:iso:std:iso:ts:10303:-1472:ed-1:en:tech:taxonomy:General_model_parameter#DefaultValue','default value',$,#1);
#6=CLASSIFICATION_ASSIGNMENT(#2,#7,$);
#7=INDEPENDENT_PROPERTY_REPRESENTATION($,#20,#21,$);
#20=GENERAL_MODEL_PARAMETER( ... );
#21=REPRESENTATION( ... );

EXAMPLE    The following shows how the DefaultValue can be represented using an OWL ontology and the related RDF/XML Abbreviated syntax.

<?xml version="1.0"?>
<rdf:RDF
    xmlns="urn:iso:std:iso:ts:10303:-1472:ed-1:en:tech:taxonomy:General_model_parameter#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xml:base="urn:iso:std:iso:ts:10303:-1472:ed-1:en:tech:taxonomy:General_model_parameter">
  <owl:Ontology rdf:about=""/>
  <owl:Class rdf:about="urn:iso:std:iso:ts:10303:-1472:ed-1:en:tech:taxonomy:General_model_parameter#DefaultValue"/>
</rdf:RDF>


© ISO 2006 — All rights reserved