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

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


     * @param id the primary key for the new l f objective map
     * @return the new l f objective map
     */
    @Override
    public LFObjectiveMap create(long id) {
        LFObjectiveMap lfObjectiveMap = new LFObjectiveMapImpl();

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

        return lfObjectiveMap;
    }
View Full Code Here


    protected LFObjectiveMap toUnwrappedModel(LFObjectiveMap lfObjectiveMap) {
        if (lfObjectiveMap instanceof LFObjectiveMapImpl) {
            return lfObjectiveMap;
        }

        LFObjectiveMapImpl lfObjectiveMapImpl = new LFObjectiveMapImpl();

        lfObjectiveMapImpl.setNew(lfObjectiveMap.isNew());
        lfObjectiveMapImpl.setPrimaryKey(lfObjectiveMap.getPrimaryKey());

        lfObjectiveMapImpl.setId(lfObjectiveMap.getId());
        lfObjectiveMapImpl.setObjectiveID(lfObjectiveMap.getObjectiveID());
        lfObjectiveMapImpl.setReadSatisfiedStatusFrom(lfObjectiveMap.getReadSatisfiedStatusFrom());
        lfObjectiveMapImpl.setReadNormalizedMeasureFrom(lfObjectiveMap.getReadNormalizedMeasureFrom());
        lfObjectiveMapImpl.setWriteSatisfiedStatusTo(lfObjectiveMap.getWriteSatisfiedStatusTo());
        lfObjectiveMapImpl.setWriteNormalizedMeasureTo(lfObjectiveMap.getWriteNormalizedMeasureTo());
        lfObjectiveMapImpl.setReadRawScoreFrom(lfObjectiveMap.getReadRawScoreFrom());
        lfObjectiveMapImpl.setReadMinScoreFrom(lfObjectiveMap.getReadMinScoreFrom());
        lfObjectiveMapImpl.setReadMaxScoreFrom(lfObjectiveMap.getReadMaxScoreFrom());
        lfObjectiveMapImpl.setReadCompletionStatusFrom(lfObjectiveMap.getReadCompletionStatusFrom());
        lfObjectiveMapImpl.setReadProgressMeasureFrom(lfObjectiveMap.getReadProgressMeasureFrom());
        lfObjectiveMapImpl.setWriteRawScoreTo(lfObjectiveMap.getWriteRawScoreTo());
        lfObjectiveMapImpl.setWriteMinScoreTo(lfObjectiveMap.getWriteMinScoreTo());
        lfObjectiveMapImpl.setWriteMaxScoreTo(lfObjectiveMap.getWriteMaxScoreTo());
        lfObjectiveMapImpl.setWriteCompletionStatusTo(lfObjectiveMap.getWriteCompletionStatusTo());
        lfObjectiveMapImpl.setWriteProgressMeasureTo(lfObjectiveMap.getWriteProgressMeasureTo());

        return lfObjectiveMapImpl;
    }
View Full Code Here

TOP

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

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.