Record Class JmixKanbanSerializer.InternalKanbanTask

java.lang.Object
java.lang.Record
io.jmix.kanbanflowui.kit.serialization.JmixKanbanSerializer.InternalKanbanTask
Enclosing class:
JmixKanbanSerializer

protected static record JmixKanbanSerializer.InternalKanbanTask(Object id, String status, String text, @Nullable String userId, @Nullable String color, @Nullable Object dueDate, @Nullable Number progress, @Nullable String tags, @Nullable String priority, @Nullable String swimlane) extends Record
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    InternalKanbanTask(Object id, String status, String text, @Nullable String userId, @Nullable String color, @Nullable Object dueDate, @Nullable Number progress, @Nullable String tags, @Nullable String priority, @Nullable String swimlane)
    Creates an instance of a InternalKanbanTask record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns the value of the color record component.
    @Nullable Object
    Returns the value of the dueDate record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    id()
    Returns the value of the id record component.
    @Nullable String
    Returns the value of the priority record component.
    @Nullable Number
    Returns the value of the progress record component.
    Returns the value of the status record component.
    @Nullable String
    Returns the value of the swimlane record component.
    @Nullable String
    Returns the value of the tags record component.
    Returns the value of the text record component.
    final String
    Returns a string representation of this record class.
    @Nullable String
    Returns the value of the userId record component.

    Methods inherited from class java.lang.Object

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

    • InternalKanbanTask

      protected InternalKanbanTask(Object id, String status, String text, @Nullable String userId, @Nullable String color, @Nullable Object dueDate, @Nullable Number progress, @Nullable String tags, @Nullable String priority, @Nullable String swimlane)
      Creates an instance of a InternalKanbanTask record class.
      Parameters:
      id - the value for the id record component
      status - the value for the status record component
      text - the value for the text record component
      userId - the value for the userId record component
      color - the value for the color record component
      dueDate - the value for the dueDate record component
      progress - the value for the progress record component
      tags - the value for the tags record component
      priority - the value for the priority record component
      swimlane - the value for the swimlane 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.
    • id

      public Object id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • status

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

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

      public @Nullable String userId()
      Returns the value of the userId record component.
      Returns:
      the value of the userId record component
    • color

      public @Nullable String color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component
    • dueDate

      public @Nullable Object dueDate()
      Returns the value of the dueDate record component.
      Returns:
      the value of the dueDate record component
    • progress

      public @Nullable Number progress()
      Returns the value of the progress record component.
      Returns:
      the value of the progress record component
    • tags

      public @Nullable String tags()
      Returns the value of the tags record component.
      Returns:
      the value of the tags record component
    • priority

      public @Nullable String priority()
      Returns the value of the priority record component.
      Returns:
      the value of the priority record component
    • swimlane

      public @Nullable String swimlane()
      Returns the value of the swimlane record component.
      Returns:
      the value of the swimlane record component