Product data quality inspection result entity definitions

Một phần của tài liệu Tiêu chuẩn iso 10303 59 2008 (Trang 43 - 49)

A data_quality_inspection_result_representation represents inspection results for the specified product data quality criteria against specific product data instance. It consists of one or more data_quality_inspection_results, each corresponding to a specific criterion.

EXPRESS specification:

*)

ENTITY data_quality_inspection_result_representation SUBTYPE OF(representation);

criteria_inspected : data_quality_criteria_representation;

WHERE

WR1 : SIZEOF( QUERY( q <* SELF\representation.items|

'PRODUCT_DATA_QUALITY_INSPECTION_RESULT_SCHEMA.' + 'DATA_QUALITY_INSPECTION_RESULT' IN TYPEOF(q))) > 0;

WR2 : SIZEOF(inspected_product_definition(SELF)) > 0;

END_ENTITY;

(*

Attribute definitions:

criteria_inspected: The criteria for which the inspection was performed.

Formal propositions:

WR1: At least one instance of representation_item referenced from a data_quality_inspection_- result_representation shall be of type data_quality_inspection_result.

WR2: An instance of this entity shall be referenced from at least one instance of product_definition defined in product_definition_schema via an instance of data_quality_definition defined in product_data_quality_definition_schema.

6.4.2 data_quality_inspection_result

A data_quality_inspection_result represents the result of inspection regarding a single specified criterion.

EXPRESS specification:

--`,,```,,,,````-`-`,,`,,`,`,,`---

26

*)

ENTITY data_quality_inspection_result SUBTYPE OF(representation_item);

criterion_inspected : data_quality_criterion;

WHERE

WR1 : SIZEOF(QUERY(q <* bag_to_set( USEDIN(SELF,

'REPRESENTATION_SCHEMA.REPRESENTATION.ITEMS')) |'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DATA_QUALITY_CRITERIA_REPRESENTATION' IN TYPEOF(q)))=0;

END_ENTITY;

(*

Attribute definitions:

criterion_inspected: data_quality_criterion for which the inspection was performed.

Formal propositions:

WR1: An instance of this entity shall not be used as an item of the data_quality_criteria_- representation.

6.4.3 data_quality_inspection_result_with_judgement

A data_quality_inspection_result_with_judgement is a type of data_quality_inspection_result that contains information on whether the data inspected have passed or failed the test for the criterion.

EXPRESS specification:

*)

ENTITY data_quality_inspection_result_with_judgement SUBTYPE OF(data_quality_inspection_result);

judgement : BOOLEAN;

END_ENTITY;

(*

Attribute definitions:

judgement: A boolean value representing the fact whether the result of inspection satisfies the data quality criterion specified by criterion_inspected or not. The value is TRUE when a quality concern represented by the criterion is detected and FALSE otherwise.

NOTE 1 When the judgement is not required or is not available for some reasons such as incomplete inspection, an instance of data_quality_inspection_result shall be used instead of this entity.

NOTE 2 Expression of judgement depends on each application. This attribute is provided as a default representation of judgement. Developers of Application Protocols using this standard may create their own judgement representation based on the detailed information available from data_quality_inspection_report.

©ISO 2008-All rights reserved

Copyright International Organization for Standardization Provided by IHS under license with ISO

--`,,```,,,,````-`-`,,`,,`,`,,`---

6.4.4 data_quality_inspection_report

A data_quality_inspection_report represents an inspection report with respect to one specific criterion.

EXPRESS specification:

*)

ENTITY data_quality_inspection_report

SUPERTYPE OF (ONEOF(data_quality_inspection_criterion_report, data_quality_inspection_instance_report)) SUBTYPE OF(representation_item);

inspection_result : data_quality_inspection_result;

WHERE

WR1 : SIZEOF(QUERY(q <* bag_to_set( USEDIN(SELF,

'REPRESENTATION_SCHEMA.REPRESENTATION.ITEMS')) |'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DATA_QUALITY_CRITERIA_REPRESENTATION' IN TYPEOF(q)))=0;

END_ENTITY;

(*

Attribute definitions:

inspection_result: data_quality_inspection_result for which the inspection report is represented.

Formal propositions:

WR1: An instance of this entity shall not be used as an item of the data_quality_criteria_- representation.

6.4.5 data_quality_inspection_criterion_report

A data_quality_inspection_criterion_report is a type of data_quality_inspection_report that represents summary information of the inspection results for one specific criterion. This entity may report how many instances were inspected and how many instances among them were found to have quality defects with regard to the criterion via data_quality_inspection_criterion_report_item.

EXPRESS specification:

*)

ENTITY data_quality_inspection_criterion_report SUBTYPE OF(data_quality_inspection_report);

statistical_values : SET [1:2] OF

data_quality_inspection_criterion_report_item;

WHERE

