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

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


     * @param id the primary key for the new l f activity state
     * @return the new l f activity state
     */
    @Override
    public LFActivityState create(long id) {
        LFActivityState lfActivityState = new LFActivityStateImpl();

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

        return lfActivityState;
    }
View Full Code Here


    protected LFActivityState toUnwrappedModel(LFActivityState lfActivityState) {
        if (lfActivityState instanceof LFActivityStateImpl) {
            return lfActivityState;
        }

        LFActivityStateImpl lfActivityStateImpl = new LFActivityStateImpl();

        lfActivityStateImpl.setNew(lfActivityState.isNew());
        lfActivityStateImpl.setPrimaryKey(lfActivityState.getPrimaryKey());

        lfActivityStateImpl.setId(lfActivityState.getId());
        lfActivityStateImpl.setPackageID(lfActivityState.getPackageID());
        lfActivityStateImpl.setActivityID(lfActivityState.getActivityID());
        lfActivityStateImpl.setActive(lfActivityState.getActive());
        lfActivityStateImpl.setSuspended(lfActivityState.getSuspended());
        lfActivityStateImpl.setAttemptCompleted(lfActivityState.getAttemptCompleted());
        lfActivityStateImpl.setAttemptCompletionAmount(lfActivityState.getAttemptCompletionAmount());
        lfActivityStateImpl.setAttemptAbsoluteDuration(lfActivityState.getAttemptAbsoluteDuration());
        lfActivityStateImpl.setAttemptExperiencedDuration(lfActivityState.getAttemptExperiencedDuration());
        lfActivityStateImpl.setActivityAbsoluteDuration(lfActivityState.getActivityAbsoluteDuration());
        lfActivityStateImpl.setActivityExperiencedDuration(lfActivityState.getActivityExperiencedDuration());
        lfActivityStateImpl.setAttemptCount(lfActivityState.getAttemptCount());
        lfActivityStateImpl.setActivityStateNodeID(lfActivityState.getActivityStateNodeID());
        lfActivityStateImpl.setActivityStateTreeID(lfActivityState.getActivityStateTreeID());

        return lfActivityStateImpl;
    }
View Full Code Here

TOP

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

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.