Class DtoToolUsage

java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoToolUsage
All Implemented Interfaces:
IDtoToolUsage

public class DtoToolUsage extends Object implements IDtoToolUsage
When is which tool used
  • Constructor Details

    • DtoToolUsage

      protected DtoToolUsage()
    • DtoToolUsage

      public DtoToolUsage(String kind, Integer quantity, Long start, Long end)
  • Method Details

    • getKind

      public String getKind()
      Kind of the used tool.
      Specified by:
      getKind in interface IDtoToolUsage
    • setKind

      public void setKind(String kind)
      Kind of the used tool.
      Specified by:
      setKind in interface IDtoToolUsage
    • getQuantity

      public Integer getQuantity()
      Used quantity of the tool.
      Specified by:
      getQuantity in interface IDtoToolUsage
    • setQuantity

      public void setQuantity(Integer quantity)
      Used quantity of the tool.
      Specified by:
      setQuantity in interface IDtoToolUsage
    • getStart

      public Long getStart()
      Tool-quantity is used from this time onwards. start smaller than end
      Specified by:
      getStart in interface IDtoToolUsage
    • setStart

      public void setStart(Long start)
      Tool-quantity is used from this time onwards. start smaller than end
      Specified by:
      setStart in interface IDtoToolUsage
    • getEnd

      public Long getEnd()
      Tool-quantity is used until this time. start smaller than end
      Specified by:
      getEnd in interface IDtoToolUsage
    • setEnd

      public void setEnd(Long end)
      Tool-quantity is used until this time. start smaller than end
      Specified by:
      setEnd in interface IDtoToolUsage
    • withKind

      public DtoToolUsage withKind(String kind)
      Kind of the used tool.
    • withQuantity

      public DtoToolUsage withQuantity(Integer quantity)
      Used quantity of the tool.
    • withStart

      public DtoToolUsage withStart(Long start)
      Tool-quantity is used from this time onwards. start smaller than end
    • withEnd

      public DtoToolUsage withEnd(Long end)
      Tool-quantity is used until this time. start smaller than end
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object