LFAchievementActivity lfAchievementActivity) {
if (lfAchievementActivity instanceof LFAchievementActivityImpl) {
return lfAchievementActivity;
}
LFAchievementActivityImpl lfAchievementActivityImpl = new LFAchievementActivityImpl();
lfAchievementActivityImpl.setNew(lfAchievementActivity.isNew());
lfAchievementActivityImpl.setPrimaryKey(lfAchievementActivity.getPrimaryKey());
lfAchievementActivityImpl.setId(lfAchievementActivity.getId());
lfAchievementActivityImpl.setUserId(lfAchievementActivity.getUserId());
lfAchievementActivityImpl.setAchievementId(lfAchievementActivity.getAchievementId());
return lfAchievementActivityImpl;
}