AP scope | AP module | AP contents | AP index | |
Application module: General model parameter | ISO/WD 10303-1472 |
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:
<<expressEntityType>>
stereotype applied to a UML Class denotes an EXPRESS entity type;
<<owlClass>>
stereotype applied to a UML Class denotes the related class(es);
<<classificationAssignment>>
stereotype applied to a UML Generalization denotes
the fact that the EXPRESS entity type can be classified
using the more specific class;
<<disjointWith>>
stereotype applied to a UML constraint note is included where appropriate
to specify the set of OWL classes are mutually exclusive
subClassOf
relationship between OWL classes is denoted using unstereotyped generalizations
between the stereotyped UML classes;
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.
URI Specification
http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-in
URI Specification
http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-out
URI Specification
http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-inout
URI Specification
http://schema.omg.org/spec/UML/2.1/ParemeterDirectionKind-return
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>
An Independent_property_representation may be classified in order to specify the kind of value being represented for a General_model_parameter.
URI Specification
urn:iso:std:iso:ts:10303:-1472:ed-1:tech-taxonomy#DefaultValue
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