Class DtoSkillUsage

java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoSkillUsage
All Implemented Interfaces:
IDtoSkillUsage

public class DtoSkillUsage extends Object implements IDtoSkillUsage
When is how much attention used on which skill
  • Constructor Details

    • DtoSkillUsage

      protected DtoSkillUsage()
    • DtoSkillUsage

      public DtoSkillUsage(String skill, Integer attention, Long start, Long end)
  • Method Details

    • getSkill

      public String getSkill()
      ID of the used skill.
      Specified by:
      getSkill in interface IDtoSkillUsage
    • setSkill

      public void setSkill(String skill)
      ID of the used skill.
      Specified by:
      setSkill in interface IDtoSkillUsage
    • getAttention

      public Integer getAttention()
      Attention used on that skill (sum over operators).
      Specified by:
      getAttention in interface IDtoSkillUsage
    • setAttention

      public void setAttention(Integer attention)
      Attention used on that skill (sum over operators).
      Specified by:
      setAttention in interface IDtoSkillUsage
    • getStart

      public Long getStart()
      Attention on skill is used from this time onwards. start smaller than end
      Specified by:
      getStart in interface IDtoSkillUsage
    • setStart

      public void setStart(Long start)
      Attention on skill is used from this time onwards. start smaller than end
      Specified by:
      setStart in interface IDtoSkillUsage
    • getEnd

      public Long getEnd()
      Attention on skill is used until this time. start smaller than end
      Specified by:
      getEnd in interface IDtoSkillUsage
    • setEnd

      public void setEnd(Long end)
      Attention on skill is used until this time. start smaller than end
      Specified by:
      setEnd in interface IDtoSkillUsage
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • withSkill

      public DtoSkillUsage withSkill(String skill)
      ID of the used skill.
    • withAttention

      public DtoSkillUsage withAttention(Integer attention)
      Attention used on that skill (sum over operators).
    • withStart

      public DtoSkillUsage withStart(Long start)
      Attention on skill is used from this time onwards. start smaller than end
    • withEnd

      public DtoSkillUsage withEnd(Long end)
      Attention on skill is used until this time. start smaller than end