Package org.imixs.workflow.bpmn
Klasse BPMNEntityBuilder
java.lang.Object
org.imixs.workflow.bpmn.BPMNEntityBuilder
This
BPMNEntityBuilder provides methods to convert a
BPMNElementNode into a ItemCollection. The corresponding
ItemCollection contains all Imixs Extension Elements as also the
items 'id' and 'type'.
Through the item 'id' it is possible to access the BPMN element directly from
an ItemCollection by the BPMN element id which should be unique. In
addition,
the item "type" is set to 'TASK' or 'EVENT', which reflects the
type of an element.
Example:
<bpmn2:task id="Task_2" imixs:processid="1900" name="Approve">
<bpmn2:extensionElements>
<imixs:item name="user.name" type="xs:string">John</imixs:item>
....
</bpmn2:extensionElements>
...
</bpmn2:task>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ItemCollectionbuild(org.openbpmn.bpmn.elements.core.BPMNElementNode bpmnElement) This method converts a Imixs BPMNElement into an ItemCollection All imixs Extension values will be added as items.protected static voidresolveMessageTags(org.openbpmn.bpmn.elements.core.BPMNElementNode elementNode, ItemCollection entity) This method resolves message tags for an event element.
-
Methodendetails
-
build
This method converts a Imixs BPMNElement into an ItemCollection All imixs Extension values will be added as items. Example:<bpmn2:extensionElements> <imixs:item name="txttype" type="xs:string"> <imixs:value><![CDATA[workitemarchive]]></imixs:value> </imixs:item> ....- Parameter:
bpmnElement-- Gibt zurück:
-
resolveMessageTags
protected static void resolveMessageTags(org.openbpmn.bpmn.elements.core.BPMNElementNode elementNode, ItemCollection entity) This method resolves message tags for an event element. The method pares for the text fragment Ungültige Eingabe: "<"bpmn2:message>...Ungültige Eingabe: "<"/bpmn2:message> and replaces the tag with the corresponding message if available- Parameter:
elementNode- - the bpmn event elemententity- - the ItemCollection of the event
-