@Override
  public Object clone() {
    SkillSubCategoryClp clone = new SkillSubCategoryClp();

    clone.setPrimaryId(getPrimaryId());
    clone.setName(getName());

    return clone;
  }
  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }

    if (!(obj instanceof SkillSubCategoryClp)) {
      return false;
    }

    SkillSubCategoryClp skillSubCategory = (SkillSubCategoryClp) obj;

    long primaryKey = skillSubCategory.getPrimaryKey();

    if (getPrimaryKey() == primaryKey) {
      return true;
    } else {
      return false;
    }
  }