ENTITY marking SUBTYPE OF (representation); marked_message : marked_message_select; marked_device_shape : marking_shape_select; placement : axis2_placement; message_representation : shape_representation; message_representation_text : text_literal; marking_material : material_designation; DERIVE marking_specification : SET [0:?] OF document_definition := get_document_definition(SELF, 'marking specification', 'SPECIFICATION_DOCUMENT_ARM.SPECIFICATION_DEFINITION_ARMX'); SELF\representation.items : SET [1:?] OF value_qualifier := ?; SELF\representation.context_of_items : representation_context := ?; SELF\representation.name : label := ?; WHERE wr1: SIZEOF(QUERY(st <* message_representation\Representation.items | (st = message_representation_text))) = 1; wr2: SIZEOF(QUERY(ap <* marked_device_shape\Representation.items | (ap = placement))) = 1; wr3: SIZEOF(TYPEOF(marked_device_shape) * ['DEVICE_MARKING_ARM.PHYSICAL_UNIT_3D_SHAPE_MODEL', 'DEVICE_MARKING_XIM.PHYSICAL_UNIT_PLANAR_SHAPE_MODEL']) = 1; wr4: 'CONDUCTIVITY_MATERIAL_ASPECTS_XIM.'+ 'MATERIAL_IDENTIFICATION_WITH_CONDUCTIVITY_CLASSIFICATION' IN TYPEOF (marking_material); wr5: EXISTS (marking_specification) AND SIZEOF(marking_specification) = 1; END_ENTITY; -- marking |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; marking marked_message: marked_message_select; marked_device_shape: marking_shape_select; placement: axis2_placement; message_representation: shape_representation; message_representation_text: text_literal; marking_material: material_designation; (DER) marking_specification: SET [0:?] OF document_definition; (RT) (DER) items: SET [1:?] OF value_qualifier; (RT) (DER) context_of_items: representation_context; (RT) (DER) name: label; |
Global rules for this entity data type- |
public interface EMarking extends ERepresentationmarked_message (explicit attribute)int testMarked_message(EMarking type)case 1 EEntity getMarked_message(EMarking type) void setMarked_message(EMarking type, EEntity value, EEntity node1) void unsetMarked_message(EMarking type) marked_device_shape (explicit attribute)int testMarked_device_shape(EMarking type)case 1 EEntity getMarked_device_shape(EMarking type) void setMarked_device_shape(EMarking type, EEntity value, EEntity node1) void unsetMarked_device_shape(EMarking type) placement (explicit attribute)int testPlacement(EMarking type)case 1 EEntity getPlacement(EMarking type) void setPlacement(EMarking type, EEntity value, EEntity node1) void unsetPlacement(EMarking type) message_representation (explicit attribute)boolean testMessage_representation(EMarking type)EShape_representation getMessage_representation(EMarking type) void setMessage_representation(EMarking type, EShape_representation value) void unsetMessage_representation(EMarking type) message_representation_text (explicit attribute)boolean testMessage_representation_text(EMarking type)EText_literal getMessage_representation_text(EMarking type) void setMessage_representation_text(EMarking type, EText_literal value) void unsetMessage_representation_text(EMarking type) marking_material (explicit attribute)boolean testMarking_material(EMarking type)EMaterial_designation getMarking_material(EMarking type) void setMarking_material(EMarking type, EMaterial_designation value) void unsetMarking_material(EMarking type) marking_specification (derived attribute)ADocument_definition getMarking_specification(EMarking type)boolean testMarking_specification(EMarking type) |
public class CMarking implements EMarkingstatic EAttribute attributeMarked_message(EMarking type)static int usedinMarked_message(EMarking type, EEntity instance, ASdaiModel domain, AMarking result) static EAttribute attributeMarked_device_shape(EMarking type) static int usedinMarked_device_shape(EMarking type, EEntity instance, ASdaiModel domain, AMarking result) static EAttribute attributePlacement(EMarking type) static int usedinPlacement(EMarking type, EEntity instance, ASdaiModel domain, AMarking result) static EAttribute attributeMessage_representation(EMarking type) static int usedinMessage_representation(EMarking type, EShape_representation instance, ASdaiModel domain, AMarking result) static EAttribute attributeMessage_representation_text(EMarking type) static int usedinMessage_representation_text(EMarking type, EText_literal instance, ASdaiModel domain, AMarking result) static EAttribute attributeMarking_material(EMarking type) static int usedinMarking_material(EMarking type, EMaterial_designation instance, ASdaiModel domain, AMarking result) static EAttribute attributeMarking_specification(EMarking type) static int usedinMarking_specification(EMarking type, EDocument_definition instance, ASdaiModel domain, AMarking result) static EAttribute attributeItems(EMarking type) static int usedinItems(EMarking type, EEntity instance, ASdaiModel domain, AMarking result) static EAttribute attributeContext_of_items(EMarking type) static int usedinContext_of_items(EMarking type, ERepresentation_context instance, ASdaiModel domain, AMarking result) static EAttribute attributeName(EMarking type) |
public class AMarking extends AEntitypublic EMarking getByIndex(int index)public EMarking getCurrentMember(SdaiIterator it) |