|
ENTITY pocket SUBTYPE OF (feature_definition); WHERE wr1: SELF . description IN [ 'open rectangular' , 'closed rectangular' , 'complex' ] ; wr2: ( SELF . description <> 'complex' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = '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.' + 'circular_closed_profile' , 'automotive_design.' + 'ngon_closed_profile' , 'automotive_design.' + 'closed_path_profile' , 'automotive_design.' + 'partial_circular_profile' , 'automotive_design.' + 'rounded_u_profile' , 'automotive_design.' + 'vee_profile' , 'automotive_design.' + 'tee_profile' , 'automotive_design.' + 'open_path_profile' ] * TYPEOF ( sar . relating_shape_aspect ) ) = 1 ) ) ) = 1 ) ) ) = 1 ) ; wr3: ( SELF . description <> 'closed rectangular' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'closed 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 ( 'automotive_design.' + 'rectangular_closed_profile' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ) ; wr4: ( SELF . description <> 'open rectangular' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'open 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 ( 'automotive_design.' + 'square_u_profile' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ) ; wr5: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'pocket depth 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 = 'pocket depth' ) 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 ; wr6: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . description = 'bottom 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 = 'pocket bottom usage' ) AND ( 'automotive_design.' + 'pocket_bottom' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ; wr7: 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 ; wr8: 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 ; 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 | NOT ( i . name IN [ 'orientation' , 'fillet radius 1' ] ) ) ) > 0 ) ) ) = 0 ; 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 = 'base radius' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) <= 1 ; END_ENTITY; -- pocket |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - - |
Global rules for this entity data type- |
public interface EPocket extends EFeature_definition |
public class CPocket implements EPocket |
public class APocket extends AEntitypublic EPocket getByIndex(int index)public EPocket getCurrentMember(SdaiIterator it) |