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.12.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

    • id

      public ActivityVariable id(@Nullable String id)
    • getId

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

      public void setId(@Nullable String id)
    • idString

      public ActivityVariable idString(@Nullable String idString)
    • getIdString

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

      public void setIdString(@Nullable String idString)
    • name

      public ActivityVariable name(@Nullable String name)
    • getName

      @Nullable public String getName()
      The name of the activity variable
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • description

      public ActivityVariable description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      The description of the variable if any
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • transientData

      public ActivityVariable transientData(@Nullable String transientData)
    • getTransientData

      @Nullable public String getTransientData()
      FALSE
      Returns:
      transientData
    • setTransientData

      public void setTransientData(@Nullable String transientData)
    • className

      public ActivityVariable className(@Nullable String className)
    • getClassName

      @Nullable public String getClassName()
      The fully qualified class name of the variable type
      Returns:
      className
    • setClassName

      public void setClassName(@Nullable String className)
    • containerId

      public ActivityVariable containerId(@Nullable 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(@Nullable String containerId)
    • containerIdString

      public ActivityVariable containerIdString(@Nullable String containerIdString)
    • getContainerIdString

      @Nullable public String getContainerIdString()
      number (since 7.0.1)
      Returns:
      containerIdString
    • setContainerIdString

      public void setContainerIdString(@Nullable String containerIdString)
    • containerType

      public ActivityVariable containerType(@Nullable 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(@Nullable ActivityVariable.ContainerTypeEnum containerType)
    • value

      public ActivityVariable value(@Nullable 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(@Nullable 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