|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.api.repository.agenda.AgendaTreeRuleEntry.Builder
public static class AgendaTreeRuleEntry.Builder
This builder is used to construct instances of AgendaTreeRuleEntry.
It enforces the constraints of the AgendaTreeEntryDefinitionContract
.
Method Summary | |
---|---|
AgendaTreeRuleEntry |
build()
Build the AgendaTreeRuleEntry with the builders values |
static AgendaTreeRuleEntry.Builder |
create(String agendaItemId,
String ruleId)
Create a builder using the given values |
String |
getAgendaItemId()
Returns the agendaItemId |
AgendaTreeDefinition.Builder |
getIfFalse()
Returns the AgendaTreeDefinition.Builder for ifFalse. |
AgendaTreeDefinition.Builder |
getIfTrue()
Returns the AgendaTreeDefinition.Builder for ifTrue. |
String |
getRuleId()
Returns the rule id. |
void |
setAgendaItemId(String agendaItemId)
Sets the agendaItemId, cannot be null or blank. |
void |
setIfFalse(AgendaTreeDefinition.Builder ifFalse)
Set the ifFalse AgendaTreeDefinition.Builder |
void |
setIfTrue(AgendaTreeDefinition.Builder ifTrue)
Set the ifTrue AgendaTreeDefinition.Builder |
void |
setRuleId(String ruleId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectComplete |
---|
equals, hashCode |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Method Detail |
---|
public static AgendaTreeRuleEntry.Builder create(String agendaItemId, String ruleId)
agendaItemId
- the agendaItemId value to set, must not be null or blankruleId
- the propId value to set, must not be null or blank
public String getAgendaItemId()
AgendaTreeEntryDefinitionContract
getAgendaItemId
in interface AgendaTreeEntryDefinitionContract
public String getRuleId()
public AgendaTreeDefinition.Builder getIfTrue()
AgendaTreeDefinition.Builder
for ifTruepublic AgendaTreeDefinition.Builder getIfFalse()
AgendaTreeDefinition.Builder
for ifFalsepublic void setAgendaItemId(String agendaItemId)
agendaItemId
- the agendaItemId value to set, must not be null or blank
IllegalArgumentException
- if agendaItemId is null or blank.public void setRuleId(String ruleId)
ruleId
- the propId value to set, must not be null or blank
IllegalArgumentException
- if ruleId is null or blank.public void setIfTrue(AgendaTreeDefinition.Builder ifTrue)
AgendaTreeDefinition.Builder
ifTrue
- AgendaTreeDefinition.Builder
for ifTruepublic void setIfFalse(AgendaTreeDefinition.Builder ifFalse)
AgendaTreeDefinition.Builder
ifFalse
- AgendaTreeDefinition.Builder
for ifFalsepublic AgendaTreeRuleEntry build()
AgendaTreeRuleEntry
with the builders values
AgendaTreeRuleEntry
with the builders values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |