|
ENTITY compound_feature SUBTYPE OF (feature_definition); WHERE wr1: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name IN [ 'compound feature in solid' , 'compound feature in panel' ] ) AND ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) ) ) = 1 ; wr2: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | NOT ( 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) ) ) > 0 ) ) ) = 0 ; wr3: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | NOT ( SIZEOF ( [ 'automotive_design.' + 'instanced_feature' , 'automotive_design.' + 'placed_feature' , 'automotive_design.' + 'applied_area' , 'automotive_design.' + 'transition_feature' ] * TYPEOF ( sar . related_shape_aspect ) ) = 1 ) ) ) > 0 ) ) ) = 0 ; wr4: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( 'automotive_design.' + 'placed_feature' IN TYPEOF ( sar . related_shape_aspect ) ) AND ( SIZEOF ( QUERY ( pdr <* get_property_definition_representations ( sar . related_shape_aspect . of_shape . definition ) | ( 'automotive_design.' + 'shape_representation_with_parameters' IN TYPEOF ( pdr . used_representation ) ) AND ( SIZEOF ( QUERY ( i <* pdr . used_representation . items | ( i . name = 'element placement' ) AND ( 'automotive_design.' + 'placement' IN TYPEOF ( i ) ) ) ) <> 1 ) ) ) > 0 ) ) ) > 0 ) ) ) = 0 ; wr5: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( SIZEOF ( [ 'automotive_design.' + 'transition_feature' , 'automotive_design.' + 'boss' , 'automotive_design.' + 'applied_area' ] * TYPEOF ( sar . related_shape_aspect ) ) + SIZEOF ( [ 'automotive_design.' + 'slot' , 'automotive_design.' + 'pocket' , 'automotive_design.' + 'round_hole' , 'automotive_design.' + 'rib' , 'automotive_design.' + 'compound_feature' ] * TYPEOF ( sar . related_shape_aspect . of_shape . definition ) ) = 0 ) ) ) > 0 ) ) ) = 0 ; wr6: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name = 'compound feature in panel' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( SIZEOF ( [ 'automotive_design.' + 'transition_feature' ] * TYPEOF ( sar . related_shape_aspect ) ) + SIZEOF ( [ 'automotive_design.' + 'bead' , 'automotive_design.' + 'hole_in_panel' , 'automotive_design.' + 'feature_in_panel' , 'automotive_design.' + 'joggle' , 'automotive_design.' + 'locator' , 'automotive_design.' + 'compound_feature' ] * TYPEOF ( sar . related_shape_aspect . of_shape . definition ) ) = 0 ) ) ) > 0 ) ) ) = 0 ; wr7: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name = 'compound feature in panel' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( 'automotive_design.' + 'compound_feature' IN TYPEOF ( sar . related_shape_aspect . of_shape . definition ) ) AND ( sar . related_shape_aspect . name = 'compound feature in solid' ) ) ) > 0 ) ) ) + SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( sa . name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | ( 'automotive_design.' + 'compound_feature' IN TYPEOF ( sar . related_shape_aspect . of_shape . definition ) ) AND ( sar . related_shape_aspect . name = 'compound feature in panel' ) ) ) > 0 ) ) ) = 0 ; END_ENTITY; -- compound_feature |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - compound_feature - |
| composite_hole (AUTOMOTIVE_DESIGN) |
Global rules for this entity data typecompound_features_of_equal_type (AUTOMOTIVE_DESIGN) |
public interface ECompound_feature extends EFeature_definition |
public class CCompound_feature implements ECompound_feature |
public class ACompound_feature extends AEntitypublic ECompound_feature getByIndex(int index)public ECompound_feature getCurrentMember(SdaiIterator it) |