public class ProcessElement extends BaseClass
Process
,
such as a Task
or XORGateway
.config, id, scClassName
Constructor and Description |
---|
ProcessElement() |
ProcessElement(com.google.gwt.core.client.JavaScriptObject jsObj) |
ProcessElement(java.lang.String ID) |
ProcessElement(java.lang.String ID,
java.lang.String nextElement) |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.core.client.JavaScriptObject |
convertToJavaScriptArray(ProcessElement[] array) |
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getID()
Optional ID for this process element, allowing it to be referred to from
Gateway s, or as the startElement . |
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
java.lang.String |
getNextElement()
|
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
static ProcessElement |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
ProcessElement[] |
getProcessElements(java.lang.String attribute) |
boolean |
isCreated() |
void |
setAttribute(java.lang.String attribute,
ProcessElement[] value,
boolean allowPostCreate) |
void |
setID(java.lang.String ID)
Optional ID for this process element, allowing it to be referred to from
Gateway s, or as the startElement . |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setNextElement(java.lang.String nextElement)
|
asSGWTComponent, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getScClassName, internalSetID, internalSetID, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setProperty, setProperty, setProperty, setProperty, setScClassName
public ProcessElement()
public ProcessElement(com.google.gwt.core.client.JavaScriptObject jsObj)
public ProcessElement(java.lang.String ID)
public ProcessElement(java.lang.String ID, java.lang.String nextElement)
public static ProcessElement getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
public void setID(java.lang.String ID) throws java.lang.IllegalStateException
Gateway
s, or as the startElement
. See ProcessSequence
and Process
to understand
when this is required or can be omitted. Unlike ID
a
processElement
's is a not a globally unique variable, it need only by unique within it's process.
When
assigned an ID, a processElement
can be retrieve via Process.getElement
.
public java.lang.String getID()
Gateway
s, or as the startElement
. See ProcessSequence
and Process
to understand
when this is required or can be omitted. Unlike ID
a
processElement
's is a not a globally unique variable, it need only by unique within it's process.
When
assigned an ID, a processElement
can be retrieve via Process.getElement
.
public void setNextElement(java.lang.String nextElement) throws java.lang.IllegalStateException
sequence
or element
to execute after this one completes. Sequences are
checked first. nextElement
does not need to be specified on most elements if you use sequences
.nextElement
- . See String
. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getNextElement()
sequence
or element
to execute after this one completes. Sequences are
checked first. nextElement
does not need to be specified on most elements if you use sequences
.String
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public void setAttribute(java.lang.String attribute, ProcessElement[] value, boolean allowPostCreate)
public ProcessElement[] getProcessElements(java.lang.String attribute)
public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptArray(ProcessElement[] array)