|
ENTITY subsketch SUBTYPE OF (geometric_representation_item); subsketch_elements : SET [1:?] OF sketch_element_select; owning_sketch : sketch_type_select; WHERE wr1: ( ( 'sketch_schema.neutral_sketch_representation' IN TYPEOF ( owning_sketch ) ) AND ( SIZEOF ( QUERY ( q <* subsketch_elements | NOT ( owning_sketch IN using_representations ( q ) ) ) ) = 0 ) ) XOR ( ( SIZEOF ( TYPEOF ( owning_sketch ) * [ 'sketch_schema.positioned_sketch' , 'sketch_schema.subsketch' ] ) = 1 ) AND ( SIZEOF ( QUERY ( q <* subsketch_elements | NOT ( owning_sketch IN using_items ( q , [ ] ) ) ) ) = 0 ) ) ; END_ENTITY; -- subsketch |
Entity data types and their attributesrepresentation_itemname: label; geometric_representation_item (DER) dim: dimension_count; subsketch subsketch_elements: SET [1:?] OF sketch_element_select; owning_sketch: sketch_type_select; |
| rigid_subsketch (SKETCH_SCHEMA) |
Global rules for this entity data type- |
public interface ESubsketch extends EGeometric_representation_itemsubsketch_elements (explicit attribute)boolean testSubsketch_elements(ESubsketch type)ASketch_element_select getSubsketch_elements(ESubsketch type) ASketch_element_select createSubsketch_elements(ESubsketch type) void unsetSubsketch_elements(ESubsketch type) owning_sketch (explicit attribute)int testOwning_sketch(ESubsketch type)case 1 EEntity getOwning_sketch(ESubsketch type) void setOwning_sketch(ESubsketch type, EEntity value, EEntity node1) void unsetOwning_sketch(ESubsketch type) |
public class CSubsketch implements ESubsketchstatic EAttribute attributeSubsketch_elements(ESubsketch type)static int usedinSubsketch_elements(ESubsketch type, EEntity instance, ASdaiModel domain, ASubsketch result) static EAttribute attributeOwning_sketch(ESubsketch type) static int usedinOwning_sketch(ESubsketch type, EEntity instance, ASdaiModel domain, ASubsketch result) |
public class ASubsketch extends AEntitypublic ESubsketch getByIndex(int index)public ESubsketch getCurrentMember(SdaiIterator it) |