|
ENTITY package_armx SUBTYPE OF (part_usage_view, package); mounting_technology : mounting_technology_type; maximum_seating_plane_installation_offset : OPTIONAL length_measure_with_unit; nominal_mounting_lead_pitch : OPTIONAL length_measure_with_unit; nominal_mounting_lead_span : OPTIONAL length_measure_with_unit; maximum_body_height_above_seating_plane : length_measure_with_unit; maximum_body_height_below_seating_plane : OPTIONAL length_measure_with_unit; body_clearance_above_seating_plane : OPTIONAL length_tolerance_characteristic; body_clearance_below_seating_plane : OPTIONAL length_tolerance_characteristic; maximum_lead_length_below_seating_plane : OPTIONAL length_measure_with_unit; least_lead_length_below_seating_plane : OPTIONAL length_measure_with_unit; DERIVE maximum_package_total_vertical_extent : length_measure_with_unit := max_data_element ( add_data_element ( maximum_body_height_above_seating_plane , maximum_body_height_below_seating_plane ) , add_data_element ( maximum_body_height_above_seating_plane , maximum_lead_length_below_seating_plane ) ) ; cutout_required : LOGICAL := ( maximum_body_height_below_seating_plane \ measure_with_unit . value_component > 0.0 ) ; maximum_installed_height : length_measure_with_unit := add_data_element ( maximum_body_height_above_seating_plane , maximum_seating_plane_installation_offset ) ; one_orientation_feature : LOGICAL := ( SIZEOF ( orientation_feature ) = 1 ) ; two_orientation_features : LOGICAL := ( SIZEOF ( orientation_feature ) = 2 ) ; three_orientation_features : LOGICAL := ( SIZEOF ( orientation_feature ) = 3 ) ; package_seating_plane : SET [0:?] OF seating_plane_armx := bag_to_set ( QUERY ( nfse <* USEDIN ( SELF , 'non_feature_shape_element_xim.non_feature_shape_element.scope' ) | 'non_feature_shape_element_xim.seating_plane_armx' IN TYPEOF ( nfse ) ) ) ; interface_plane : SET [0:?] OF interface_plane := bag_to_set ( QUERY ( nfse <* USEDIN ( SELF , 'non_feature_shape_element_xim.non_feature_shape_element.scope' ) | 'non_feature_shape_element_arm.interface_plane' IN TYPEOF ( nfse ) ) ) ; INVERSE body : SET [0:1] OF package_body_armx FOR containing_shape; package_accesses : SET [0:?] OF package_terminal_armx FOR associated_definition; package_polarity_indication : SET [0:1] OF polarity_indication_feature FOR associated_definition; orientation_feature : SET [0:3] OF package_orientation_feature FOR associated_definition; WHERE wr1: NOT ( mounting_technology = surface_mount ) OR ( NOT ( EXISTS ( maximum_lead_length_below_seating_plane ) OR EXISTS ( least_lead_length_below_seating_plane ) ) ) ; wr2: NOT ( EXISTS ( maximum_lead_length_below_seating_plane ) ) OR ( maximum_lead_length_below_seating_plane \ measure_with_unit . value_component > 0.0 ) ; wr3: NOT ( EXISTS ( least_lead_length_below_seating_plane ) ) OR ( least_lead_length_below_seating_plane \ measure_with_unit . value_component > 0.0 ) ; wr4: SIZEOF ( package_seating_plane ) = 1 ; wr5: 'package' IN types_of_product ( SELF \ product_view_definition . defined_version . of_product ) ; wr6: SIZEOF ( QUERY ( pa <* package_accesses | 'package_xim.primary_reference_terminal_armx' IN TYPEOF ( pa ) ) ) = 1 ; wr7: SIZEOF ( QUERY ( nt <* package_accesses | EXISTS ( nt \ part_feature . precedent_feature ) ) ) = ( SIZEOF ( package_accesses ) - 1 ) ; wr8: SIZEOF ( QUERY ( nt <* package_accesses | ( SIZEOF ( nt \ part_feature . subsequent_feature ) = 1 ) ) ) = ( SIZEOF ( package_accesses ) - 1 ) ; wr9: NOT one_orientation_feature OR ( 'package_xim.primary_orientation_feature_armx' IN TYPEOF ( orientation_feature [ 1 ] ) ) ; wr10: NOT two_orientation_features OR ( ( SIZEOF ( QUERY ( orf <* orientation_feature | ( 'package_xim.primary_orientation_feature_armx' IN TYPEOF ( orf ) ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( orf <* orientation_feature | ( 'package_xim.secondary_orientation_feature_armx' IN TYPEOF ( orf ) ) ) ) = 1 ) ) ; wr11: NOT three_orientation_features OR ( ( SIZEOF ( QUERY ( orf <* orientation_feature | ( 'package_xim.primary_orientation_feature_armx' IN TYPEOF ( orf ) ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( orf <* orientation_feature | ( 'package_xim.secondary_orientation_feature_armx' IN TYPEOF ( orf ) ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( orf <* orientation_feature | ( 'package_xim.tertiary_orientation_feature_armx' IN TYPEOF ( orf ) ) ) ) = 1 ) ) ; END_ENTITY; -- package_armx |
Entity data types and their attributesproduct_definitionid: identifier; (OPT) description: text; formation: product_definition_formation; frame_of_reference: product_definition_context; (DER) name: label; product_view_definition (RT) (OPT) description->name_x: STRING; (OPT) additional_characterization: STRING; (RT) frame_of_reference->initial_context: product_definition_context; (OPT) additional_contexts: SET [1:?] OF product_definition_context; (RT) formation->defined_version: product_definition_formation; (RT) (DER) name: label; part_view_definition (RT) defined_version: part_version; property_definition name: label; (OPT) description: text; definition: characterized_definition; (DER) id: identifier; product_definition_shape - item_shape (OPT) id_x: STRING; (RT) definition->described_element: shapeable_item; (RT) (DER) id: identifier; (RT) (DER) name: label; physical_unit (RT) (DER) definition: physical_unit; part_usage_view (RT) (DER) described_element: shapeable_item; package - package_armx mounting_technology: mounting_technology_type; (OPT) maximum_seating_plane_installation_offset: length_measure_with_unit; (OPT) nominal_mounting_lead_pitch: length_measure_with_unit; (OPT) nominal_mounting_lead_span: length_measure_with_unit; maximum_body_height_above_seating_plane: length_measure_with_unit; (OPT) maximum_body_height_below_seating_plane: length_measure_with_unit; (OPT) body_clearance_above_seating_plane: length_tolerance_characteristic; (OPT) body_clearance_below_seating_plane: length_tolerance_characteristic; (OPT) maximum_lead_length_below_seating_plane: length_measure_with_unit; (OPT) least_lead_length_below_seating_plane: length_measure_with_unit; (DER) maximum_package_total_vertical_extent: length_measure_with_unit; (DER) cutout_required: LOGICAL; (DER) maximum_installed_height: length_measure_with_unit; (DER) one_orientation_feature: LOGICAL; (DER) two_orientation_features: LOGICAL; (DER) three_orientation_features: LOGICAL; (DER) package_seating_plane: SET [0:?] OF seating_plane_armx; (DER) interface_plane: SET [0:?] OF interface_plane; (INV) body: SET [0:1] OF package_body_armx FOR containing_shape; (INV) package_accesses: SET [0:?] OF package_terminal_armx FOR associated_definition; (INV) package_polarity_indication: SET [0:1] OF polarity_indication_feature FOR associated_definition; (INV) orientation_feature: SET [0:3] OF package_orientation_feature FOR associated_definition; |
| altered_package (ALTERED_PACKAGE_XIM) |
Global rules for this entity data type- |
public interface EPackage_armx extends EPart_usage_view, EPackagemounting_technology (explicit attribute)boolean testMounting_technology(EPackage_armx type)int getMounting_technology(EPackage_armx type) void setMounting_technology(EPackage_armx type, int value) void unsetMounting_technology(EPackage_armx type) maximum_seating_plane_installation_offset (explicit attribute)boolean testMaximum_seating_plane_installation_offset(EPackage_armx type)ELength_measure_with_unit getMaximum_seating_plane_installation_offset(EPackage_armx type) void setMaximum_seating_plane_installation_offset(EPackage_armx type, ELength_measure_with_unit value) void unsetMaximum_seating_plane_installation_offset(EPackage_armx type) nominal_mounting_lead_pitch (explicit attribute)boolean testNominal_mounting_lead_pitch(EPackage_armx type)ELength_measure_with_unit getNominal_mounting_lead_pitch(EPackage_armx type) void setNominal_mounting_lead_pitch(EPackage_armx type, ELength_measure_with_unit value) void unsetNominal_mounting_lead_pitch(EPackage_armx type) nominal_mounting_lead_span (explicit attribute)boolean testNominal_mounting_lead_span(EPackage_armx type)ELength_measure_with_unit getNominal_mounting_lead_span(EPackage_armx type) void setNominal_mounting_lead_span(EPackage_armx type, ELength_measure_with_unit value) void unsetNominal_mounting_lead_span(EPackage_armx type) maximum_body_height_above_seating_plane (explicit attribute)boolean testMaximum_body_height_above_seating_plane(EPackage_armx type)ELength_measure_with_unit getMaximum_body_height_above_seating_plane(EPackage_armx type) void setMaximum_body_height_above_seating_plane(EPackage_armx type, ELength_measure_with_unit value) void unsetMaximum_body_height_above_seating_plane(EPackage_armx type) maximum_body_height_below_seating_plane (explicit attribute)boolean testMaximum_body_height_below_seating_plane(EPackage_armx type)ELength_measure_with_unit getMaximum_body_height_below_seating_plane(EPackage_armx type) void setMaximum_body_height_below_seating_plane(EPackage_armx type, ELength_measure_with_unit value) void unsetMaximum_body_height_below_seating_plane(EPackage_armx type) body_clearance_above_seating_plane (explicit attribute)boolean testBody_clearance_above_seating_plane(EPackage_armx type)ELength_tolerance_characteristic getBody_clearance_above_seating_plane(EPackage_armx type) void setBody_clearance_above_seating_plane(EPackage_armx type, ELength_tolerance_characteristic value) void unsetBody_clearance_above_seating_plane(EPackage_armx type) body_clearance_below_seating_plane (explicit attribute)boolean testBody_clearance_below_seating_plane(EPackage_armx type)ELength_tolerance_characteristic getBody_clearance_below_seating_plane(EPackage_armx type) void setBody_clearance_below_seating_plane(EPackage_armx type, ELength_tolerance_characteristic value) void unsetBody_clearance_below_seating_plane(EPackage_armx type) maximum_lead_length_below_seating_plane (explicit attribute)boolean testMaximum_lead_length_below_seating_plane(EPackage_armx type)ELength_measure_with_unit getMaximum_lead_length_below_seating_plane(EPackage_armx type) void setMaximum_lead_length_below_seating_plane(EPackage_armx type, ELength_measure_with_unit value) void unsetMaximum_lead_length_below_seating_plane(EPackage_armx type) least_lead_length_below_seating_plane (explicit attribute)boolean testLeast_lead_length_below_seating_plane(EPackage_armx type)ELength_measure_with_unit getLeast_lead_length_below_seating_plane(EPackage_armx type) void setLeast_lead_length_below_seating_plane(EPackage_armx type, ELength_measure_with_unit value) void unsetLeast_lead_length_below_seating_plane(EPackage_armx type) maximum_package_total_vertical_extent (derived attribute)ELength_measure_with_unit getMaximum_package_total_vertical_extent(EPackage_armx type)boolean testMaximum_package_total_vertical_extent(EPackage_armx type) cutout_required (derived attribute)int getCutout_required(EPackage_armx type)boolean testCutout_required(EPackage_armx type) maximum_installed_height (derived attribute)ELength_measure_with_unit getMaximum_installed_height(EPackage_armx type)boolean testMaximum_installed_height(EPackage_armx type) one_orientation_feature (derived attribute)int getOne_orientation_feature(EPackage_armx type)boolean testOne_orientation_feature(EPackage_armx type) two_orientation_features (derived attribute)int getTwo_orientation_features(EPackage_armx type)boolean testTwo_orientation_features(EPackage_armx type) three_orientation_features (derived attribute)int getThree_orientation_features(EPackage_armx type)boolean testThree_orientation_features(EPackage_armx type) package_seating_plane (derived attribute)ASeating_plane_armx getPackage_seating_plane(EPackage_armx type)boolean testPackage_seating_plane(EPackage_armx type) interface_plane (derived attribute)AInterface_plane getInterface_plane(EPackage_armx type)boolean testInterface_plane(EPackage_armx type) body (inverse attribute)APackage_body_armx getBody(EPackage_armx type, ASdaiModel domain)package_accesses (inverse attribute)APackage_terminal_armx getPackage_accesses(EPackage_armx type, ASdaiModel domain)package_polarity_indication (inverse attribute)APolarity_indication_feature getPackage_polarity_indication(EPackage_armx type, ASdaiModel domain)orientation_feature (inverse attribute)APackage_orientation_feature getOrientation_feature(EPackage_armx type, ASdaiModel domain) |
public class CPackage_armx implements EPackage_armxstatic EAttribute attributeMounting_technology(EPackage_armx type)static EAttribute attributeMaximum_seating_plane_installation_offset(EPackage_armx type) static int usedinMaximum_seating_plane_installation_offset(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeNominal_mounting_lead_pitch(EPackage_armx type) static int usedinNominal_mounting_lead_pitch(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeNominal_mounting_lead_span(EPackage_armx type) static int usedinNominal_mounting_lead_span(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeMaximum_body_height_above_seating_plane(EPackage_armx type) static int usedinMaximum_body_height_above_seating_plane(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeMaximum_body_height_below_seating_plane(EPackage_armx type) static int usedinMaximum_body_height_below_seating_plane(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeBody_clearance_above_seating_plane(EPackage_armx type) static int usedinBody_clearance_above_seating_plane(EPackage_armx type, ELength_tolerance_characteristic instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeBody_clearance_below_seating_plane(EPackage_armx type) static int usedinBody_clearance_below_seating_plane(EPackage_armx type, ELength_tolerance_characteristic instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeMaximum_lead_length_below_seating_plane(EPackage_armx type) static int usedinMaximum_lead_length_below_seating_plane(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeLeast_lead_length_below_seating_plane(EPackage_armx type) static int usedinLeast_lead_length_below_seating_plane(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeMaximum_package_total_vertical_extent(EPackage_armx type) static int usedinMaximum_package_total_vertical_extent(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeCutout_required(EPackage_armx type) static EAttribute attributeMaximum_installed_height(EPackage_armx type) static int usedinMaximum_installed_height(EPackage_armx type, ELength_measure_with_unit instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeOne_orientation_feature(EPackage_armx type) static EAttribute attributeTwo_orientation_features(EPackage_armx type) static EAttribute attributeThree_orientation_features(EPackage_armx type) static EAttribute attributePackage_seating_plane(EPackage_armx type) static int usedinPackage_seating_plane(EPackage_armx type, ESeating_plane_armx instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeInterface_plane(EPackage_armx type) static int usedinInterface_plane(EPackage_armx type, EInterface_plane instance, ASdaiModel domain, APackage_armx result) static EAttribute attributeBody(EPackage_armx type) static EAttribute attributePackage_accesses(EPackage_armx type) static EAttribute attributePackage_polarity_indication(EPackage_armx type) static EAttribute attributeOrientation_feature(EPackage_armx type) |
public class APackage_armx extends AEntitypublic EPackage_armx getByIndex(int index)public EPackage_armx getCurrentMember(SdaiIterator it) |