LFQuestionCategory lfQuestionCategory) {
if (lfQuestionCategory instanceof LFQuestionCategoryImpl) {
return lfQuestionCategory;
}
LFQuestionCategoryImpl lfQuestionCategoryImpl = new LFQuestionCategoryImpl();
lfQuestionCategoryImpl.setNew(lfQuestionCategory.isNew());
lfQuestionCategoryImpl.setPrimaryKey(lfQuestionCategory.getPrimaryKey());
lfQuestionCategoryImpl.setId(lfQuestionCategory.getId());
lfQuestionCategoryImpl.setTitle(lfQuestionCategory.getTitle());
lfQuestionCategoryImpl.setDescription(lfQuestionCategory.getDescription());
lfQuestionCategoryImpl.setParentId(lfQuestionCategory.getParentId());
lfQuestionCategoryImpl.setCourseId(lfQuestionCategory.getCourseId());
lfQuestionCategoryImpl.setArrangementIndex(lfQuestionCategory.getArrangementIndex());
return lfQuestionCategoryImpl;
}