public static class AgendaTreeDefinition.Builder extends Object implements ModelBuilder, Serializable
| Modifier and Type | Method and Description |
|---|---|
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
AgendaTreeEntryDefinitionContracts entries |
void |
setAgendaId(String agendaId)
Sets the agendaId to the given parameter
|
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()
AgendaTreeEntryDefinitionContracts entriesAgendaTreeEntryDefinitionContract> of entriespublic AgendaTreeDefinition build()
ModelBuilderbuild in interface ModelBuilderCopyright © 2005–2015 The Kuali Foundation. All rights reserved.