Record Class TaskPatch

java.lang.Object
java.lang.Record
io.kadai.task.api.TaskPatch

public record TaskPatch(Instant received, Instant planned, Instant due, String name, String note, String description, ClassificationSummary classificationSummary, WorkbasketSummary workbasketSummary, String businessProcessId, String parentBusinessProcessId, ObjectReference primaryObjRef, Integer manualPriority, Boolean isRead, List<ObjectReference> secondaryObjectReferences, String custom1, String custom2, String custom3, String custom4, String custom5, String custom6, String custom7, String custom8, String custom9, String custom10, String custom11, String custom12, String custom13, String custom14, String custom15, String custom16, Integer customInt1, Integer customInt2, Integer customInt3, Integer customInt4, Integer customInt5, Integer customInt6, Integer customInt7, Integer customInt8, Map<String,String> customAttributes, Map<String,String> callbackInfo) extends Record
Record representing a patch for a Task. All fields are nullable to allow partial updates.
  • Constructor Details

    • TaskPatch

      public TaskPatch(Instant received, Instant planned, Instant due, String name, String note, String description, ClassificationSummary classificationSummary, WorkbasketSummary workbasketSummary, String businessProcessId, String parentBusinessProcessId, ObjectReference primaryObjRef, Integer manualPriority, Boolean isRead, List<ObjectReference> secondaryObjectReferences, String custom1, String custom2, String custom3, String custom4, String custom5, String custom6, String custom7, String custom8, String custom9, String custom10, String custom11, String custom12, String custom13, String custom14, String custom15, String custom16, Integer customInt1, Integer customInt2, Integer customInt3, Integer customInt4, Integer customInt5, Integer customInt6, Integer customInt7, Integer customInt8, Map<String,String> customAttributes, Map<String,String> callbackInfo)
      Creates an instance of a TaskPatch record class.
      Parameters:
      received - the value for the received record component
      planned - the value for the planned record component
      due - the value for the due record component
      name - the value for the name record component
      note - the value for the note record component
      description - the value for the description record component
      classificationSummary - the value for the classificationSummary record component
      workbasketSummary - the value for the workbasketSummary record component
      businessProcessId - the value for the businessProcessId record component
      parentBusinessProcessId - the value for the parentBusinessProcessId record component
      primaryObjRef - the value for the primaryObjRef record component
      manualPriority - the value for the manualPriority record component
      isRead - the value for the isRead record component
      secondaryObjectReferences - the value for the secondaryObjectReferences record component
      custom1 - the value for the custom1 record component
      custom2 - the value for the custom2 record component
      custom3 - the value for the custom3 record component
      custom4 - the value for the custom4 record component
      custom5 - the value for the custom5 record component
      custom6 - the value for the custom6 record component
      custom7 - the value for the custom7 record component
      custom8 - the value for the custom8 record component
      custom9 - the value for the custom9 record component
      custom10 - the value for the custom10 record component
      custom11 - the value for the custom11 record component
      custom12 - the value for the custom12 record component
      custom13 - the value for the custom13 record component
      custom14 - the value for the custom14 record component
      custom15 - the value for the custom15 record component
      custom16 - the value for the custom16 record component
      customInt1 - the value for the customInt1 record component
      customInt2 - the value for the customInt2 record component
      customInt3 - the value for the customInt3 record component
      customInt4 - the value for the customInt4 record component
      customInt5 - the value for the customInt5 record component
      customInt6 - the value for the customInt6 record component
      customInt7 - the value for the customInt7 record component
      customInt8 - the value for the customInt8 record component
      customAttributes - the value for the customAttributes record component
      callbackInfo - the value for the callbackInfo 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • received

      public Instant received()
      Returns the value of the received record component.
      Returns:
      the value of the received record component
    • planned

      public Instant planned()
      Returns the value of the planned record component.
      Returns:
      the value of the planned record component
    • due

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

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

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

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

      public ClassificationSummary classificationSummary()
      Returns the value of the classificationSummary record component.
      Returns:
      the value of the classificationSummary record component
    • workbasketSummary

      public WorkbasketSummary workbasketSummary()
      Returns the value of the workbasketSummary record component.
      Returns:
      the value of the workbasketSummary record component
    • businessProcessId

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

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

      public ObjectReference primaryObjRef()
      Returns the value of the primaryObjRef record component.
      Returns:
      the value of the primaryObjRef record component
    • manualPriority

      public Integer manualPriority()
      Returns the value of the manualPriority record component.
      Returns:
      the value of the manualPriority record component
    • isRead

      public Boolean isRead()
      Returns the value of the isRead record component.
      Returns:
      the value of the isRead record component
    • secondaryObjectReferences

      public List<ObjectReference> secondaryObjectReferences()
      Returns the value of the secondaryObjectReferences record component.
      Returns:
      the value of the secondaryObjectReferences record component
    • custom1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Integer customInt1()
      Returns the value of the customInt1 record component.
      Returns:
      the value of the customInt1 record component
    • customInt2

      public Integer customInt2()
      Returns the value of the customInt2 record component.
      Returns:
      the value of the customInt2 record component
    • customInt3

      public Integer customInt3()
      Returns the value of the customInt3 record component.
      Returns:
      the value of the customInt3 record component
    • customInt4

      public Integer customInt4()
      Returns the value of the customInt4 record component.
      Returns:
      the value of the customInt4 record component
    • customInt5

      public Integer customInt5()
      Returns the value of the customInt5 record component.
      Returns:
      the value of the customInt5 record component
    • customInt6

      public Integer customInt6()
      Returns the value of the customInt6 record component.
      Returns:
      the value of the customInt6 record component
    • customInt7

      public Integer customInt7()
      Returns the value of the customInt7 record component.
      Returns:
      the value of the customInt7 record component
    • customInt8

      public Integer customInt8()
      Returns the value of the customInt8 record component.
      Returns:
      the value of the customInt8 record component
    • customAttributes

      public Map<String,String> customAttributes()
      Returns the value of the customAttributes record component.
      Returns:
      the value of the customAttributes record component
    • callbackInfo

      public Map<String,String> callbackInfo()
      Returns the value of the callbackInfo record component.
      Returns:
      the value of the callbackInfo record component