@Entity public class RuleBo extends Object implements org.kuali.rice.krms.api.repository.rule.RuleDefinitionContract, org.kuali.rice.core.api.mo.common.Versioned, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_SEQ_NAME |
| Constructor and Description |
|---|
RuleBo() |
public static final String RULE_SEQ_NAME
public RuleBo()
public PropositionBo getProposition()
getProposition in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic void setProposition(PropositionBo proposition)
public void setTypeId(String typeId)
typeId - public Map<String,String> getAttributes()
getAttributes in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic void setAttributes(Map<String,String> attributes)
public String getPropositionSummary()
public org.kuali.rice.core.api.util.tree.Tree getPropositionTree()
public void setPropositionTree(org.kuali.rice.core.api.util.tree.Tree<RuleTreeNode,String> tree)
public org.kuali.rice.core.api.util.tree.Tree refreshPropositionTree(Boolean editMode)
public static org.kuali.rice.krms.api.repository.rule.RuleDefinition to(RuleBo bo)
bo - the mutable business objectpublic static RuleBo from(org.kuali.rice.krms.api.repository.rule.RuleDefinition im)
im - immutable objectpublic RuleBo copyRule(String newRuleName)
newRuleName - name of the copied rulepublic static List<RuleAttributeBo> copyRuleAttributes(RuleBo existing, RuleBo newRule)
public static List<ActionAttributeBo> copyActionAttributes(ActionBo existing, ActionBo newAction)
public static List<ActionBo> copyRuleActions(RuleBo existing, RuleBo newRule)
public String getId()
getId in interface org.kuali.rice.core.api.mo.common.Identifiablepublic String getNamespace()
getNamespace in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic void setNamespace(String namespace)
public String getDescription()
getDescription in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic void setDescription(String description)
public String getName()
getName in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic String getTypeId()
getTypeId in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic String getPropId()
getPropId in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic boolean getActive()
public boolean isActive()
isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versionedpublic void setVersionNumber(Long versionNumber)
public List<ActionBo> getActions()
getActions in interface org.kuali.rice.krms.api.repository.rule.RuleDefinitionContractpublic void setActions(List<ActionBo> actions)
public List<RuleAttributeBo> getAttributeBos()
public void setAttributeBos(List<RuleAttributeBo> attributeBos)
public void setPropositionSummary(String propositionSummary)
public String getSelectedPropositionId()
public void setSelectedPropositionId(String selectedPropositionId)
Copyright © 2005–2017 The Kuali Foundation. All rights reserved.