|
ENTITY externally_defined_feature_definition SUBTYPE OF (feature_definition, externally_defined_item); WHERE wr1: ( SELF \ externally_defined_item . item_id = 'external thread' ) AND ( SELF \ externally_defined_item . source . source_id = 'external feature specification' ) ; wr2: ( SIZEOF ( USEDIN ( SELF , 'automotive_design.applied_classification_assignment.items' ) ) = 1 ) OR ( SIZEOF ( USEDIN ( SELF , 'automotive_design.applied_document_reference.items' ) ) + SIZEOF ( USEDIN ( SELF , 'automotive_design.applied_document_usage_constraint_assignment.items' ) ) = 1 ) ; wr3: SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND NOT ( { 6 <= SIZEOF ( pdr . used_representation . items ) <= 7 } ) ) ) = 0 ; 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 | ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) AND ( i . name = 'thread side' ) AND ( i \ descriptive_representation_item . description IN [ 'internal' , 'external' ] ) ) ) = 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 | ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) AND ( i . name = 'major diameter' ) ) ) = 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 | ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'ratio_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) AND ( i . name = 'number of threads' ) ) ) = 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 | ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) AND ( i . name = 'fit class' ) ) ) = 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 | ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) AND ( i . name = 'form' ) ) ) = 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 | ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) AND ( i . name = 'hand' ) AND ( i \ descriptive_representation_item . description IN [ 'left hand' , 'right hand' ] ) ) ) = 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 | ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) AND ( i . name = 'qualifier' ) ) ) = 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 | ( NOT ( i . name IN [ 'thread side' , 'major diameter' , 'number of threads' , 'fit class' , 'form' , 'hand' , 'qualifier' ] ) ) ) ) > 0 ) ) ) = 0 ; END_ENTITY; -- externally_defined_feature_definition |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - externally_defined_item item_id: source_item; source: external_source; externally_defined_feature_definition - |
Global rules for this entity data type- |
public interface EExternally_defined_feature_definition extends EFeature_definition, EExternally_defined_item |
public class CExternally_defined_feature_definition implements EExternally_defined_feature_definition |
public class AExternally_defined_feature_definition extends AEntitypublic EExternally_defined_feature_definition getByIndex(int index)public EExternally_defined_feature_definition getCurrentMember(SdaiIterator it) |