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) |