|
ENTITY ngon_closed_profile SUBTYPE OF (shape_aspect); WHERE wr1: 'automotive_design.' + 'feature_component_definition' IN TYPEOF ( SELF . of_shape . definition ) ; wr2: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) ) ) = 1 ; wr3: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND { 3 <= SIZEOF ( pdr . used_representation . items ) <= 4 } ) ) = 1 ; wr4: SIZEOF ( QUERY ( pdr <* get_shape_aspect_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' , 'number of sides' , 'circumscibed diameter' , 'diameter across flats' , 'corner radius' ] ) ) ) = 0 ) ) ) = 1 ; wr5: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( 'automotive_design.' + 'placement' IN TYPEOF ( i ) ) AND ( i . name = 'orientation' ) ) ) = 1 ) ) ) = 1 ; 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 | ( i . name = 'number of sides' ) AND ( 'automotive_design.' + 'measure_representation_item' IN TYPEOF ( i ) ) AND ( 'automotive_design.' + 'count_measure' IN TYPEOF ( i \ measure_with_unit . value_component ) ) ) ) = 1 ) ) ) = 1 ; 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 IN [ 'circumscribed diameter' , 'diameter across flats' ] ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ; wr8: 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 = 'corner radius' ) ) ) <= 1 ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'corner radius' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'corner radius' ) ) ) ) ) ) = 1 ; END_ENTITY; -- ngon_closed_profile |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; ngon_closed_profile - |
Global rules for this entity data type- |
public interface ENgon_closed_profile extends EShape_aspect |
public class CNgon_closed_profile implements ENgon_closed_profile |
public class ANgon_closed_profile extends AEntitypublic ENgon_closed_profile getByIndex(int index)public ENgon_closed_profile getCurrentMember(SdaiIterator it) |