LFQuizTreeElement lfQuizTreeElement) {
if (lfQuizTreeElement instanceof LFQuizTreeElementImpl) {
return lfQuizTreeElement;
}
LFQuizTreeElementImpl lfQuizTreeElementImpl = new LFQuizTreeElementImpl();
lfQuizTreeElementImpl.setNew(lfQuizTreeElement.isNew());
lfQuizTreeElementImpl.setPrimaryKey(lfQuizTreeElement.getPrimaryKey());
lfQuizTreeElementImpl.setId(lfQuizTreeElement.getId());
lfQuizTreeElementImpl.setQuizID(lfQuizTreeElement.getQuizID());
lfQuizTreeElementImpl.setElementID(lfQuizTreeElement.getElementID());
lfQuizTreeElementImpl.setIsCategory(lfQuizTreeElement.getIsCategory());
lfQuizTreeElementImpl.setParentID(lfQuizTreeElement.getParentID());
lfQuizTreeElementImpl.setArrangementIndex(lfQuizTreeElement.getArrangementIndex());
return lfQuizTreeElementImpl;
}