ENTITY boss_top SUBTYPE OF (shape_aspect); WHERE wr1: 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_DEFINITION' IN TYPEOF ( SELF.of_shape. definition ); wr2: SELF.description IN ['planar' , 'complex']; wr3: ( SELF.description<>'planar' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'DIRECTION_SHAPE_REPRESENTATION' IN TYPEOF ( pdr. used_representation ) ) ) ) =1 ); wr4: ( SELF.description<>'planar' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'LOCATION_SHAPE_REPRESENTATION' IN TYPEOF ( pdr. used_representation ) ) ) ) =1 ); wr5: ( SELF.description<>'complex' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FACE_SHAPE_REPRESENTATION' IN TYPEOF ( pdr. used_representation ) ) ) ) =1 ); wr6: SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'SHAPE_ASPECT_RELATIONSHIP.'+ 'RELATING_SHAPE_ASPECT' ) | ( 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF ( sar ) ) AND ( sar. name = 'boss top usage' ) AND ( sar. description IN [ 'starting' , 'ending' ] ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'BOSS' IN TYPEOF ( sar. related_shape_aspect ) ) AND ( sar. related_shape_aspect.name = 'top condition occurrence' ) ) ) =1; wr7: ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) ) ) <=1 ) AND ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( SIZEOF ( pdr. used_representation.items ) >1 ) ) ) =0 ); wr8: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND ( ( SIZEOF ( pdr. used_representation.items ) =0 ) XOR ( SIZEOF ( QUERY ( i <* pdr. used_representation.items | ( i.name= 'top radius' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) ) <=1; END_ENTITY; -- boss_top |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; boss_top - |
Global rules for this entity data type- |
public interface EBoss_top extends EShape_aspect |
public class CBoss_top implements EBoss_top |
public class ABoss_top extends AEntitypublic EBoss_top getByIndex(int index)public EBoss_top getCurrentMember(SdaiIterator it) |