Package org.openapitools.client.model
Class VariableInstanceDto
- java.lang.Object
-
- org.openapitools.client.model.VariableInstanceDto
-
public class VariableInstanceDto extends Object
VariableInstanceDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ACTIVITY_INSTANCE_IDstatic StringSERIALIZED_NAME_BATCH_IDstatic StringSERIALIZED_NAME_CASE_EXECUTION_IDstatic StringSERIALIZED_NAME_CASE_INSTANCE_IDstatic StringSERIALIZED_NAME_ERROR_MESSAGEstatic StringSERIALIZED_NAME_EXECUTION_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_IDstatic StringSERIALIZED_NAME_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_TASK_IDstatic StringSERIALIZED_NAME_TENANT_IDstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_VALUEstatic StringSERIALIZED_NAME_VALUE_INFO
-
Constructor Summary
Constructors Constructor Description VariableInstanceDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableInstanceDtoactivityInstanceId(String activityInstanceId)VariableInstanceDtobatchId(String batchId)VariableInstanceDtocaseExecutionId(String caseExecutionId)VariableInstanceDtocaseInstanceId(String caseInstanceId)booleanequals(Object o)VariableInstanceDtoerrorMessage(String errorMessage)VariableInstanceDtoexecutionId(String executionId)StringgetActivityInstanceId()The id of the activity instance that this variable instance belongs to.StringgetBatchId()The id of the batch that this variable instance belongs to.<StringgetCaseExecutionId()The id of the case execution that this variable instance belongs to.StringgetCaseInstanceId()The id of the case instance that this variable instance belongs to.StringgetErrorMessage()An error message in case a Java Serialized Object could not be de-serialized.StringgetExecutionId()The id of the execution that this variable instance belongs to.StringgetId()The id of the variable instance.StringgetName()The name of the variable instance.StringgetProcessDefinitionId()The id of the process definition that this variable instance belongs to.StringgetProcessInstanceId()The id of the process instance that this variable instance belongs to.StringgetTaskId()The id of the task that this variable instance belongs to.StringgetTenantId()The id of the tenant that this variable instance belongs to.StringgetType()The value type of the variable.ObjectgetValue()Can be any value - string, number, boolean, array or object.Map<String,Object>getValueInfo()A JSON object containing additional, value-type-dependent properties.inthashCode()VariableInstanceDtoid(String id)VariableInstanceDtoname(String name)VariableInstanceDtoprocessDefinitionId(String processDefinitionId)VariableInstanceDtoprocessInstanceId(String processInstanceId)VariableInstanceDtoputValueInfoItem(String key, Object valueInfoItem)voidsetActivityInstanceId(String activityInstanceId)voidsetBatchId(String batchId)voidsetCaseExecutionId(String caseExecutionId)voidsetCaseInstanceId(String caseInstanceId)voidsetErrorMessage(String errorMessage)voidsetExecutionId(String executionId)voidsetId(String id)voidsetName(String name)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessInstanceId(String processInstanceId)voidsetTaskId(String taskId)voidsetTenantId(String tenantId)voidsetType(String type)voidsetValue(Object value)voidsetValueInfo(Map<String,Object> valueInfo)VariableInstanceDtotaskId(String taskId)VariableInstanceDtotenantId(String tenantId)StringtoString()VariableInstanceDtotype(String type)VariableInstanceDtovalue(Object value)VariableInstanceDtovalueInfo(Map<String,Object> valueInfo)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION_ID
public static final String SERIALIZED_NAME_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASE_INSTANCE_ID
public static final String SERIALIZED_NAME_CASE_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASE_EXECUTION_ID
public static final String SERIALIZED_NAME_CASE_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TASK_ID
public static final String SERIALIZED_NAME_TASK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BATCH_ID
public static final String SERIALIZED_NAME_BATCH_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_INSTANCE_ID
public static final String SERIALIZED_NAME_ACTIVITY_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID
public static final String SERIALIZED_NAME_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_MESSAGE
public static final String SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE_INFO
public static final String SERIALIZED_NAME_VALUE_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public VariableInstanceDto id(String id)
-
getId
public String getId()
The id of the variable instance.- Returns:
- id
-
setId
public void setId(String id)
-
name
public VariableInstanceDto name(String name)
-
getName
public String getName()
The name of the variable instance.- Returns:
- name
-
setName
public void setName(String name)
-
processDefinitionId
public VariableInstanceDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
The id of the process definition that this variable instance belongs to.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
processInstanceId
public VariableInstanceDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
The id of the process instance that this variable instance belongs to.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
executionId
public VariableInstanceDto executionId(String executionId)
-
getExecutionId
public String getExecutionId()
The id of the execution that this variable instance belongs to.- Returns:
- executionId
-
setExecutionId
public void setExecutionId(String executionId)
-
caseInstanceId
public VariableInstanceDto caseInstanceId(String caseInstanceId)
-
getCaseInstanceId
public String getCaseInstanceId()
The id of the case instance that this variable instance belongs to.- Returns:
- caseInstanceId
-
setCaseInstanceId
public void setCaseInstanceId(String caseInstanceId)
-
caseExecutionId
public VariableInstanceDto caseExecutionId(String caseExecutionId)
-
getCaseExecutionId
public String getCaseExecutionId()
The id of the case execution that this variable instance belongs to.- Returns:
- caseExecutionId
-
setCaseExecutionId
public void setCaseExecutionId(String caseExecutionId)
-
taskId
public VariableInstanceDto taskId(String taskId)
-
getTaskId
public String getTaskId()
The id of the task that this variable instance belongs to.- Returns:
- taskId
-
setTaskId
public void setTaskId(String taskId)
-
batchId
public VariableInstanceDto batchId(String batchId)
-
getBatchId
public String getBatchId()
The id of the batch that this variable instance belongs to.<- Returns:
- batchId
-
setBatchId
public void setBatchId(String batchId)
-
activityInstanceId
public VariableInstanceDto activityInstanceId(String activityInstanceId)
-
getActivityInstanceId
public String getActivityInstanceId()
The id of the activity instance that this variable instance belongs to.- Returns:
- activityInstanceId
-
setActivityInstanceId
public void setActivityInstanceId(String activityInstanceId)
-
tenantId
public VariableInstanceDto tenantId(String tenantId)
-
getTenantId
public String getTenantId()
The id of the tenant that this variable instance belongs to.- Returns:
- tenantId
-
setTenantId
public void setTenantId(String tenantId)
-
errorMessage
public VariableInstanceDto errorMessage(String errorMessage)
-
getErrorMessage
public String getErrorMessage()
An error message in case a Java Serialized Object could not be de-serialized.- Returns:
- errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
value
public VariableInstanceDto value(Object value)
-
getValue
public Object getValue()
Can be any value - string, number, boolean, array or object. **Note**: Not every endpoint supports every type.- Returns:
- value
-
setValue
public void setValue(Object value)
-
type
public VariableInstanceDto type(String type)
-
getType
public String getType()
The value type of the variable.- Returns:
- type
-
setType
public void setType(String type)
-
valueInfo
public VariableInstanceDto valueInfo(Map<String,Object> valueInfo)
-
putValueInfoItem
public VariableInstanceDto putValueInfoItem(String key, Object valueInfoItem)
-
getValueInfo
public Map<String,Object> getValueInfo()
A JSON object containing additional, value-type-dependent properties. For serialized variables of type Object, the following properties can be provided: * `objectTypeName`: A string representation of the object's type name. * `serializationDataFormat`: The serialization format used to store the variable. For serialized variables of type File, the following properties can be provided: * `filename`: The name of the file. This is not the variable name but the name that will be used when downloading the file again. * `mimetype`: The MIME type of the file that is being uploaded. * `encoding`: The encoding of the file that is being uploaded. The following property can be provided for all value types: * `transient`: Indicates whether the variable should be transient or not. See [documentation](https://docs.camunda.org/manual/7.18/user-guide/process-engine/variables#transient-variables) for more informations. (Not applicable for `decision-definition`, ` /process-instance/variables-async`, and `/migration/executeAsync` endpoints)- Returns:
- valueInfo
-
-