Application module: Item definition structure | ISO/TS 10303-1345:2014-02(E) © ISO |
(*
ISO TC184/SC4/WG12 N7732 - ISO/TS 10303-1345 Item definition structure - EXPRESS ARM
Supersedes
ISO TC184/SC4/WG12 N6911
*)
SCHEMA Item_definition_structure_arm;
USE FROM
Effectivity_application_arm;
-- ISO/TS 10303-1059
USE FROM
Product_occurrence_arm;
-- ISO/TS 10303-1063
USE FROM
Product_structure_arm;
-- ISO/TS 10303-1134
TYPE effectivity_item_for_replacement =
SELECT
BASED_ON
effectivity_item
WITH
(Part_definition_relationship);
END_TYPE;
ENTITY Assembled_part_association
SUBTYPE OF (Assembly_component_relationship);
SELF\Product_occurrence_definition_relationship.relating_view : Assembly_definition;
END_ENTITY;
ENTITY Assembly_definition
SUBTYPE OF (Part_view_definition);
END_ENTITY;
ENTITY Effectivity_controlled_assembly_definition
SUBTYPE OF (Assembly_definition);
END_ENTITY;
ENTITY Geometrical_relationship
SUBTYPE OF (Part_definition_relationship);
definition_placement : Geometric_model_relationship_with_transformation;
DERIVE
SELF\View_definition_relationship.relation_type : STRING := 'geometrical relationship';
END_ENTITY;
ENTITY Part_definition_relationship
SUBTYPE OF (View_definition_relationship);
SELF\View_definition_relationship.relating_view : Part_view_definition;
SELF\View_definition_relationship.related_view : Part_view_definition;
END_ENTITY;
RULE definition_replacement_requires_effectivity_assignment FOR
(Part_definition_relationship);
WHERE
WR1: SIZEOF( QUERY( pdr <* Part_definition_relationship |
(pdr\View_definition_relationship.relation_type = 'definition replacement') AND
(SIZEOF( USEDIN(pdr,'EFFECTIVITY_APPLICATION_ARM.EFFECTIVITY_ASSIGNMENT.ITEMS') ) = 0) ))
= 0;
END_RULE;
RULE mandatory_part_occurrence_definition_relationship FOR
(Assembly_component_relationship);
LOCAL assemblies_of_parts: SET OF Assembly_component_relationship := []; END_LOCAL;
WHERE
WR1: SIZEOF(QUERY(ar <* assemblies_of_parts |
NOT ('ITEM_DEFINITION_STRUCTURE_ARM.ASSEMBLED_PART_ASSOCIATION' IN TYPEOF(ar)) ))= 0;
END_RULE;
END_SCHEMA; -- Item_definition_structure_arm
© ISO 2014 — All rights reserved