|
ENTITY thread SUBTYPE OF (feature_definition); WHERE wr1: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND NOT ( { 7 <= SIZEOF ( pdr . used_representation . items ) <= 10 } ) ) ) = 0 ; wr2: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i \ descriptive_representation_item . description IN [ 'internal' , 'external' ] ) AND ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) ) ) = 1 ) ) ) = 1 ; wr3: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'major diameter' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ; wr4: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'minor diameter' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) <= 1 ; wr5: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'pitch diameter' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ; wr6: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'crest' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) <= 1 ; wr7: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'number of threads' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'ratio_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ; wr8: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'fit class' ) AND ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) ) ) = 1 ) ) ) = 1 ; wr9: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'form' ) AND ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) ) ) = 1 ) ) ) = 1 ; wr10: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'hand' ) AND ( i \ descriptive_representation_item . description IN [ 'left hand' , 'right hand' ] ) AND ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) ) ) = 1 ) ) ) = 1 ; wr11: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'qualifier' ) AND ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) ) ) = 1 ) ) ) <= 1 ; wr12: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | NOT ( i . name IN [ 'thread side' , 'major diameter' , 'minor diameter' , 'pitch diameter' , 'crest' , 'number of threads' , 'fit class' , 'form' , 'hand' , 'qualifier' ] ) ) ) > 0 ) ) ) = 0 ; END_ENTITY; -- thread |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - thread - |
| instanced_feature$thread (AUTOMOTIVE_DESIGN) |
Global rules for this entity data type- |
public interface EThread extends EFeature_definition |
public class CThread implements EThread |
public class AThread extends AEntitypublic EThread getByIndex(int index)public EThread getCurrentMember(SdaiIterator it) |