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

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


     * @param id the primary key for the new l f attempt data
     * @return the new l f attempt data
     */
    @Override
    public LFAttemptData create(long id) {
        LFAttemptData lfAttemptData = new LFAttemptDataImpl();

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

        return lfAttemptData;
    }
View Full Code Here


    protected LFAttemptData toUnwrappedModel(LFAttemptData lfAttemptData) {
        if (lfAttemptData instanceof LFAttemptDataImpl) {
            return lfAttemptData;
        }

        LFAttemptDataImpl lfAttemptDataImpl = new LFAttemptDataImpl();

        lfAttemptDataImpl.setNew(lfAttemptData.isNew());
        lfAttemptDataImpl.setPrimaryKey(lfAttemptData.getPrimaryKey());

        lfAttemptDataImpl.setId(lfAttemptData.getId());
        lfAttemptDataImpl.setDataKey(lfAttemptData.getDataKey());
        lfAttemptDataImpl.setDataValue(lfAttemptData.getDataValue());
        lfAttemptDataImpl.setAttemptID(lfAttemptData.getAttemptID());
        lfAttemptDataImpl.setActivityID(lfAttemptData.getActivityID());

        return lfAttemptDataImpl;
    }
View Full Code Here

TOP

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

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.