|
ENTITY draughting_annotation_occurrence SUBTYPE OF (annotation_occurrence); WHERE wr1: ( NOT ( 'aic_draughting_annotation.annotation_curve_occurrence' IN TYPEOF ( SELF ) ) ) OR ( SIZEOF ( QUERY ( sty <* SELF . styles | NOT ( ( SIZEOF ( sty . styles ) = 1 ) AND ( 'aic_draughting_annotation.curve_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) ) ) = 0 ) ; wr2: ( NOT ( 'aic_draughting_annotation.annotation_fill_area_occurrence' IN TYPEOF ( SELF ) ) ) OR ( SIZEOF ( QUERY ( sty <* SELF . styles | NOT ( ( SIZEOF ( sty . styles ) = 1 ) AND ( 'aic_draughting_annotation.fill_area_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) ) ) = 0 ) ; wr3: ( NOT ( 'aic_draughting_annotation.annotation_fill_area_occurrence' IN TYPEOF ( SELF ) ) ) OR ( SIZEOF ( QUERY ( bound <* SELF . item \ annotation_fill_area . boundaries | NOT ( SIZEOF ( QUERY ( si <* USEDIN ( bound , 'presentation_appearance_schema.' + 'styled_item.item' ) | ( 'aic_draughting_annotation.' + 'annotation_curve_occurrence' IN TYPEOF ( si ) ) ) ) > 0 ) ) ) = 0 ) ; wr4: ( NOT ( 'aic_draughting_annotation.annotation_symbol_occurrence' IN TYPEOF ( SELF ) ) ) OR ( SIZEOF ( QUERY ( sty <* SELF . styles | NOT ( ( SIZEOF ( sty . styles ) = 1 ) AND ( SIZEOF ( TYPEOF ( sty . styles [ 1 ] ) * [ 'aic_draughting_annotation.symbol_style' , 'aic_draughting_annotation.null_style' ] ) = 1 ) ) ) ) = 0 ) ; wr5: ( NOT ( ( 'aic_draughting_annotation.annotation_symbol_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.annotation_symbol' IN TYPEOF ( SELF . item ) ) ) ) OR ( SIZEOF ( [ 'aic_draughting_annotation.' + 'draughting_symbol_representation' , 'aic_draughting_annotation.' + 'draughting_subfigure_representation' ] * TYPEOF ( SELF . item \ mapped_item . mapping_source . mapped_representation ) ) = 1 ) ; wr6: ( NOT ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) ) OR ( SIZEOF ( QUERY ( sty <* SELF . styles | NOT ( ( SIZEOF ( sty . styles ) = 1 ) AND ( 'aic_draughting_annotation.text_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) ) ) = 0 ) ; wr7: ( NOT ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) ) OR ( SIZEOF ( TYPEOF ( SELF . item ) * [ 'aic_draughting_annotation.composite_text' , 'aic_draughting_annotation.text_literal' ] ) = 1 ) ; wr8: ( NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.composite_text' IN TYPEOF ( SELF . item ) ) ) ) OR ( SIZEOF ( QUERY ( tl <* SELF . item \ composite_text . collected_text | NOT ( 'aic_draughting_annotation.text_literal' IN TYPEOF ( tl ) ) ) ) = 0 ) ; wr9: ( NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.text_literal' IN TYPEOF ( SELF . item ) ) ) ) OR ( SELF . item \ text_literal . alignment IN [ 'baseline left' , 'baseline centre' , 'baseline right' ] ) ; wr10: ( NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.composite_text' IN TYPEOF ( SELF . item ) ) ) ) OR ( SIZEOF ( QUERY ( tl <* QUERY ( text <* SELF . item \ composite_text . collected_text | ( 'aic_draughting_annotation.text_literal' IN TYPEOF ( text ) ) ) | NOT ( tl \ text_literal . alignment IN [ 'baseline left' , 'baseline centre' , 'baseline right' ] ) ) ) = 0 ) ; wr11: NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.composite_text' IN TYPEOF ( SELF . item ) ) ) OR check_text_alignment ( SELF . item ) ; wr12: NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.composite_text' IN TYPEOF ( SELF . item ) ) ) OR check_text_font ( SELF . item ) ; wr13: ( NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.composite_text' IN TYPEOF ( SELF . item ) ) ) ) OR ( SIZEOF ( QUERY ( tl <* QUERY ( text <* SELF . item \ composite_text . collected_text | ( 'aic_draughting_annotation.text_literal' IN TYPEOF ( text ) ) ) | NOT ( SIZEOF ( TYPEOF ( tl ) * [ 'aic_draughting_annotation.' + 'text_literal_with_blanking_box' , 'aic_draughting_annotation.' + 'text_literal_with_associated_curves' ] ) = 0 ) ) ) = 0 ) ; wr14: ( NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.text_literal_with_associated_curves' IN TYPEOF ( SELF . item ) ) ) ) OR ( SIZEOF ( QUERY ( crv <* SELF . item \ text_literal_with_associated_curves . associated_curves | NOT ( SIZEOF ( QUERY ( si <* USEDIN ( crv , 'presentation_appearance_schema.styled_item.item' ) | ( 'aic_draughting_annotation.annotation_curve_occurrence' IN TYPEOF ( si ) ) ) ) > 0 ) ) ) = 0 ) ; wr15: ( NOT ( ( 'aic_draughting_annotation.annotation_text_occurrence' IN TYPEOF ( SELF ) ) AND ( 'aic_draughting_annotation.composite_text_with_associated_curves' IN TYPEOF ( SELF . item ) ) ) ) OR ( SIZEOF ( QUERY ( crv <* SELF . item \ composite_text_with_associated_curves . associated_curves | NOT ( SIZEOF ( QUERY ( si <* USEDIN ( crv , 'presentation_appearance_schema.styled_item.item' ) | ( 'aic_draughting_annotation.annotation_curve_occurrence' IN TYPEOF ( si ) ) ) ) > 0 ) ) ) = 0 ) ; wr16: SIZEOF ( QUERY ( cs <* QUERY ( sty <* SELF . styles | ( 'aic_draughting_annotation.curve_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) | NOT ( ( 'aic_draughting_annotation.length_measure_with_unit' IN TYPEOF ( cs . styles [ 1 ] \ curve_style . curve_width ) ) AND ( 'measure_schema.positive_length_measure' IN TYPEOF ( cs . styles [ 1 ] \ curve_style . curve_width \ measure_with_unit . value_component ) ) ) ) ) = 0 ; wr17: SIZEOF ( QUERY ( fas <* QUERY ( sty <* SELF . styles | ( 'aic_draughting_annotation.fill_area_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) | NOT ( ( SIZEOF ( QUERY ( fs <* fas . styles [ 1 ] \ fill_area_style . fill_styles | ( 'aic_draughting_annotation.fill_area_style_tiles' IN TYPEOF ( fs ) ) ) ) <= 1 ) AND ( SIZEOF ( QUERY ( fst <* QUERY ( fs <* fas . styles [ 1 ] \ fill_area_style . fill_styles | ( 'aic_draughting_annotation.fill_area_style_tiles' IN TYPEOF ( fs ) ) ) | NOT ( SIZEOF ( fst \ fill_area_style_tiles . tiles ) = 1 ) ) ) = 0 ) ) ) ) = 0 ; wr18: SIZEOF ( QUERY ( fas <* QUERY ( sty <* SELF . styles | ( 'aic_draughting_annotation.fill_area_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) | NOT ( SIZEOF ( QUERY ( fsh <* QUERY ( fs <* fas . styles [ 1 ] \ fill_area_style . fill_styles | ( 'aic_draughting_annotation.fill_area_style_hatching' IN TYPEOF ( fs ) ) ) | NOT ( fsh \ fill_area_style_hatching . point_of_reference_hatch_line :=: fsh \ fill_area_style_hatching . pattern_start ) ) ) = 0 ) ) ) = 0 ; wr19: SIZEOF ( QUERY ( ts <* QUERY ( sty <* SELF . styles | ( 'aic_draughting_annotation.text_style' IN TYPEOF ( sty . styles [ 1 ] ) ) ) | NOT ( 'aic_draughting_annotation.' + 'text_style_with_box_characteristics' IN TYPEOF ( ts . styles [ 1 ] ) ) ) ) = 0 ; wr20: SIZEOF ( QUERY ( ts <* QUERY ( sty <* SELF . styles | ( 'aic_draughting_annotation.text_style_with_box_characteristics' IN TYPEOF ( sty . styles [ 1 ] ) ) ) | NOT ( SIZEOF ( ts . styles [ 1 ] \ text_style_with_box_characteristics . characteristics ) = 4 ) ) ) = 0 ; END_ENTITY; -- draughting_annotation_occurrence |
Entity data types and their attributesrepresentation_itemname: label; styled_item styles: SET [1:?] OF presentation_style_assignment; item: representation_item; annotation_occurrence - draughting_annotation_occurrence - |
| annotation_subfigure_occurrence$draughting_annotation_occurrence (AIC_DRAUGHTING_ANNOTATION) |
Global rules for this entity data type- |
public interface EDraughting_annotation_occurrence extends EAnnotation_occurrence |
public class CDraughting_annotation_occurrence implements EDraughting_annotation_occurrence |
public class ADraughting_annotation_occurrence extends AEntitypublic EDraughting_annotation_occurrence getByIndex(int index)public EDraughting_annotation_occurrence getCurrentMember(SdaiIterator it) |