Examples of LFQuestionImpl


Examples of com.arcusys.learn.persistence.liferay.model.impl.LFQuestionImpl

     * @param id the primary key for the new l f question
     * @return the new l f question
     */
    @Override
    public LFQuestion create(long id) {
        LFQuestion lfQuestion = new LFQuestionImpl();

        lfQuestion.setNew(true);
        lfQuestion.setPrimaryKey(id);

        return lfQuestion;
    }
View Full Code Here

Examples of com.arcusys.learn.persistence.liferay.model.impl.LFQuestionImpl

    protected LFQuestion toUnwrappedModel(LFQuestion lfQuestion) {
        if (lfQuestion instanceof LFQuestionImpl) {
            return lfQuestion;
        }

        LFQuestionImpl lfQuestionImpl = new LFQuestionImpl();

        lfQuestionImpl.setNew(lfQuestion.isNew());
        lfQuestionImpl.setPrimaryKey(lfQuestion.getPrimaryKey());

        lfQuestionImpl.setId(lfQuestion.getId());
        lfQuestionImpl.setCategoryId(lfQuestion.getCategoryId());
        lfQuestionImpl.setTitle(lfQuestion.getTitle());
        lfQuestionImpl.setDescription(lfQuestion.getDescription());
        lfQuestionImpl.setExplanationText(lfQuestion.getExplanationText());
        lfQuestionImpl.setForceCorrectCount(lfQuestion.isForceCorrectCount());
        lfQuestionImpl.setCaseSensitive(lfQuestion.isCaseSensitive());
        lfQuestionImpl.setQuestionType(lfQuestion.getQuestionType());
        lfQuestionImpl.setCourseId(lfQuestion.getCourseId());
        lfQuestionImpl.setArrangementIndex(lfQuestion.getArrangementIndex());

        return lfQuestionImpl;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.