ENTITY printed_tiebar_template_armx SUBTYPE OF (structured_printed_part_template_armx, printed_tiebar_template); DERIVE terminal_location : SET [0:?] OF axis2_placement_2d := pplt_get_tl_ap2d(SELF); passage_component_location : SET [0:?] OF axis2_placement_2d := pplt_get_pcl_ap2d(SELF); tiebar_shape_model : SET [0:?] OF shape_representation := pplt_get_gm(SELF); INVERSE SELF\printed_part_template_armx.access_mechanisms : SET [2:?] OF printed_part_template_join_terminal FOR associated_definition; WHERE wr1: SIZEOF(['PRINTED_PHYSICAL_LAYOUT_TEMPLATE_XIM.PRINTED_CONNECTOR_TEMPLATE_ARMX', 'PRINTED_PHYSICAL_LAYOUT_TEMPLATE_XIM.NON_CONDUCTIVE_CROSS_SECTION_TEMPLATE_ARMX', 'PRINTED_PHYSICAL_LAYOUT_TEMPLATE_XIM.PRINTED_PART_CROSS_SECTION_TEMPLATE_ARMX'] * TYPEOF(SELF)) = 0; wr2: SIZEOF(QUERY(am <* SELF\Printed_part_template_armx.access_mechanisms | NOT('PRINTED_PHYSICAL_LAYOUT_TEMPLATE_XIM.PRINTED_PART_TEMPLATE_JOIN_TERMINAL' IN TYPEOF(am)) )) = 0; wr3: (SIZEOF(passage_component_location) = 0) OR (SIZEOF(QUERY(pcl <* passage_component_location | (SIZEOF(QUERY(tsm <* tiebar_shape_model | (ap2d_geometrically_in_tiebar(pcl,tsm)) )) > 0) )) = SIZEOF(passage_component_location)); wr4: SIZEOF(QUERY(t <* SELF\Structured_template.templates | 'LAYERED_INTERCONNECT_SIMPLE_TEMPLATE_XIM.STRATUM_FEATURE_TEMPLATE' IN TYPEOF(t\Template_location_in_structured_template.template))) > 0; wr5: SIZEOF(QUERY(spptt <* SELF\Printed_part_template.access_mechanisms | NOT(SIZEOF(USEDIN(spptt,'PRINTED_PHYSICAL_LAYOUT_TEMPLATE_ARM.' + 'PRINTED_PART_TEMPLATE_CONNECTED_TERMINALS_DEFINITION.CONNECTED_TERMINALS')) = 1) )) = 0; wr6: SIZEOF(QUERY(spptt1 <* SELF\Printed_part_template.access_mechanisms | NOT(SIZEOF(QUERY(spptt2 <* SELF\Printed_part_template.access_mechanisms | (bag_to_set(USEDIN(spptt1,'PRINTED_PHYSICAL_LAYOUT_TEMPLATE_ARM.' + 'PRINTED_PART_TEMPLATE_CONNECTED_TERMINALS_DEFINITION.CONNECTED_TERMINALS')) = bag_to_set(USEDIN(spptt2,'PRINTED_PHYSICAL_LAYOUT_TEMPLATE_ARM.' + 'PRINTED_PART_TEMPLATE_CONNECTED_TERMINALS_DEFINITION.CONNECTED_TERMINALS'))))) = SIZEOF(SELF\Printed_part_template.access_mechanisms)))) = 0; wr7: SIZEOF(QUERY(tl <* terminal_location | (SIZEOF(QUERY(pcl <* passage_component_location | ((tl :=: pcl) OR (SIZEOF(QUERY(tsm <* tiebar_shape_model | (ap2d_geometrically_in_tiebar(tl,tsm)))) > 0)))) > 0) )) = SIZEOF(terminal_location); END_ENTITY; -- printed_tiebar_template_armx |
Global rules for this entity data type- |
public interface EPrinted_tiebar_template_armx extends EStructured_printed_part_template_armx, EPrinted_tiebar_templateterminal_location (derived attribute)AAxis2_placement_2d getTerminal_location(EPrinted_tiebar_template_armx type)boolean testTerminal_location(EPrinted_tiebar_template_armx type) passage_component_location (derived attribute)AAxis2_placement_2d getPassage_component_location(EPrinted_tiebar_template_armx type)boolean testPassage_component_location(EPrinted_tiebar_template_armx type) tiebar_shape_model (derived attribute)AShape_representation getTiebar_shape_model(EPrinted_tiebar_template_armx type)boolean testTiebar_shape_model(EPrinted_tiebar_template_armx type) |
public class CPrinted_tiebar_template_armx implements EPrinted_tiebar_template_armxstatic EAttribute attributeTerminal_location(EPrinted_tiebar_template_armx type)static int usedinTerminal_location(EPrinted_tiebar_template_armx type, EAxis2_placement_2d instance, ASdaiModel domain, APrinted_tiebar_template_armx result) static EAttribute attributePassage_component_location(EPrinted_tiebar_template_armx type) static int usedinPassage_component_location(EPrinted_tiebar_template_armx type, EAxis2_placement_2d instance, ASdaiModel domain, APrinted_tiebar_template_armx result) static EAttribute attributeTiebar_shape_model(EPrinted_tiebar_template_armx type) static int usedinTiebar_shape_model(EPrinted_tiebar_template_armx type, EShape_representation instance, ASdaiModel domain, APrinted_tiebar_template_armx result) static EAttribute attributeAccess_mechanisms(EPrinted_tiebar_template_armx type) |
public class APrinted_tiebar_template_armx extends AEntitypublic EPrinted_tiebar_template_armx getByIndex(int index)public EPrinted_tiebar_template_armx getCurrentMember(SdaiIterator it) |