ENTITY annotation_plane SUBTYPE OF (annotation_occurrence, geometric_representation_item); elements : OPTIONAL SET [1:?] OF annotation_plane_element; SELF\styled_item.item : plane_or_planar_box; WHERE wr1: SELF\geometric_representation_item.dim = 3; wr2: NOT('PRESENTATION_RESOURCE_SCHEMA.'+'PLANAR_BOX' IN TYPEOF(SELF\styled_item.item)) OR ('GEOMETRY_SCHEMA.'+'AXIS2_PLACEMENT_3D' IN TYPEOF(SELF\styled_item.item\planar_box.placement)); wr3: (('PRESENTATION_RESOURCE_SCHEMA.'+'PLANAR_BOX' IN TYPEOF(SELF\styled_item.item)) AND ('PRESENTATION_APPEARANCE_SCHEMA.'+'CURVE_STYLE' IN TYPEOF(SELF\styled_item.styles[1]\presentation_style_assignment.styles[1]))) OR (('GEOMETRY_SCHEMA.'+'PLANE' IN TYPEOF(SELF\styled_item.item)) AND ('PRESENTATION_APPEARANCE_SCHEMA.'+'FILL_AREA_STYLE' IN TYPEOF(SELF\styled_item.styles[1]\presentation_style_assignment.styles[1]))); wr4: (SIZEOF(SELF\styled_item.styles) = 1) AND (SIZEOF(SELF\styled_item.styles[1]\presentation_style_assignment.styles) = 1); END_ENTITY; -- annotation_plane |
Entity data types and their attributesrepresentation_itemname: label; styled_item styles: SET [1:?] OF presentation_style_assignment; item: representation_item; annotation_occurrence - geometric_representation_item (DER) dim: dimension_count; annotation_plane (OPT) elements: SET [1:?] OF annotation_plane_element; (RT) item: plane_or_planar_box; |
Global rules for this entity data type- |
public interface EAnnotation_plane extends EAnnotation_occurrence, EGeometric_representation_itemelements (explicit attribute)boolean testElements(EAnnotation_plane type)AAnnotation_plane_element getElements(EAnnotation_plane type) AAnnotation_plane_element createElements(EAnnotation_plane type) void unsetElements(EAnnotation_plane type) |
public class CAnnotation_plane implements EAnnotation_planestatic EAttribute attributeElements(EAnnotation_plane type)static int usedinElements(EAnnotation_plane type, EEntity instance, ASdaiModel domain, AAnnotation_plane result) |
public class AAnnotation_plane extends AEntitypublic EAnnotation_plane getByIndex(int index)public EAnnotation_plane getCurrentMember(SdaiIterator it) |