Package io.camunda.service.entities
Record Class VariableEntity
java.lang.Object
java.lang.Record
io.camunda.service.entities.VariableEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebpmnProcessIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefullValuerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisPreviewrecord component.key()Returns the value of thekeyrecord component.name()Returns the value of thenamerecord component.Returns the value of theprocessDefinitionKeyrecord component.Returns the value of theprocessInstanceKeyrecord component.scopeKey()Returns the value of thescopeKeyrecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
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 aVariableEntityrecord class.- Parameters:
key- the value for thekeyrecord componentname- the value for thenamerecord componentvalue- the value for thevaluerecord componentfullValue- the value for thefullValuerecord componentisPreview- the value for theisPreviewrecord componentscopeKey- the value for thescopeKeyrecord componentprocessInstanceKey- the value for theprocessInstanceKeyrecord componentprocessDefinitionKey- the value for theprocessDefinitionKeyrecord componentbpmnProcessId- the value for thebpmnProcessIdrecord componenttenantId- the value for thetenantIdrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
fullValue
Returns the value of thefullValuerecord component.- Returns:
- the value of the
fullValuerecord component
-
isPreview
public boolean isPreview()Returns the value of theisPreviewrecord component.- Returns:
- the value of the
isPreviewrecord component
-
scopeKey
Returns the value of thescopeKeyrecord component.- Returns:
- the value of the
scopeKeyrecord component
-
processInstanceKey
Returns the value of theprocessInstanceKeyrecord component.- Returns:
- the value of the
processInstanceKeyrecord component
-
processDefinitionKey
Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
bpmnProcessId
Returns the value of thebpmnProcessIdrecord component.- Returns:
- the value of the
bpmnProcessIdrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-