|
ENTITY taper SUBTYPE OF (shape_aspect); WHERE wr1: 'automotive_design.' + 'feature_component_definition' IN TYPEOF ( SELF . of_shape . definition ) ; wr2: SELF . description IN [ 'angle taper' , 'diameter taper' , 'directed taper' ] ; wr3: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) ) ) = 1 ; wr4: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( pdr . used_representation . items ) = 1 ) ) ) = 1 ; wr5: ( SELF . description <> 'angle taper' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'plane_angle_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) AND ( i . name = 'taper angle' ) ) ) = 1 ) ) ) = 1 ) ; wr6: ( SELF . description <> 'diameter taper' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) AND ( i . name = 'taper diameter' ) ) ) = 1 ) ) ) = 1 ) ; wr7: ( SELF . description <> 'directed taper' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'plane_angle_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) AND ( i . name = 'angle' ) ) ) = 1 ) ) ) = 1 ) ; wr8: ( SELF . description <> 'directed taper' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'direction_shape_representation' IN TYPEOF ( pdr . used_representation ) ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'direction_shape_representation' IN TYPEOF ( pdr . used_representation ) ) AND ( pdr . used_representation . name = 'direction' ) ) ) = 1 ) ; END_ENTITY; -- taper |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; taper - |
Global rules for this entity data type- |
public interface ETaper extends EShape_aspect |
public class CTaper implements ETaper |
public class ATaper extends AEntitypublic ETaper getByIndex(int index)public ETaper getCurrentMember(SdaiIterator it) |