protected LFQuizQuestion toUnwrappedModel(LFQuizQuestion lfQuizQuestion) {
if (lfQuizQuestion instanceof LFQuizQuestionImpl) {
return lfQuizQuestion;
}
LFQuizQuestionImpl lfQuizQuestionImpl = new LFQuizQuestionImpl();
lfQuizQuestionImpl.setNew(lfQuizQuestion.isNew());
lfQuizQuestionImpl.setPrimaryKey(lfQuizQuestion.getPrimaryKey());
lfQuizQuestionImpl.setId(lfQuizQuestion.getId());
lfQuizQuestionImpl.setQuizId(lfQuizQuestion.getQuizId());
lfQuizQuestionImpl.setCategoryId(lfQuizQuestion.getCategoryId());
lfQuizQuestionImpl.setQuestionId(lfQuizQuestion.getQuestionId());
lfQuizQuestionImpl.setQuestionType(lfQuizQuestion.getQuestionType());
lfQuizQuestionImpl.setTitle(lfQuizQuestion.getTitle());
lfQuizQuestionImpl.setUrl(lfQuizQuestion.getUrl());
lfQuizQuestionImpl.setPlainText(lfQuizQuestion.getPlainText());
lfQuizQuestionImpl.setArrangementIndex(lfQuizQuestion.getArrangementIndex());
return lfQuizQuestionImpl;
}