@Override public Object clone() { SkillSubCategoryClp clone = new SkillSubCategoryClp(); clone.setPrimaryId(getPrimaryId()); clone.setName(getName()); return clone; }
@Override public void setModelAttributes(Map<String, Object> attributes) { Long primaryId = (Long) attributes.get("primaryId"); if (primaryId != null) { setPrimaryId(primaryId); } String name = (String) attributes.get("name"); if (name != null) { setName(name); } }
public void setPrimaryKey(long primaryKey) { setPrimaryId(primaryKey); }