Record Class VariableEntity

java.lang.Object
java.lang.Record
io.camunda.service.entities.VariableEntity

public record VariableEntity(Long key, String name, String value, String fullValue, boolean isPreview, Long scopeKey, Long processInstanceKey, Long processDefinitionKey, String bpmnProcessId, String tenantId) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    VariableEntity(Long key, String name, String value, String fullValue, boolean isPreview, Long scopeKey, Long processInstanceKey, Long processDefinitionKey, String bpmnProcessId, String tenantId)
    Creates an instance of a VariableEntity record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the bpmnProcessId record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the fullValue record component.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the isPreview record component.
    key()
    Returns the value of the key record component.
    Returns the value of the name record component.
    Returns the value of the processDefinitionKey record component.
    Returns the value of the processInstanceKey record component.
    Returns the value of the scopeKey record component.
    Returns the value of the tenantId record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the value record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • VariableEntity

      public VariableEntity(Long key, String name, String value, String fullValue, boolean isPreview, Long scopeKey, Long processInstanceKey, Long processDefinitionKey, String bpmnProcessId, String tenantId)
      Creates an instance of a VariableEntity record class.
      Parameters:
      key - the value for the key record component
      name - the value for the name record component
      value - the value for the value record component
      fullValue - the value for the fullValue record component
      isPreview - the value for the isPreview record component
      scopeKey - the value for the scopeKey record component
      processInstanceKey - the value for the processInstanceKey record component
      processDefinitionKey - the value for the processDefinitionKey record component
      bpmnProcessId - the value for the bpmnProcessId record component
      tenantId - the value for the tenantId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • key

      public Long key()
      Returns the value of the key record component.
      Returns:
      the value of the key record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • value

      public String value()
      Returns the value of the value record component.
      Returns:
      the value of the value record component
    • fullValue

      public String fullValue()
      Returns the value of the fullValue record component.
      Returns:
      the value of the fullValue record component
    • isPreview

      public boolean isPreview()
      Returns the value of the isPreview record component.
      Returns:
      the value of the isPreview record component
    • scopeKey

      public Long scopeKey()
      Returns the value of the scopeKey record component.
      Returns:
      the value of the scopeKey record component
    • processInstanceKey

      public Long processInstanceKey()
      Returns the value of the processInstanceKey record component.
      Returns:
      the value of the processInstanceKey record component
    • processDefinitionKey

      public Long processDefinitionKey()
      Returns the value of the processDefinitionKey record component.
      Returns:
      the value of the processDefinitionKey record component
    • bpmnProcessId

      public String bpmnProcessId()
      Returns the value of the bpmnProcessId record component.
      Returns:
      the value of the bpmnProcessId record component
    • tenantId

      public String tenantId()
      Returns the value of the tenantId record component.
      Returns:
      the value of the tenantId record component