|
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 | 'fabrication_technology_arm.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) |