WR1 : SIZEOF(QUERY(i1<*bag_to_set(USEDIN(

--`,,```,,,,````-`-`,,`,,`,`,,`---

28

SELF\data_quality_inspection_report.

inspection_result.criterion_inspected, 'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DATA_QUALITY_REPORT_REQUEST.CRITERION_OF_REPORT_REQUEST'))|

'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'SUMMARY_REPORT_REQUEST' IN TYPEOF(i1)))>0;

WR2 : (SIZEOF(SELF.statistical_values) = 1 ) OR (SELF.statistical_values[1].value_type <>

SELF.statistical_values[2].value_type);

END_ENTITY;

(*

Attribute definitions:

statistical_values: One or two data_quality_inspection_criterion_report_items that shows the number of inspected instances and or the number of defects detected.

Formal propositions:

WR1: data_quality_criterion associated with an instance of this entity shall be referenced by at least one summary_report_request.

WR2: The size of statistical_values of this entity shall be one or two. If it is two, value_type of two statistical_values shall not be identical.

6.4.6 data_quality_inspection_criterion_report_item

A data_quality_inspection_criterion_report_item is a type of representation_item that represents an integer value that implies NUMBER_OF_INSPECTED_INSTANCES or NUMBER_OF_- QUALITY_DEFECTS_DETECTED.

EXPRESS specification:

*)

ENTITY data_quality_inspection_criterion_report_item SUBTYPE OF(representation_item);

statistical_value : INTEGER;

value_type : statistical_value_type;

WHERE

WR1 : SIZEOF(QUERY(q <* bag_to_set( USEDIN(SELF,

'REPRESENTATION_SCHEMA.REPRESENTATION.ITEMS')) |'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DATA_QUALITY_CRITERIA_REPRESENTATION' IN TYPEOF(q)))=0;

END_ENTITY;

(*

©ISO 2008-All rights reserved

Copyright International Organization for Standardization Provided by IHS under license with ISO

--`,,```,,,,````-`-`,,`,,`,`,,`---

Attribute definitions:

statistical_value: An integer value.

value_type: statistical_value_type that shows whether statistical_value relates to NUMBER_OF_- INSPECTED_INSTANCES or to NUMBER_OF_QUALITY_DEFECTES_DETECTED.

Formal propositions:

WR1: An instance of this entity shall not be used as an item of the data_quality_criteria_- representation.

6.4.7 data_quality_inspection_instance_report

A data_quality_inspection_instance_report is a type of data_quality_inspection_report that represents detailed information of inspection result in entity instance level for one specific criterion.

Inspection is made against each instance element of the product data concerned. This entity contains a list of data_quality_inspection_instance_report_items, each representing the inspection result for an instance or a pair of instances of the inspected product data.

NOTE The order of data_quality_inspection_instance_report_items in the list of inspected_instances attribute is specified by data_quality_report_request as defined in product_data_quality_criteria_schema.

EXPRESS specification:

*)

ENTITY data_quality_inspection_instance_report SUBTYPE OF(data_quality_inspection_report);

inspected_instances : LIST [1:?] OF

data_quality_inspection_instance_report_item;

WHERE

WR1 : SIZEOF(QUERY(i1<*bag_to_set(USEDIN(

SELF\data_quality_inspection_report.

inspection_result.criterion_inspected, 'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DATA_QUALITY_REPORT_REQUEST.CRITERION_OF_REPORT_REQUEST'))|

'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DETAILED_REPORT_REQUEST' IN TYPEOF(i1)))>0;

END_ENTITY;

(*

Attribute definitions:

inspected_instances: A list of data_quality_inspection_instance_report_items, each representing the inspection result for an instance or a pair of instances of the inspected product data.

Formal propositions:

--`,,```,,,,````-`-`,,`,,`,`,,`---

30

WR1: data_quality_criterion associated with an instance of this entity shall be referenced by at least one detailed_report_request.

6.4.8 data_quality_inspection_instance_report_item

A data_quality_inspection_instance_report_item represents a detailed inspection result for an inspected element or a pair of inspected elements of the specified product data.

NOTE An instance of this entity may be created for each entity instance inspected. Usage of instanes of this entity can be controlled by detailed_report_request defined in data_quality_criteria_schema that has attributes to require a report on all measured elements or only on elements with inferior quality, number of elements to be reported and expected report sequence.

EXPRESS specification:

*)

ENTITY data_quality_inspection_instance_report_item SUBTYPE OF(representation_item);

WHERE

WR1 : SIZEOF(QUERY(q <* bag_to_set( USEDIN(SELF,

'REPRESENTATION_SCHEMA.REPRESENTATION.ITEMS')) |'PRODUCT_DATA_QUALITY_CRITERIA_SCHEMA.'+

'DATA_QUALITY_CRITERIA_REPRESENTATION' IN TYPEOF(q)))=0;

END_ENTITY;

(*

Formal propositions:

WR1: An instance of this entity shall not be used as an item of the data_quality_criteria_- representation.

6.4.9 data_quality_report_measurement_association

A data_quality_report_measurement_association represents the correspondence between a data_quality_inspection_report and the data_quality_measurement_requirement used for the inspection.

EXPRESS specification:

*)

ENTITY data_quality_report_measurement_association SUBTYPE OF(representation_item_relationship);

SELF\representation_item_relationship.related_representation_item : data_quality_inspection_report;

SELF\representation_item_relationship.relating_representation_item : data_quality_measurement_requirement;

©ISO 2008-All rights reserved

Copyright International Organization for Standardization Provided by IHS under license with ISO

--`,,```,,,,````-`-`,,`,,`,`,,`---

END_ENTITY;

(*

Attribute definitions:

SELF\representation_item_relationship.related_representation_item: Relating data_quality_- inspection_report.

SELF\representation_item_relationship.relating_representation_item: Related data_quality_- measurement_requirement.

6.5 Product data quality inspection result function definitions

Một phần của tài liệu Tiêu chuẩn iso 10303 59 2008 (Trang 43 - 49)

Tải bản đầy đủ (PDF)

(326 trang)