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

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


     * @param id the primary key for the new l f quiz tree element
     * @return the new l f quiz tree element
     */
    @Override
    public LFQuizTreeElement create(long id) {
        LFQuizTreeElement lfQuizTreeElement = new LFQuizTreeElementImpl();

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

        return lfQuizTreeElement;
    }
View Full Code Here


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

TOP

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

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.