|
ENTITY installation_location SUBTYPE OF (shape_aspect); WHERE wr1: SIZEOF ( TYPEOF ( SELF ) * [ 'electrotechnical_design.product_definition' , 'electrotechnical_design.specified_higher_usage_occurrence' ] ) = 1 ; wr2: SELF . of_shape . definition \ product_definition . frame_of_reference . name IN [ 'conceptual definition' , 'functional definition' , 'functional occurrence' , 'part definition' , 'part occurrence' , 'physical occurrence' , 'system definition' ] ; wr3: ( ( SELF . of_shape . definition \ product_definition_relationship . relating_product_definition . frame_of_reference . name = 'functional definition' ) AND ( SELF . of_shape . definition \ product_definition_relationship . related_product_definition . frame_of_reference . name = 'functional occurrence' ) ) XOR ( ( SELF . of_shape . definition \ product_definition_relationship . relating_product_definition . frame_of_reference . name = 'part definition' ) AND ( SELF . of_shape . definition \ product_definition_relationship . related_product_definition . frame_of_reference . name = 'part occurrence' ) ) AND ( SELF . of_shape . definition \ product_definition_relationship . related_product_definition . name = 'single instance' ) ; wr4: SIZEOF ( QUERY ( des <* USEDIN ( SELF , 'electrotechnical_design.' + 'item_designation_assignment.' + 'items' ) | SIZEOF ( TYPEOF ( des ) * [ 'electrotechnical_design.' + 'document_designation_assignment' , 'electrotechnical_design.' + 'signal_designation_assignment' , 'electrotechnical_design.' + 'terminal_designation_assignment' ] ) > 0 ) ) = 0 ; wr5: SIZEOF ( QUERY ( des <* USEDIN ( SELF , 'electrotechnical_design.' + 'item_designation_assignment.' + 'items' ) | ( 'electrotechnical_design.' + 'object_reference_designation_assignment' IN TYPEOF ( des ) ) AND ( des . role . description = 'primary' ) ) ) = 1 ; wr6: SIZEOF ( QUERY ( i <* USEDIN ( SELF , 'electrotechnical_design.' + 'applied_identification_assignment.' + 'items' ) | i . role . name = 'version' ) ) < 2 ; END_ENTITY; -- installation_location |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; installation_location - |
Global rules for this entity data type- |
public interface EInstallation_location extends EShape_aspect |
public class CInstallation_location implements EInstallation_location |
public class AInstallation_location extends AEntitypublic EInstallation_location getByIndex(int index)public EInstallation_location getCurrentMember(SdaiIterator it) |