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

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


     * @param id the primary key for the new l f rule condition
     * @return the new l f rule condition
     */
    @Override
    public LFRuleCondition create(long id) {
        LFRuleCondition lfRuleCondition = new LFRuleConditionImpl();

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

        return lfRuleCondition;
    }
View Full Code Here


    protected LFRuleCondition toUnwrappedModel(LFRuleCondition lfRuleCondition) {
        if (lfRuleCondition instanceof LFRuleConditionImpl) {
            return lfRuleCondition;
        }

        LFRuleConditionImpl lfRuleConditionImpl = new LFRuleConditionImpl();

        lfRuleConditionImpl.setNew(lfRuleCondition.isNew());
        lfRuleConditionImpl.setPrimaryKey(lfRuleCondition.getPrimaryKey());

        lfRuleConditionImpl.setId(lfRuleCondition.getId());
        lfRuleConditionImpl.setConditionType(lfRuleCondition.getConditionType());
        lfRuleConditionImpl.setObjectiveId(lfRuleCondition.getObjectiveId());
        lfRuleConditionImpl.setMeasureThreshold(lfRuleCondition.getMeasureThreshold());
        lfRuleConditionImpl.setInverse(lfRuleCondition.isInverse());
        lfRuleConditionImpl.setRollupRuleID(lfRuleCondition.getRollupRuleID());
        lfRuleConditionImpl.setConditionRuleID(lfRuleCondition.getConditionRuleID());

        return lfRuleConditionImpl;
    }
View Full Code Here

TOP

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

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.