input
stringlengths
10
828
output
stringlengths
5
107
private rule get fixture return fixture
returns the fixture for this rule test case
private end event get fixture return end event fixture
returns the fixture for this end event test case
private artifact get fixture return artifact fixture
returns the fixture for this artifact test case
protected void set fixture swim lane fixture this fixture fixture
sets the fixture for this swim lane test case
private swim lane get fixture return fixture
returns the fixture for this swim lane test case
private start event get fixture return start event fixture
returns the fixture for this start event test case
private script task get fixture return script task fixture
returns the fixture for this script task test case
private loop activity get fixture return loop activity fixture
returns the fixture for this loop activity test case
protected void set up throws exception user task inner activity bpmn factory e instance create user task set fixture bpmn factory e instance create loop activity inner activity
begin user doc
private multi instance loop activity get fixture return multi instance loop activity fixture
returns the fixture for this multi instance loop activity test case
protected void set fixture graphical element fixture this fixture fixture
sets the fixture for this graphical element test case
protected void set up throws exception user task inner activity bpmn factory e instance create user task set fixture bpmn factory e instance create multi instance loop activity inner activity
begin user doc
private graphical element get fixture return fixture
returns the fixture for this graphical element test case
private text annotation get fixture return text annotation fixture
returns the fixture for this text annotation test case
private orgateway get fixture return orgateway fixture
returns the fixture for this or gateway test case
private xorgateway get fixture return xorgateway fixture
returns the fixture for this xor gateway test case
private annotation get fixture return annotation fixture
returns the fixture for this annotation test case
private sequence flow get fixture return sequence flow fixture
returns the fixture for this sequence flow test case
private association get fixture return association fixture
returns the fixture for this association test case
private complex gateway get fixture return complex gateway fixture
returns the fixture for this complex gateway test case
protected void set up throws exception set fixture bpmn factory e instance create association
begin user doc
protected void set up throws exception set fixture bpmn factory e instance create complex gateway
begin user doc
private lane get fixture return lane fixture
returns the fixture for this lane test case
private data object get fixture return data object fixture
returns the fixture for this data object test case
private independent sub process get fixture return independent sub process fixture
returns the fixture for this independent sub process test case
private pool get fixture return pool fixture
returns the fixture for this pool test case
protected void set up throws exception set fixture bpmn factory e instance create pool
begin user doc
private activity get fixture return activity fixture
returns the fixture for this activity test case
private entity get fixture return fixture
returns the fixture for this entity test case
private send task get fixture return send task fixture
returns the fixture for this send task test case
private task get fixture return task fixture
returns the fixture for this task test case
protected void set fixture web service fixture this fixture fixture
sets the fixture for this web service test case
private gateway get fixture return gateway fixture
returns the fixture for this gateway test case
private web service get fixture return fixture
returns the fixture for this web service test case
protected void set fixture bpmn process fixture this fixture fixture
sets the fixture for this process test case
protected void set up throws exception set fixture bpmn factory e instance create web service
begin user doc
protected void set fixture bpmndiagram fixture this fixture fixture
sets the fixture for this bpmn diagram test case
private bpmndiagram get fixture return fixture
returns the fixture for this bpmn diagram test case
protected void set up throws exception set fixture bpmn factory e instance create bpmndiagram
begin user doc
protected void set fixture gate fixture this fixture fixture
sets the fixture for this gate test case
private manual task get fixture return manual task fixture
returns the fixture for this manual task test case
private gate get fixture return fixture
returns the fixture for this gate test case
protected void set up throws exception set fixture bpmn factory e instance create gate
begin user doc
private boolean is connected to loop loop join loop join sequence flow sequence flow object obj flow object sequence get target while is simple object obj iterator sequence flow it filter connections obj get out connections iterator if it has next obj flow object it next get target else return false return loop join flow object obj
tests if a path connects to a specific loop
protected void add name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui swim lane name feature get string ui property descriptor description ui swim lane name feature ui swim lane type bpmn package literals swim lane name true false false item property descriptor generic value image null null
this adds a property descriptor for the name feature
public string get text object object string label swim lane object get name return label null label length 0 get string ui swim lane type get string ui swim lane type label
this returns the label text for the adapted class
public void notify changed notification notification update children notification switch notification get feature id swim lane class case bpmn package swim lane name fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
this handles model notifications by calling
public resource locator get resource locator return bpmn edit plugin instance
return the resource locator for this item providers resources
protected void add message property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui message flow message feature get string ui property descriptor description ui message flow message feature ui message flow type bpmn package literals message flow message false false false null null null
this adds a property descriptor for the message feature
public object get image object object return overlay image object get resource locator get image full obj16 message flow png
this returns message flow
public string get text object object string label message flow object get name return label null label length 0 get string ui message flow type get string ui message flow type label
this returns the label text for the adapted class
protected void add direction property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui association direction feature get string ui property descriptor description ui association direction feature ui association type bpmn package literals association direction true false false item property descriptor generic value image null null
this adds a property descriptor for the direction feature
public object get image object object return overlay image object get resource locator get image full obj16 association png
this returns association
public void notify changed notification notification update children notification switch notification get feature id association class case bpmn package association direction fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
this handles model notifications by calling
public list get property descriptors object object if item property descriptors null super get property descriptors object add gateway type property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
protected void add gateway type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui gateway gateway type feature get string ui property descriptor description ui gateway gateway type feature ui gateway type bpmn package literals gateway gateway type false false false item property descriptor generic value image null null
this adds a property descriptor for the gateway type feature
public collection get children features object object if children features null super get children features object children features add bpmn package literals gateway gates return children features
this specifies how to implement
public string get text object object string label gateway object get name return label null label length 0 get string ui gateway type get string ui gateway type label
this returns the label text for the adapted class
public void notify changed notification notification update children notification switch notification get feature id gateway class case bpmn package gateway gateway type fire notify changed new viewer notification notification notification get notifier false true return case bpmn package gateway gates fire notify changed new viewer notification notification notification get notifier true false return super notify changed notification
this handles model notifications by calling
protected void collect new child descriptors collection new child descriptors object object super collect new child descriptors new child descriptors object new child descriptors add create child parameter bpmn package literals gateway gates bpmn factory e instance create gate
this adds to the collection of
public list get property descriptors object object if item property descriptors null super get property descriptors object add parent lane property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
public list get property descriptors object object if item property descriptors null super get property descriptors object add rule name property descriptor object add rule expression property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
protected void add parent lane property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui lane parent lane feature get string ui property descriptor description ui lane parent lane feature ui lane type bpmn package literals lane parent lane true false false null null null
this adds a property descriptor for the parent lane feature
protected void add rule name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui rule event rule name feature get string ui property descriptor description ui rule event rule name feature ui rule event type bpmn package literals rule event rule name true false false item property descriptor generic value image null null
this adds a property descriptor for the rule name feature
public object get image object object return overlay image object get resource locator get image full obj16 lane
this returns lane
protected void add rule expression property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui rule event rule expression feature get string ui property descriptor description ui rule event rule expression feature ui rule event type bpmn package literals rule event rule expression true false false item property descriptor generic value image null null
this adds a property descriptor for the rule expression feature
public string get text object object string label lane object get name return label null label length 0 get string ui lane type get string ui lane type label
this returns the label text for the adapted class
public object get image object object return overlay image object get resource locator get image full obj16 event rule png
this returns rule event
public string get text object object string label rule event object get name return label null label length 0 get string ui rule event type get string ui rule event type label
this returns the label text for the adapted class
public void notify changed notification notification update children notification switch notification get feature id rule event class case bpmn package rule event rule name case bpmn package rule event rule expression fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
this handles model notifications by calling
protected void add text property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui annotation text feature get string ui property descriptor description ui annotation text feature ui annotation type bpmn package literals annotation text true false false item property descriptor generic value image null null
this adds a property descriptor for the text feature
public string get text object object string label crop annotation object get documentation return label null label length 0 get string ui annotation type get string ui annotation type label
this returns the label text for the adapted class
public void notify changed notification notification update children notification switch notification get feature id annotation class case bpmn package annotation text fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
this handles model notifications by calling
public list get property descriptors object object if item property descriptors null super get property descriptors object add activity type property descriptor object add status property descriptor object add properties property descriptor object add inputs property descriptor object add outputs property descriptor object add start quantity property descriptor object add loop type property descriptor object add compensation property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
protected void add label property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui properties container label feature get string ui property descriptor description ui properties container label feature ui properties container type bpmn package literals properties container label false false false item property descriptor generic value image null null
this adds a property descriptor for the label feature
public list get property descriptors object object if item property descriptors null super get property descriptors object add interface property descriptor object add operation property descriptor object add message property descriptor object add instantiate property descriptor object add implementation property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
protected void add interface property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui web service interface feature get string ui property descriptor description ui web service interface feature ui web service type bpmn package literals web service interface true false false item property descriptor generic value image null null
this adds a property descriptor for the interface feature
protected void add activity type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity activity type feature get string ui property descriptor description ui activity activity type feature ui activity type bpmn package literals activity activity type false false false item property descriptor generic value image null null
this adds a property descriptor for the activity type feature
protected void add operation property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui web service operation feature get string ui property descriptor description ui web service operation feature ui web service type bpmn package literals web service operation true false false item property descriptor generic value image null null
this adds a property descriptor for the operation feature
protected void add properties property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity properties feature get string ui property descriptor description ui activity properties feature ui activity type bpmn package literals activity properties true false false null null null
this adds a property descriptor for the properties feature
protected void add message property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui receive task message feature get string ui property descriptor description ui receive task message feature ui receive task type bpmn package literals receive task message false false false null null null
this adds a property descriptor for the message feature
protected void add inputs property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity inputs feature get string ui property descriptor description ui activity inputs feature ui activity type bpmn package literals activity inputs true false false null null null
this adds a property descriptor for the inputs feature
protected void add instantiate property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui receive task instantiate feature get string ui property descriptor description ui receive task instantiate feature ui receive task type bpmn package literals receive task instantiate true false false item property descriptor boolean value image null null
this adds a property descriptor for the instantiate feature
protected void add implementation property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui receive task implementation feature get string ui property descriptor description ui receive task implementation feature ui receive task type bpmn package literals receive task implementation true false false item property descriptor generic value image null null
this adds a property descriptor for the implementation feature
protected void add outputs property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity outputs feature get string ui property descriptor description ui activity outputs feature ui activity type bpmn package literals activity outputs true false false null null null
this adds a property descriptor for the outputs feature
public object get image object object return overlay image object get resource locator get image full obj16 task receive png
this returns receive task
protected void add start quantity property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity start quantity feature get string ui property descriptor description ui activity start quantity feature ui activity type bpmn package literals activity start quantity true false false item property descriptor integral value image null null
this adds a property descriptor for the start quantity feature
public string get text object object string label receive task object get name return label null label length 0 get string ui receive task type get string ui receive task type label
this returns the label text for the adapted class
protected void add loop type property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity loop type feature get string ui property descriptor description ui activity loop type feature ui activity type bpmn package literals activity loop type true false false item property descriptor generic value image null null
this adds a property descriptor for the loop type feature
public void notify changed notification notification update children notification switch notification get feature id receive task class case bpmn package receive task interface case bpmn package receive task operation case bpmn package receive task instantiate case bpmn package receive task implementation fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
this handles model notifications by calling
public list get property descriptors object object if item property descriptors null super get property descriptors object add interface property descriptor object add operation property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
protected void add compensation property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity compensation feature get string ui property descriptor description ui activity compensation feature ui activity type bpmn package literals activity compensation false false false item property descriptor boolean value image null null
this adds a property descriptor for the compensation feature
protected void add loop attributes property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui activity loop attributes feature get string ui property descriptor description ui activity loop attributes feature ui activity type bpmn package literals activity loop attributes false false false null null null
this adds a property descriptor for the loop attributes feature
public object get image object object return overlay image object get resource locator get image full obj16 web service
this returns web service
public collection get children features object object if children features null super get children features object children features add bpmn package literals activity io rules children features add bpmn package literals activity loop attributes return children features
this specifies how to implement
public list get property descriptors object object if item property descriptors null super get property descriptors object add sub process ref property descriptor object return item property descriptors
this returns the property descriptors for the adapted class
public string get text object object string label web service object get interface return label null label length 0 get string ui web service type get string ui web service type label
this returns the label text for the adapted class
protected void add sub process ref property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui reference sub process sub process ref feature get string ui property descriptor description ui reference sub process sub process ref feature ui reference sub process type bpmn package literals reference sub process sub process ref true false false null null null
this adds a property descriptor for the sub process ref feature
public void notify changed notification notification update children notification switch notification get feature id web service class case bpmn package web service interface case bpmn package web service operation fire notify changed new viewer notification notification notification get notifier false true return super notify changed notification
this handles model notifications by calling
public object get image object object return overlay image object get resource locator get image full obj16 reference sub process
this returns reference sub process