|
ENTITY bead_end SUBTYPE OF (shape_aspect); WHERE wr1: 'automotive_design.' + 'feature_component_definition' IN TYPEOF ( SELF . of_shape . definition ) ; wr2: SELF . description IN [ 'linear' , 'open' , 'radiused' ] ; wr3: ( SELF . description <> 'linear' ) XOR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) ) ) > 0 ) ; wr4: ( SELF . description <> 'linear' ) OR ( 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 ) = 2 ) ) ) = 1 ) ; wr5: ( SELF . description <> 'linear' ) OR ( 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 | ( i . name = 'end length' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) = 1 ) ; wr6: ( SELF . description <> 'linear' ) OR ( 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 | ( i . name = 'end shape' ) AND ( i \ descriptive_representation_item . description IN [ 'straight' , 'tapered' ] ) AND ( 'automotive_design.' + 'descriptive_representation_item' IN TYPEOF ( i ) ) ) ) = 1 ) ) ) = 1 ) ; wr7: SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'automotive_design.' + 'shape_aspect_relationship.' + 'relating_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( sar . name = 'bead end usage' ) AND ( sar . description IN [ 'starting' , 'ending' ] ) AND ( 'automotive_design.' + 'bead' IN TYPEOF ( sar . related_shape_aspect . of_shape . definition ) ) AND ( sar . related_shape_aspect . of_shape . definition \ characterized_object . name = 'end condition' ) AND ( sar . related_shape_aspect . of_shape . definition \ characterized_object . description = 'bead end occurrence' ) ) ) = 1 ; END_ENTITY; -- bead_end |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; bead_end - |
Global rules for this entity data type- |
public interface EBead_end extends EShape_aspect |
public class CBead_end implements EBead_end |
public class ABead_end extends AEntitypublic EBead_end getByIndex(int index)public EBead_end getCurrentMember(SdaiIterator it) |