ENTITY applied_area SUBTYPE OF (shape_aspect); WHERE wr1: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) ) ) =1; wr2: SIZEOF ( QUERY ( pdr <* get_shape_aspect_property_definition_representations ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF ( pdr. used_representation ) ) AND {2<= SIZEOF ( pdr. used_representation.items ) <=3} ) ) =1; wr3: 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' , 'effective length' , 'maximum length' ] ) ) ) >0 ) ) ) =0; 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 | ( i.name='orientation' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'PLACEMENT' IN TYPEOF ( i ) ) ) ) =1 ) ) ) =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 | ( i.name= 'effective length' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1; wr6: 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= 'effective length' ) AND ( SIZEOF ( ['AUTOMOTIVE_DESIGN.'+ 'MEASURE_REPRESENTATION_ITEM' , 'AUTOMOTIVE_DESIGN.'+ 'LENGTH_MEASURE_WITH_UNIT']*TYPEOF ( i ) ) =2 ) ) ) =1 ) ) ) =1; wr7: SIZEOF ( QUERY ( sar <* USEDIN ( SELF , 'AUTOMOTIVE_DESIGN.'+'SHAPE_ASPECT_RELATIONSHIP.'+ 'RELATING_SHAPE_ASPECT' ) | ( 'AUTOMOTIVE_DESIGN.'+ 'SHAPE_DEFINING_RELATIONSHIP' IN TYPEOF ( sar ) ) AND ( sar. description = 'applied area usage' ) AND ( ( 'AUTOMOTIVE_DESIGN.'+ 'THREAD' IN TYPEOF ( sar. relating_shape_aspect.of_shape. definition ) ) OR ( ( 'AUTOMOTIVE_DESIGN.'+ 'EXTERNALLY_DEFINED_FEATURE_DEFINITION' IN TYPEOF ( sar. relating_shape_aspect.of_shape. definition ) ) AND ( sar. relating_shape_aspect.of_shape. definition\externally_defined_item. item_id = 'external thread' ) AND ( sar. relating_shape_aspect.of_shape. definition\externally_defined_item. source.source_id = 'external thread specification' ) ) ) AND ( sar. relating_shape_aspect.of_shape. definition.description = 'partial area occurrence' ) ) ) =1; END_ENTITY; -- applied_area |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; applied_area - |
Global rules for this entity data type- |
public interface EApplied_area extends EShape_aspect |
public class CApplied_area implements EApplied_area |
public class AApplied_area extends AEntitypublic EApplied_area getByIndex(int index)public EApplied_area getCurrentMember(SdaiIterator it) |