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

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


     * @param lfId the primary key for the new l f objective
     * @return the new l f objective
     */
    @Override
    public LFObjective create(long lfId) {
        LFObjective lfObjective = new LFObjectiveImpl();

        lfObjective.setNew(true);
        lfObjective.setPrimaryKey(lfId);

        return lfObjective;
    }
View Full Code Here


    protected LFObjective toUnwrappedModel(LFObjective lfObjective) {
        if (lfObjective instanceof LFObjectiveImpl) {
            return lfObjective;
        }

        LFObjectiveImpl lfObjectiveImpl = new LFObjectiveImpl();

        lfObjectiveImpl.setNew(lfObjective.isNew());
        lfObjectiveImpl.setPrimaryKey(lfObjective.getPrimaryKey());

        lfObjectiveImpl.setLfId(lfObjective.getLfId());
        lfObjectiveImpl.setSequencingID(lfObjective.getSequencingID());
        lfObjectiveImpl.setSatisfiedByMeasure(lfObjective.isSatisfiedByMeasure());
        lfObjectiveImpl.setIdentifier(lfObjective.getIdentifier());
        lfObjectiveImpl.setMinNormalizedMeasure(lfObjective.getMinNormalizedMeasure());
        lfObjectiveImpl.setIsPrimary(lfObjective.getIsPrimary());

        return lfObjectiveImpl;
    }
View Full Code Here

TOP

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

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.