|
||||||||||
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.AgendaTreeDefinition.Builder
public static class AgendaTreeDefinition.Builder
This builder is used to construct instances of AgendaTreeDefinition.
Method Summary | |
---|---|
void |
addRuleEntry(AgendaTreeRuleEntry ruleEntry)
Adds the given AgendaTreeRuleEntry to the entries. |
void |
addSubAgendaEntry(AgendaTreeSubAgendaEntry subAgendaEntry)
Adds the given AgendaTreeSubAgendaEntry to the entries. |
AgendaTreeDefinition |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static AgendaTreeDefinition.Builder |
create()
Create a new Builder |
String |
getAgendaId()
Returns the agendaId |
List<AgendaTreeEntryDefinitionContract> |
getEntries()
Returns the list of AgendaTreeEntryDefinitionContract s entries |
void |
setAgendaId(String agendaId)
Sets the agendaId to the given parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AgendaTreeDefinition.Builder create()
public void setAgendaId(String agendaId)
agendaId
- to set the apendaId value to, must not be null or blankpublic void addRuleEntry(AgendaTreeRuleEntry ruleEntry)
AgendaTreeRuleEntry
to the entries.
ruleEntry
- AgendaTreeRuleEntry
to be added to the entries, must not be nullpublic void addSubAgendaEntry(AgendaTreeSubAgendaEntry subAgendaEntry)
AgendaTreeSubAgendaEntry
to the entries.
subAgendaEntry
- AgendaTreeSubAgendaEntry
to add to the entries, must not be nullpublic String getAgendaId()
public List<AgendaTreeEntryDefinitionContract> getEntries()
AgendaTreeEntryDefinitionContract
s entries
AgendaTreeEntryDefinitionContract
> of entriespublic AgendaTreeDefinition build()
ModelBuilder
build
in interface ModelBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |