|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.krms.impl.repository.PropositionBo
public class PropositionBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
PropositionBo()
|
Method Summary | |
---|---|
static PropositionBo |
from(PropositionDefinition im)
|
List<PropositionBo> |
getCompoundComponents()
This method returns the propositions which are contained in a compound proposition. |
String |
getCompoundOpCode()
This method returns the op code to be used when evaluating compound propositions. |
String |
getDescription()
This is the description text for the KRMS proposition |
String |
getId()
The unique identifier for an object. |
groovy.lang.MetaClass |
getMetaClass()
|
List<PropositionParameterBo> |
getParameters()
This is the parameter list of the proposition. |
Object |
getProperty(String property)
|
String |
getPropositionTypeCode()
There are three main types of Propositions: Compound Propositions - a proposition consisting of other propositions and a boolean algebra operator (AND, OR) defining how to evaluate those propositions. |
String |
getRuleId()
This returns the ID of the rule this proposition belongs to. |
String |
getTypeId()
This is the id of Proposition KrmsType of the proposition. |
Object |
invokeMethod(String method,
Object arguments)
|
void |
setCompoundComponents(List<PropositionBo> value)
|
void |
setCompoundOpCode(String value)
|
void |
setDescription(String value)
|
void |
setId(String value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setParameters(List<PropositionParameterBo> value)
|
void |
setProperty(String property,
Object value)
|
void |
setPropositionTypeCode(String value)
|
void |
setRuleId(String value)
|
void |
setTypeId(String value)
|
static PropositionDefinition |
to(PropositionBo bo)
|
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public PropositionBo()
Method Detail |
---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String value)
public String getDescription()
PropositionDefinitionContract
getDescription
in interface PropositionDefinitionContract
public void setDescription(String value)
public String getRuleId()
PropositionDefinitionContract
getRuleId
in interface PropositionDefinitionContract
public void setRuleId(String value)
public String getTypeId()
PropositionDefinitionContract
getTypeId
in interface PropositionDefinitionContract
public void setTypeId(String value)
public String getPropositionTypeCode()
PropositionDefinitionContract
There are three main types of Propositions: Compound Propositions - a proposition consisting of other propositions and a boolean algebra operator (AND, OR) defining how to evaluate those propositions. Parameterized Propositions - a proposition which is parameterized by some set of values, evaluation logic is implemented by hand and returns true or false Simple Propositions - a proposition of the form lhs op rhs where lhs=left-hand side, rhs=right-hand side, and op=operator
getPropositionTypeCode
in interface PropositionDefinitionContract
Valid values are C = compound, P = parameterized, S = simple
public void setPropositionTypeCode(String value)
public List<PropositionParameterBo> getParameters()
PropositionDefinitionContract
Compound Propositions will have an empty parameter list.
getParameters
in interface PropositionDefinitionContract
PropositionParameter
public void setParameters(List<PropositionParameterBo> value)
public String getCompoundOpCode()
PropositionDefinitionContract
getCompoundOpCode
in interface PropositionDefinitionContract
public void setCompoundOpCode(String value)
public List<PropositionBo> getCompoundComponents()
PropositionDefinitionContract
getCompoundComponents
in interface PropositionDefinitionContract
public void setCompoundComponents(List<PropositionBo> value)
public static PropositionDefinition to(PropositionBo bo)
public static PropositionBo from(PropositionDefinition im)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |