Application module: Attribute classification | ISO/TS 10303-1246:2014-02(E) © ISO |
This clause specifies the information requirements for the Attribute classification 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 Attribute_classification_arm schema and identifies the necessary external references.
EXPRESS specification:
*)
SCHEMA Attribute_classification_arm;
(*
The following EXPRESS interface statement specifies the elements imported from the ARM of another application module.
EXPRESS specification:
*)
USE FROM
Class_arm;
--
ISO/TS 10303-1070
(*
NOTE 1 The schemas referenced above are specified in the following part of ISO 10303:
Class_arm ISO/TS 10303-1070
NOTE 2 See Annex C, Figures C.1and C.2 for a graphical representation of this schema.
This subclause specifies the ARM type for this application module. The ARM type and definition is specified below.
The classified_attribute_select type is an extensible list of alternate data types. Additional alternate data types are specified in select data types that extend the classified_attribute_select type.
NOTE This empty extensible select requires extension in a further module to ensure that entities that refer to it have at least one valid instantiation.
A select of the entities whose attribute is being classified.EXPRESS specification:
*)
TYPE
classified_attribute_select =
EXTENSIBLE
GENERIC_ENTITY
SELECT;
END_TYPE;
(*
This subclause specifies the ARM entity for this module. The ARM entity is an atomic element that embodies a unique application concept and contains attributes specifying the data elements of the entity. The ARM entity and definition is specified below.
EXAMPLE Three approval statuses for documents are agreed in a given business process: 'approved', 'dis-approved' and 'in-work'. Each of which will be represented by a Class.
When assigning a status, 'approved' for example, to a given document, the status will be represented by the attribute status_name defined on an instance of the entity, Approval_status. The value of this attribute will be identified by an instance of Attribute_classification in which the allowed_value attribute is the Class 'approved', the attribute_name attribute is status_name and the classified_entity attribute is instance of Approval_status.
EXPRESS specification:
*)
ENTITY Attribute_classification;
allowed_value : Class;
attribute_name : STRING;
classified_entity : SET[1:?] OF classified_attribute_select;
END_ENTITY;
(*
Attribute definitions:
allowed_value: the Class that defines the value of the attribute identified by attribute_name on the entity identified by the classified_entity attribute.
attribute_name: the name of the EXPRESS attribute whose value is being assigned.
classified_entity: an instance of one of the types of classified_attribute_select. The instance shall have an attribute or an inherited attribute with name attribute_name.
Informal propositions:
IR1: the type of the attribute that is being classified shall not be an entity data type.
*)
END_SCHEMA; -- Attribute_classification_arm
(*
© ISO 2014 — All rights reserved