Package com.arcusys.learn.persistence.liferay.model.impl

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


     * @param id the primary key for the new l f quiz question
     * @return the new l f quiz question
     */
    @Override
    public LFQuizQuestion create(long id) {
        LFQuizQuestion lfQuizQuestion = new LFQuizQuestionImpl();

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

        return lfQuizQuestion;
    }
View Full Code Here


    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;
    }
View Full Code Here

TOP

Related Classes of com.arcusys.learn.persistence.liferay.model.impl.LFQuizQuestionImpl

Copyright © 2018 www.massapicom. 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.