|
ENTITY pocket_bottom SUBTYPE OF (shape_aspect); WHERE wr1: 'automotive_design.' + 'feature_component_definition' IN TYPEOF ( SELF . of_shape . definition ) ; wr2: SELF . description IN [ 'planar' , 'complex' , 'through' ] ; wr3: NOT ( SELF . description IN [ 'planar' , 'complex' ] ) OR ( 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 ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'radius' ) AND ( SIZEOF ( [ 'automotive_design.' + 'measure_representation_item' , 'automotive_design.' + 'length_measure_with_unit' ] * TYPEOF ( i ) ) = 2 ) ) ) = 1 ) ) ) <= 1 ) ; wr4: NOT ( SELF . description IN [ 'planar' , 'complex' ] ) OR ( SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( sar . name IN [ 'starting' , 'ending' ] ) ) ) = 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 ) AND ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'face_shape_representation' IN TYPEOF ( pdr . used_representation ) ) AND ( pdr . used_representation . name = 'floor' ) ) ) = 1 ) ; wr6: ( 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 ) AND ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'location_shape_representation' IN TYPEOF ( pdr . used_representation ) ) AND ( pdr . used_representation . name = 'floor location' ) ) ) = 1 ) ; wr7: ( 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 ) AND ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'direction_shape_representation' IN TYPEOF ( pdr . used_representation ) ) AND ( pdr . used_representation . name = 'floor normal' ) ) ) = 1 ) ; wr8: ( SELF . description <> 'through' ) OR ( SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) ) ) = 0 ) ; wr9: ( SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) ) ) = 1 ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) AND ( sar . description = 'pocket bottom usage' ) AND ( 'automotive_design.' + 'pocket' IN TYPEOF ( sar . related_shape_aspect . of_shape . definition ) ) AND ( sar . related_shape_aspect . of_shape . definition \ characterized_object . description = 'bottom condition occurrence' ) ) ) = 1 ) ; END_ENTITY; -- pocket_bottom |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; pocket_bottom - |
Global rules for this entity data type- |
public interface EPocket_bottom extends EShape_aspect |
public class CPocket_bottom implements EPocket_bottom |
public class APocket_bottom extends AEntitypublic EPocket_bottom getByIndex(int index)public EPocket_bottom getCurrentMember(SdaiIterator it) |