19 package org.turro.elephant.entities.db;
21 import javax.persistence.Entity;
22 import javax.persistence.Id;
23 import javax.persistence.IdClass;
24 import org.turro.string.Strings;
25 import org.turro.entities.Entities;
26 import org.turro.entities.IElephantEntity;
33 @IdClass(SkillPK.class)
34 public class
Skill implements java.io.Serializable {
36 @Id
private String skill;
37 @Id
private String entityPath;
41 private boolean validated;
56 this.entityPath = entityPath;
72 this.validated = validated;
78 return Strings.isBlank(skill) || Strings.isBlank(entityPath) || type ==
null;
void setSkill(String skill)
void setType(SkillType type)
void setEntityPath(String entityPath)
IElephantEntity getEntity()
void setValidated(boolean validated)
static IElephantEntity getController(String path)