Application module: Document properties | ISO/TS 10303-1126:2019(E) © ISO |
This clause specifies the information requirements for the Document properties application module. The information requirements are specified as the Application Reference Model (ARM) of this application module.
NOTE 1 A graphical representation of the information requirements is given in Annex C.
NOTE 2 The mapping specification is specified in 5.1. It shows how the information requirements are met by using common resources and constructs defined or imported in the MIM schema of this application module.
This clause defines the information requirements to which implementations shall conform using the EXPRESS language as defined in ISO 10303-11. The following begins the Document_properties_arm schema and identifies the necessary external references.
EXPRESS specification:
*)
SCHEMA Document_properties_arm;
(*
The following EXPRESS interface statements specify the elements imported from the ARMs of other application modules.
EXPRESS specification:
*)
USE FROM
Document_definition_arm;
--
ISO/TS 10303-1123
USE FROM
File_identification_arm;
--
ISO/TS 10303-1127
USE FROM
Foundation_representation_arm;
--
ISO/TS 10303-1006
USE FROM
Measure_representation_arm;
--
ISO/TS 10303-1118
USE FROM
Property_assignment_arm;
--
ISO/TS 10303-1030
(*
NOTE 1 The schemas referenced above are specified in the following part of ISO 10303:
Document_definition_arm ISO/TS 10303-1123 File_identification_arm ISO/TS 10303-1127 Foundation_representation_arm ISO/TS 10303-1006 Measure_representation_arm ISO/TS 10303-1118 Property_assignment_arm ISO/TS 10303-1030
NOTE 2 See Annex C, Figures C.1and C.2 for a graphical representation of this schema.
This subclause specifies the ARM types for this application module. The ARM types and definitions are specified below.
The descriptive_or_numerical type allows for the designation of the data types Descriptive_document_property and Numerical_document_property.
EXPRESS specification:
*)
TYPE
descriptive_or_numerical =
SELECT
(Descriptive_document_property,
Numerical_document_property);
END_TYPE;
(*
The document_property_item type is an extension of the property_assignment_select type. It adds the data types Document_definition and File to the list of alternate data types.
NOTE That extension involves that a Document_definition or a File can be assigned any kind of property. The purpose of the entity data types defined in the present module is to specify the properties and their representation that are specific to documents and to files.
EXPRESS specification:
*)
TYPE
document_property_item =
SELECT
BASED_ON
property_assignment_select
WITH
(Document_definition,
File);
END_TYPE;
(*
This subclause specifies the ARM entities for this module. Each ARM application entity is an atomic element that embodies a unique application concept and contains attributes specifying the data elements of the entity. The ARM entities and definitions are specified below.
When the Assigned_document_property is applied to a Digital_document_definition through the described_element attribute, the Assigned_document_property applies to all instances of Digital_file that are components of the Digital_document_definition.
When the Assigned_document_property is applied to a Physical_document_definition through the described_element attribute, the Assigned_document_property applies to all instances of Hardcopy that are components of the Physical_document_definition.
When the Assigned_document_property is applied to a File through the described_element attribute, the Assigned_document_property applies to the individual File.
EXPRESS specification:
*)
ENTITY Assigned_document_property
SUBTYPE OF (Assigned_property);
SELF\assigned_property.described_element : document_property_item;
DERIVE
SELF\assigned_property.name : STRING := 'document property';
WHERE
WR1: SIZEOF(['DOCUMENT_PROPERTIES_ARM.DOCUMENT_DEFINITION','DOCUMENT_PROPERTIES_ARM.FILE'] * TYPEOF(SELF\Assigned_property.described_element))
= 1;
END_ENTITY;
(*
Attribute definitions:
described_element: the element to which the property is assigned.
name: the words by which the Assigned_document_property is known. The inherited name of the property is constrained to be 'document property'
Formal propositions:
WR1: The Assigned_document_property shall be assigned to a Document_definition or to a File.
EXPRESS specification:
*)
ENTITY Descriptive_document_property
SUBTYPE OF (String_representation_item);
INVERSE
valued_characteristic : SET[1:1] OF document_property_representation FOR items;
END_ENTITY;
(*
Attribute definitions:
valued_characteristic: the Document_property_representation that contains the Descriptive_document_property.
Where applicable, the following values shall be used for the inherited name attribute of the Document_property_representation:
The following characteristics may be items of a Document_property_representation with name 'document content':
EXAMPLE 1 An example value for the 'detail level' property is 'rough 3d shape' - a 3D shape model without edge rounds and fillets.
EXAMPLE 2 examples of geometry type are: '3D wireframe model', '2D shape', 'surface model', 'closed volume', 'solid model', 'solid and surface model', '2D drawing'.
The following characteristics shall be an item of a Document_property_representation with name 'document creation':
The following characteristics may be items of a Document_property_representation with name 'document creation':
EXAMPLE 3 An example value for the 'creating interface' property is 'Postscript Printer Driver' indicating that a Postscript Printer Driver was used to print a hardcopy.
The following characteristics may be items of a Document_property_representation with name 'document format':
EXAMPLE 4 'A0' and 'A4' are examples of standard sizes of paper sheets.
The following characteristics may be items of a Document_property_representation with name 'document size':
EXPRESS specification:
*)
ENTITY Document_property_representation
SUBTYPE OF (Representation);
SELF\representation.items : SET[1:?] OF descriptive_or_numerical;
WHERE
WR1: SIZEOF(QUERY(pr <* USEDIN(SELF, 'PROPERTY_ASSIGNMENT_ARM.PROPERTY_DEFINITION_REPRESENTATION.USED_REPRESENTATION')
| 'DOCUMENT_PROPERTIES_ARM.ASSIGNED_PROPERTY' IN TYPEOF(pr\Property_representation.property))) > 0;
WR2: SELF\Representation.context_of_items.kind = 'document parameters';
WR3: SIZEOF(QUERY(it1 <* SELF\Representation.items | (it1.name <> 'geometry type') AND
(SIZEOF(QUERY(it2 <* SELF\Representation.items | it1.name = it2.name)) > 1))) = 0;
END_ENTITY;
(*
Attribute definitions:
items: the set of things of the Document_property_representation shall be of type Descriptive_document_property or Numerical_document_property.
Formal propositions:
WR1: There shall be at least one Property_representation that references Document_property_representation as Property_representation.used_representation and has Assigned_property in role of Property_representation.property.
WR2: the context of the Document_property_representation shall be of kind 'document parameters'.
WR3: there shall not be two items of the Document_property_representation with the same name, unless the name is 'geometry type'.
EXAMPLE The size of a digital file expressed in Megabytes is an example of Numerical_document_property.
EXPRESS specification:
*)
ENTITY Numerical_document_property
SUBTYPE OF (Numerical_item_with_unit);
INVERSE
valued_characteristic : SET[1:1] OF document_property_representation FOR items;
END_ENTITY;
(*
Attribute definitions:
valued_characteristic: the Document_property_representation that contains the Numerical_document_property.
*)
END_SCHEMA; -- Document_properties_arm
(*
© ISO 2019 — All rights reserved