ENTITY composite_hole SUBTYPE OF (compound_feature); WHERE wr1: SELF\characterized_object. description IN ['counterbore' , 'countersunk']; wr2: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'COMPOSITE_SHAPE_ASPECT' IN TYPEOF ( sa ) ) AND ( sa. name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT' ) | 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF ( sar ) ) ) =2 ) ) ) =1; wr3: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'COMPOSITE_SHAPE_ASPECT' IN TYPEOF ( sa ) ) AND ( sa. name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT' ) | 'AUTOMOTIVE_DESIGN.'+ 'FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF ( sar ) ) ) =2 ) AND ( SIZEOF ( get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT' ) ) ) ) =2 ) ) ) =1; wr4: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'COMPOSITE_SHAPE_ASPECT' IN TYPEOF ( sa ) ) AND ( sa. name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( rh1 <* get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT' ) ) ) | ( SIZEOF ( QUERY ( rh2 <* get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT' ) ) ) | ( rh1:<>:rh2 ) AND ( get_diameter_for_round_hole ( rh1 ) =get_diameter_for_round_hole ( rh2 ) ) ) ) =0 ) ) ) =0 ) ) ) =1; wr5: ( SELF.description<>'countersunk' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'AUTOMOTIVE_DESIGN.'+ 'COMPOSITE_SHAPE_ASPECT' IN TYPEOF ( sa ) ) AND ( sa. name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( rh <* get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATING_SHAPE_ASPECT' ) ) ) | ( SIZEOF ( QUERY ( sa1 <* get_shape_aspects ( rh ) | ( sa. description = 'change in diameter occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa1 , 'AUTOMOTIVE_DESIGN.SHAPE_ASPECT_RELATIONSHIP.RELATED_SHAPE_ASPECT' ) | ( sar. description = 'taper usage' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'TAPER' IN TYPEOF ( sar. relating_shape_aspect ) ) ) ) =1 ) ) ) =1 ) ) ) =1 ) ) ) =1 ); END_ENTITY; -- composite_hole |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - compound_feature - composite_hole - |
Global rules for this entity data type- |
public interface EComposite_hole extends ECompound_feature |
public class CComposite_hole implements EComposite_hole |
public class AComposite_hole extends AEntitypublic EComposite_hole getByIndex(int index)public EComposite_hole getCurrentMember(SdaiIterator it) |