コード例 #1
0
  public Object clone() {
    ESPlayerClp clone = new ESPlayerClp();

    clone.setPlayerId(getPlayerId());
    clone.setPlayerGroupId(getPlayerGroupId());
    clone.setDrOwnerId(getDrOwnerId());
    clone.setSponsorId(getSponsorId());
    clone.setSubscriberId(getSubscriberId());
    clone.setRightHanded(getRightHanded());
    clone.setProfessional(getProfessional());
    clone.setLastName(getLastName());
    clone.setFirstName(getFirstName());
    clone.setMiddleName(getMiddleName());
    clone.setNickName(getNickName());
    clone.setEmail(getEmail());
    clone.setDateOfBirth(getDateOfBirth());
    clone.setMale(getMale());
    clone.setHomeZip(getHomeZip());
    clone.setPhone(getPhone());
    clone.setHomeCourse(getHomeCourse());
    clone.setGhinNo(getGhinNo());
    clone.setSubscriptionDate(getSubscriptionDate());
    clone.setSubscriptionExpiry(getSubscriptionExpiry());
    clone.setCreateDate(getCreateDate());
    clone.setModifyDate(getModifyDate());

    return clone;
  }
コード例 #2
0
 public void setPrimaryKey(long pk) {
   setPlayerId(pk);
 }