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