Record Class CloudRuntimeEntitySort
java.lang.Object
java.lang.Record
org.activiti.cloud.services.query.rest.payload.CloudRuntimeEntitySort
public record CloudRuntimeEntitySort(String field, org.springframework.data.domain.Sort.Direction direction, boolean isProcessVariable, String processDefinitionKey, VariableType type)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCloudRuntimeEntitySort(String field, String direction, boolean isProcessVariable, String processDefinitionKey, VariableType type) This constructor's purpose is to make deserialization of 'direction' case-insensitive.CloudRuntimeEntitySort(String field, org.springframework.data.domain.Sort.Direction direction, boolean isProcessVariable, String processDefinitionKey, VariableType type) Creates an instance of aCloudRuntimeEntitySortrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Sort.DirectionReturns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisProcessVariablerecord component.Returns the value of theprocessDefinitionKeyrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CloudRuntimeEntitySort
public CloudRuntimeEntitySort(String field, String direction, boolean isProcessVariable, String processDefinitionKey, VariableType type) This constructor's purpose is to make deserialization of 'direction' case-insensitive. -
CloudRuntimeEntitySort
public CloudRuntimeEntitySort(String field, org.springframework.data.domain.Sort.Direction direction, boolean isProcessVariable, String processDefinitionKey, VariableType type) Creates an instance of aCloudRuntimeEntitySortrecord class.- Parameters:
field- the value for thefieldrecord componentdirection- the value for thedirectionrecord componentisProcessVariable- the value for theisProcessVariablerecord componentprocessDefinitionKey- the value for theprocessDefinitionKeyrecord componenttype- the value for thetyperecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
field
Returns the value of thefieldrecord component.- Returns:
- the value of the
fieldrecord component
-
direction
public org.springframework.data.domain.Sort.Direction direction()Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-
isProcessVariable
public boolean isProcessVariable()Returns the value of theisProcessVariablerecord component.- Returns:
- the value of the
isProcessVariablerecord component
-
processDefinitionKey
Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-