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