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

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


     * @param id the primary key for the new l f question category
     * @return the new l f question category
     */
    @Override
    public LFQuestionCategory create(long id) {
        LFQuestionCategory lfQuestionCategory = new LFQuestionCategoryImpl();

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

        return lfQuestionCategory;
    }
View Full Code Here


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

TOP

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

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.