Class ActivityVariable

java.lang.Object
org.bonitasoft.web.client.model.ActivityVariable
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") 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:
  • Field Details

  • Constructor Details

    • ActivityVariable

      public ActivityVariable()
  • Method Details

    • 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)
    • getId

      @Nullable public String getId()
      The identifier of the variable
      Returns:
      id
    • setId

      public void setId(String id)
    • idString

      public ActivityVariable idString(String idString)
    • getIdString

      @Nullable public String getIdString()
      number (since 7.0.1)
      Returns:
      idString
    • setIdString

      public void setIdString(String idString)
    • name

      public ActivityVariable name(String name)
    • getName

      @Nullable public String getName()
      The name of the activity variable
      Returns:
      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)
    • getTransientData

      @Nullable public String getTransientData()
      FALSE
      Returns:
      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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object