public interface InstanceDataContainer extends DataContainer
DataContainer and
allows to conveniently set the input parameters and retrieve the output
parameters of a process instance. Input parameters which are not set have an
value of Null. Output parameters may be Null so check before reading the
values.| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setBoolean(java.lang.String parameterName,
boolean value)
Sets the BOOLEAN value of the designated instance input parameter.
|
void |
setDate(java.lang.String parameterName,
java.util.Date value)
Sets the DATE value of the designated instance input parameter.
|
void |
setFloat(java.lang.String parameterName,
double value)
Sets the FLOAT value of the designated instance input parameter.
|
void |
setInteger(java.lang.String parameterName,
long value)
Sets the INTEGER value of the designated instance input parameter.
|
void |
setNull(java.lang.String parameterName)
Sets the value of the designated instance input parameter to
NULL, which means the value is undefined.
|
void |
setString(java.lang.String parameterName,
java.lang.String value)
Sets the string value of the designated instance input parameter.
|
void |
setUDT(java.lang.String parameterName,
UDTValue value)
Sets the value of the designated instance input parameter of the process
instance and the corresponding metadata which is the writing node and its
current iteration.
|
void |
setURI(java.lang.String parameterName,
java.net.URI value)
Sets the URI value of the designated instance input parameter.
|
getInstanceID, getLastSavepoint, getNodeID, getNodeIteration, getSavepoints, getUnsavedIgnoredParameters, getUnsavedSavepoints, getUnsavedSessionState, getUnsavedTypes, getUnsavedValues, ignoredValue, ignoreValue, isReadOnly, restoreSessionState, savedSavepoints, setSavepoint, storeBoolean, storeDate, storedBoolean, storedDate, storedFloat, storedInteger, storedString, storedUDT, storedURI, storeFloat, storeInteger, storeSessionState, storeString, storeUDT, storeURIisNull, retrieveBoolean, retrieveDate, retrieveFloat, retrieveInteger, retrieveString, retrieveUDT, retrieveURIgetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsstatic final long serialVersionUID
void setNull(java.lang.String parameterName)
throws NoSuchParameterException
parameterName - The name of the instance input parameter to be set to
null.NoSuchParameterException - If the instance input parameter of the
designated name does not exist, a
NoSuchParameterException will be thrown.void setInteger(java.lang.String parameterName,
long value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be set.value - The value as Java-type long of the instance
input parameter of ADEPT2-type INTEGER.InvalidDataTypeException - If the designated instance input parameter
is not of type INTEGER, an InvalidDataTypeException
will be raised.NoSuchParameterException - If the instance input parameter of the
designated name does not exist, a
NoSuchParameterException will be thrown.ProcessConstants.AdeptDataType.INTEGERvoid setFloat(java.lang.String parameterName,
double value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be set.value - The value as Java-type double of the instance
input parameter of ADEPT2-type FLOAT.InvalidDataTypeException - If the designated instance input parameter
is not of type FLOAT, an InvalidDataTypeException
will be raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.ProcessConstants.AdeptDataType.FLOATvoid setBoolean(java.lang.String parameterName,
boolean value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be set.value - The value as Java-type boolean of the instance
input parameter of ADEPT2-type BOOLEAN.InvalidDataTypeException - If the designated instance input parameter
is not of type BOOLEAN, an InvalidDataTypeException
will be raised.NoSuchParameterException - If the instance input parameter of the
designated name does not exist, a
NoSuchParameterException will be thrown.ProcessConstants.AdeptDataType.BOOLEANvoid setString(java.lang.String parameterName,
java.lang.String value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be set.value - The value as Java-type String of the instance
input parameter of ADEPT2-type STRING.InvalidDataTypeException - If the designated instance input parameter
is not of type STRING, an InvalidDataTypeException
will be raised.NoSuchParameterException - If the instance input parameter of the
designated name does not exist, a
NoSuchParameterException will be thrown.ProcessConstants.AdeptDataType.STRINGvoid setDate(java.lang.String parameterName,
java.util.Date value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be set.value - The value as Java-type java.util.Date of the
instance input parameter of ADEPT2-type DATE.InvalidDataTypeException - If the designated instance input parameter
is not of type DATE, an InvalidDataTypeException
will be raised.NoSuchParameterException - If the instance input parameter of the
designated name does not exist, a
NoSuchParameterException will be thrown.ProcessConstants.AdeptDataType.DATEvoid setURI(java.lang.String parameterName,
java.net.URI value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be set.value - The value as Java-type java.net.URI of the
instance input parameter of ADEPT2-type URI.InvalidDataTypeException - If the designated parameter is not of type
URI, an InvalidDataTypeException will be raised.NoSuchParameterException - If the parameter of the designated name
does not exist, a NoSuchParameterException will be
thrown.ProcessConstants.AdeptDataType.URIvoid setUDT(java.lang.String parameterName,
UDTValue value)
throws InvalidDataTypeException,
NoSuchParameterException
parameterName - The name of the instance input parameter to be read.value - The value of the instance input parameter of ADEPT2-type
USERDEFINED.InvalidDataTypeException - If the designated instance input parameter
is not of type USERDEFINED, an
InvalidDataTypeException will be raised.NoSuchParameterException - If the instance input parameter of the
designated name does not exist, a
NoSuchParameterException will be thrown.ProcessConstants.AdeptDataType.USERDEFINED