| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.impl.repository.PropositionBo
@Entity public class PropositionBo
| Constructor Summary | |
|---|---|
| PropositionBo() | |
| Method Summary | |
|---|---|
| static PropositionBo | copyProposition(PropositionBo existing) | 
| static PropositionBo | createCompoundPropositionBoStub(PropositionBo existing,
                                                               boolean addNewChild) | 
| static PropositionBo | createCompoundPropositionBoStub2(PropositionBo existing) | 
| static PropositionBo | createSimplePropositionBoStub(PropositionBo sibling,
                                                           String pType)This method creates a partially populated Simple PropositionBo with three parameters: a term type paramter (value not assigned) a operation parameter a constant parameter (value set to empty string) The returned PropositionBo has an generatedId. | 
| static PropositionBo | from(PropositionDefinition im)Converts a immutable object to it's mutable bo counterpart | 
|  String | getCategoryId() | 
|  List<PropositionBo> | getCompoundComponents()Returns the propositions which are contained in a compound proposition. | 
|  String | getCompoundOpCode()Returns the op code to be used when evaluating compound propositions. | 
|  Integer | getCompoundSequenceNumber()Returns the sequence number used to order the compound propositions Note: this value is set by the service | 
|  DataObjectService | getDataObjectService() | 
|  String | getDescription()Returns the description text for the KRMS proposition | 
|  boolean | getEditMode() | 
|  String | getId()The unique identifier for an object. | 
|  String | getNewTermDescription() | 
|  String | getParameterDisplayString() | 
|  List<PropositionParameterBo> | getParameters()Returns the parameter list of the 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 | getRuleId()TReturns the ID of the rule this proposition belongs to. | 
|  boolean | getShowCustomValue() | 
|  String | getTermParameter() | 
|  List<TermParameter> | getTermParameterList() | 
|  Map<String,String> | getTermParameters() | 
|  String | getTermSpecId() | 
|  String | getTypeId()Returns the id of Proposition KrmsType of the proposition. | 
|  Long | getVersionNumber()Returns the version number for this object. | 
|  boolean | isShowCustomValue() | 
|  void | setCategoryId(String categoryId) | 
|  void | setCompoundComponents(List<PropositionBo> compoundComponents) | 
|  void | setCompoundOpCode(String compoundOpCode) | 
|  void | setCompoundSequenceNumber(Integer compoundSequenceNumber) | 
|  void | setDescription(String description) | 
|  void | setEditMode(boolean editMode) | 
|  void | setId(String id) | 
|  void | setNewTermDescription(String newTermDescription) | 
|  void | setParameterDisplayString(String parameterDisplayString) | 
|  void | setParameters(List<PropositionParameterBo> parameters) | 
|  void | setPropositionTypeCode(String propositionTypeCode) | 
|  void | setRuleId(String ruleId) | 
|  void | setShowCustomValue(boolean showCustomValue) | 
|  void | setTermParameter(String termParameter) | 
|  void | setTermParameterList(List<TermParameter> termParameterList) | 
|  void | setTermParameters(Map<String,String> termParameters) | 
|  void | setTermSpecId(String componentId) | 
|  void | setTypeId(String typeId)set the typeId. | 
|  void | setVersionNumber(Long versionNumber) | 
| static PropositionDefinition | to(PropositionBo bo)Converts a mutable bo to it's immutable counterpart | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PropositionBo()
| Method Detail | 
|---|
public String getParameterDisplayString()
public void setParameterDisplayString(String parameterDisplayString)
parameterDisplayString - the parameterDisplayString to setpublic boolean getEditMode()
public void setEditMode(boolean editMode)
public String getCategoryId()
public void setCategoryId(String categoryId)
public void setTypeId(String typeId)
typeId - public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public Map<String,String> getTermParameters()
public void setTermParameters(Map<String,String> termParameters)
public DataObjectService getDataObjectService()
public static PropositionDefinition to(PropositionBo bo)
bo - the mutable business object
public static PropositionBo from(PropositionDefinition im)
im - immutable object
public static PropositionBo createSimplePropositionBoStub(PropositionBo sibling,
                                                          String pType)
sibling - -pType - 
public static PropositionBo createCompoundPropositionBoStub(PropositionBo existing,
                                                            boolean addNewChild)
public static PropositionBo createCompoundPropositionBoStub2(PropositionBo existing)
public static PropositionBo copyProposition(PropositionBo existing)
public String getTermSpecId()
public void setTermSpecId(String componentId)
public boolean isShowCustomValue()
public void setShowCustomValue(boolean showCustomValue)
public String getTermParameter()
public void setTermParameter(String termParameter)
public List<TermParameter> getTermParameterList()
public void setTermParameterList(List<TermParameter> termParameterList)
public String getId()
Identifiable
getId in interface Identifiablepublic void setId(String id)
public String getDescription()
PropositionDefinitionContract
getDescription in interface PropositionDefinitionContractpublic void setDescription(String description)
public String getRuleId()
PropositionDefinitionContract
getRuleId in interface PropositionDefinitionContractpublic void setRuleId(String ruleId)
public String getTypeId()
PropositionDefinitionContract
getTypeId in interface PropositionDefinitionContractpublic 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 propositionTypeCode)
public List<PropositionParameterBo> getParameters()
PropositionDefinitionContractCompound Propositions will have an empty parameter list.
getParameters in interface PropositionDefinitionContractPropositionParameterpublic void setParameters(List<PropositionParameterBo> parameters)
public String getCompoundOpCode()
PropositionDefinitionContract
getCompoundOpCode in interface PropositionDefinitionContractpublic void setCompoundOpCode(String compoundOpCode)
public Integer getCompoundSequenceNumber()
PropositionDefinitionContract
getCompoundSequenceNumber in interface PropositionDefinitionContractpublic void setCompoundSequenceNumber(Integer compoundSequenceNumber)
public List<PropositionBo> getCompoundComponents()
PropositionDefinitionContract
getCompoundComponents in interface PropositionDefinitionContractpublic void setCompoundComponents(List<PropositionBo> compoundComponents)
public boolean getShowCustomValue()
public String getNewTermDescription()
public void setNewTermDescription(String newTermDescription)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||