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) |