19 package org.turro.skills;
21 import java.util.Objects;
22 import org.turro.elephant.entities.db.Skill;
23 import org.turro.elephant.entities.db.SkillType;
31 private final String skill;
33 private final boolean validated;
34 private final long usage;
41 this(skill, type,
false, usage);
47 this.validated = validated;
86 hash = 37 * hash + Objects.hashCode(this.skill);
87 hash = 37 * hash + Objects.hashCode(this.type);
99 if (getClass() != obj.getClass()) {
103 if (!Objects.equals(
this.skill, other.skill)) {
106 if (this.type != other.type) {
void setSkill(String skill)
void setType(SkillType type)
void setEntityPath(String entityPath)
void setValidated(boolean validated)
Skill getFor(String entityPath)
SkillRoot(String skill, SkillType type, boolean validated, long usage)
SkillRoot(String skill, SkillType type, long usage)
boolean equals(Object obj)