|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.krms.impl.repository.PropositionBo
public class PropositionBo
| Field Summary |
|---|
| Fields inherited from class org.kuali.rice.kns.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 |
groovy.lang.MetaClass |
getMetaClass()
|
List<PropositionParameterBo> |
getParameters()
This is the parameter list of the proposition. |
Object |
getProperty(String property)
|
String |
getPropId()
This is the ID for the KRMS proposition |
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 |
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 |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setParameters(List<PropositionParameterBo> value)
|
void |
setProperty(String property,
Object value)
|
void |
setPropId(String value)
|
void |
setPropositionTypeCode(String value)
|
void |
setTypeId(String value)
|
static PropositionDefinition |
to(PropositionBo bo)
|
| Methods inherited from class org.kuali.rice.kns.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.ModelObjectBasic |
|---|
toString |
| Constructor Detail |
|---|
public PropositionBo()
| Method Detail |
|---|
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObject
public Object invokeMethod(String method,
Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObject
public void setProperty(String property,
Object value)
setProperty in interface groovy.lang.GroovyObjectpublic String getPropId()
PropositionDefinitionContract
getPropId in interface PropositionDefinitionContractpublic void setPropId(String value)
public String getDescription()
PropositionDefinitionContract
getDescription in interface PropositionDefinitionContractpublic void setDescription(String value)
public String getTypeId()
PropositionDefinitionContract
getTypeId in interface PropositionDefinitionContractpublic void setTypeId(String value)
public String getPropositionTypeCode()
PropositionDefinitionContractThere 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 PropositionDefinitionContractValid values are C = compound, P = parameterized, S = simple
public void setPropositionTypeCode(String value)
public List<PropositionParameterBo> getParameters()
PropositionDefinitionContractCompound Propositions will have an empty parameter list.
getParameters in interface PropositionDefinitionContractPropositionParameterpublic void setParameters(List<PropositionParameterBo> value)
public String getCompoundOpCode()
PropositionDefinitionContract
getCompoundOpCode in interface PropositionDefinitionContractpublic void setCompoundOpCode(String value)
public List<PropositionBo> getCompoundComponents()
PropositionDefinitionContract
getCompoundComponents in interface PropositionDefinitionContractpublic 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 | |||||||||