|
ENTITY boss SUBTYPE OF (feature_definition); WHERE wr1: SELF . description IN [ 'circular' , 'rectangular' , 'complex' ] ; wr2: ( SELF . description <> 'circular' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'circular profile occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'shape_defining_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'profile usage' ) AND ( 'automotive_design.' + 'circular_closed_profile' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ) ; wr3: ( SELF . description <> 'complex' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'enclosed boundary occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'shape_defining_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'profile usage' ) AND ( SIZEOF ( [ 'automotive_design.' + 'closed_path_profile' , 'automotive_design.' + 'ngon_closed_profile' ] * TYPEOF ( sar . relating_shape_aspect ) ) = 1 ) ) ) = 1 ) ) ) = 1 ) ; wr4: ( SELF . description <> 'rectangular' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'rectangular profile occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'shape_defining_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'profile usage' ) AND ( 'automotive_design.' + 'rectangular_closed_profile' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ) ; wr5: ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) ) <= 1 ) AND ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND NOT ( { 1 <= SIZEOF ( pdr . used_representation . items ) <= 2 } ) ) ) = 0 ) ; 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 | NOT ( i . name IN [ 'orientation' , 'fillet radius' ] ) ) ) > 0 ) ) ) = 0 ; 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 = 'fillet radius' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) > 1 ) ) ) = 0 ; wr8: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'boss hight occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'shape_defining_relationship' IN TYPEOF ( sar ) ) AND ( sar . name = 'boss hight' ) AND ( sar . description = 'path feature component usage' ) AND ( 'automotive_design.' + 'path_feature_component' IN TYPEOF ( sar . relating_shape_aspect ) ) AND ( sar . relating_shape_aspect . description = 'linear' ) ) ) = 1 ) ) ) = 1 ; wr9: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'top condition occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'boss top usage' ) AND ( 'automotive_design.' + 'boss_top' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ; wr10: NOT ( SELF . description IN [ 'rectangular' , 'complex' ] ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'change in boundary occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'taper usage' ) AND ( 'automotive_design.' + 'taper' IN TYPEOF ( sar . relating_shape_aspect ) ) AND ( sar . relating_shape_aspect . description IN [ 'angle taper' , 'directed taper' ] ) ) ) = 1 ) ) ) <= 1 ) ; wr11: ( SELF . description <> 'circular' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'change in diameter occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.' + 'shape_aspect_relationship.' + 'related_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'taper usage' ) AND ( 'automotive_design.' + 'taper' IN TYPEOF ( sar . relating_shape_aspect ) ) AND ( sar . relating_shape_aspect . description IN [ 'angle taper' , 'diameter taper' ] ) ) ) = 1 ) ) ) <= 1 ) ; END_ENTITY; -- boss |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - boss - |
Global rules for this entity data type- |
public interface EBoss extends EFeature_definition |
public class CBoss implements EBoss |
public class ABoss extends AEntitypublic EBoss getByIndex(int index)public EBoss getCurrentMember(SdaiIterator it) |