Package org.bonitasoft.web.client.model
Class ActivityVariable
- java.lang.Object
-
- org.bonitasoft.web.client.model.ActivityVariable
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ActivityVariable extends Object implements Serializable
This resource enables you to retrieve the value of a specific variable name for a specific process instance (or case). Only persistent variables are concerned by this resource, not transient variables.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivityVariable.ContainerTypeEnumACTIVITY_INSTANCE | PROCESS_INSTANCE depending on whether the variable is defined at activity or process level.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CLASS_NAMEstatic StringJSON_PROPERTY_CONTAINER_IDstatic StringJSON_PROPERTY_CONTAINER_ID_STRINGstatic StringJSON_PROPERTY_CONTAINER_TYPEstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_ID_STRINGstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_TENANT_IDstatic StringJSON_PROPERTY_TENANT_ID_STRINGstatic StringJSON_PROPERTY_TRANSIENT_DATAstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description ActivityVariable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityVariableclassName(String className)ActivityVariablecontainerId(String containerId)ActivityVariablecontainerIdString(String containerIdString)ActivityVariablecontainerType(ActivityVariable.ContainerTypeEnum containerType)ActivityVariabledescription(String description)booleanequals(Object o)StringgetClassName()The fully qualified class name of the variable typeStringgetContainerId()The ID of the activity containing this variable (same as the one passed as parameter) if the variable is defined at activity level or ID of the process instance if the variable is defined on the processStringgetContainerIdString()number (since 7.0.1)ActivityVariable.ContainerTypeEnumgetContainerType()ACTIVITY_INSTANCE | PROCESS_INSTANCE depending on whether the variable is defined at activity or process level.StringgetDescription()The description of the variable if anyStringgetId()The identifier of the variableStringgetIdString()number (since 7.0.1)StringgetName()The name of the activity variableStringgetTenantId()The ID of the tenant where the current user is logged in (technical information)StringgetTenantIdString()number (since 7.0.1)StringgetTransientData()FALSEStringgetValue()the value of this variable.inthashCode()ActivityVariableid(String id)ActivityVariableidString(String idString)ActivityVariablename(String name)voidsetClassName(String className)voidsetContainerId(String containerId)voidsetContainerIdString(String containerIdString)voidsetContainerType(ActivityVariable.ContainerTypeEnum containerType)voidsetDescription(String description)voidsetId(String id)voidsetIdString(String idString)voidsetName(String name)voidsetTenantId(String tenantId)voidsetTenantIdString(String tenantIdString)voidsetTransientData(String transientData)voidsetValue(String value)ActivityVariabletenantId(String tenantId)ActivityVariabletenantIdString(String tenantIdString)StringtoString()ActivityVariabletransientData(String transientData)ActivityVariablevalue(String value)
-
-
-
Field Detail
-
JSON_PROPERTY_TENANT_ID
public static final String JSON_PROPERTY_TENANT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TENANT_ID_STRING
public static final String JSON_PROPERTY_TENANT_ID_STRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID_STRING
public static final String JSON_PROPERTY_ID_STRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSIENT_DATA
public static final String JSON_PROPERTY_TRANSIENT_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLASS_NAME
public static final String JSON_PROPERTY_CLASS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTAINER_ID
public static final String JSON_PROPERTY_CONTAINER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTAINER_ID_STRING
public static final String JSON_PROPERTY_CONTAINER_ID_STRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTAINER_TYPE
public static final String JSON_PROPERTY_CONTAINER_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
tenantId
public ActivityVariable tenantId(String tenantId)
-
getTenantId
@Nullable public String getTenantId()
The ID of the tenant where the current user is logged in (technical information)- Returns:
- tenantId
-
setTenantId
public void setTenantId(String tenantId)
-
tenantIdString
public ActivityVariable tenantIdString(String tenantIdString)
-
getTenantIdString
@Nullable public String getTenantIdString()
number (since 7.0.1)- Returns:
- tenantIdString
-
setTenantIdString
public void setTenantIdString(String tenantIdString)
-
id
public ActivityVariable id(String id)
-
setId
public void setId(String id)
-
idString
public ActivityVariable idString(String idString)
-
setIdString
public void setIdString(String idString)
-
name
public ActivityVariable name(String name)
-
setName
public void setName(String name)
-
description
public ActivityVariable description(String description)
-
getDescription
@Nullable public String getDescription()
The description of the variable if any- Returns:
- description
-
setDescription
public void setDescription(String description)
-
transientData
public ActivityVariable transientData(String transientData)
-
setTransientData
public void setTransientData(String transientData)
-
className
public ActivityVariable className(String className)
-
getClassName
@Nullable public String getClassName()
The fully qualified class name of the variable type- Returns:
- className
-
setClassName
public void setClassName(String className)
-
containerId
public ActivityVariable containerId(String containerId)
-
getContainerId
@Nullable public String getContainerId()
The ID of the activity containing this variable (same as the one passed as parameter) if the variable is defined at activity level or ID of the process instance if the variable is defined on the process- Returns:
- containerId
-
setContainerId
public void setContainerId(String containerId)
-
containerIdString
public ActivityVariable containerIdString(String containerIdString)
-
getContainerIdString
@Nullable public String getContainerIdString()
number (since 7.0.1)- Returns:
- containerIdString
-
setContainerIdString
public void setContainerIdString(String containerIdString)
-
containerType
public ActivityVariable containerType(ActivityVariable.ContainerTypeEnum containerType)
-
getContainerType
@Nullable public ActivityVariable.ContainerTypeEnum getContainerType()
ACTIVITY_INSTANCE | PROCESS_INSTANCE depending on whether the variable is defined at activity or process level.- Returns:
- containerType
-
setContainerType
public void setContainerType(ActivityVariable.ContainerTypeEnum containerType)
-
value
public ActivityVariable value(String value)
-
getValue
@Nullable public String getValue()
the value of this variable. The format of the value depends on the type of the variable- Returns:
- value
-
setValue
public void setValue(String value)
-
-