Class AgendaTreeDefinition.Builder
java.lang.Object
org.kuali.rice.krms.api.repository.agenda.AgendaTreeDefinition.Builder
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.ModelBuilder
- Enclosing class:
AgendaTreeDefinition
public static class AgendaTreeDefinition.Builder
extends Object
implements org.kuali.rice.core.api.mo.ModelBuilder, Serializable
This builder is used to construct instances of AgendaTreeDefinition.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRuleEntry(AgendaTreeRuleEntry ruleEntry) Adds the givenAgendaTreeRuleEntryto the entries.voidaddSubAgendaEntry(AgendaTreeSubAgendaEntry subAgendaEntry) Adds the givenAgendaTreeSubAgendaEntryto the entries.build()static AgendaTreeDefinition.Buildercreate()Create a new BuilderReturns the agendaIdReturns the list ofAgendaTreeEntryDefinitionContracts entriesvoidsetAgendaId(String agendaId) Sets the agendaId to the given parameter
-
Method Details
-
create
Create a new Builder- Returns:
- a new Builder
-
setAgendaId
Sets the agendaId to the given parameter- Parameters:
agendaId- to set the apendaId value to, must not be null or blank
-
addRuleEntry
Adds the givenAgendaTreeRuleEntryto the entries.- Parameters:
ruleEntry-AgendaTreeRuleEntryto be added to the entries, must not be null
-
addSubAgendaEntry
Adds the givenAgendaTreeSubAgendaEntryto the entries.- Parameters:
subAgendaEntry-AgendaTreeSubAgendaEntryto add to the entries, must not be null
-
getAgendaId
Returns the agendaId- Returns:
- agendaId
-
getEntries
Returns the list ofAgendaTreeEntryDefinitionContracts entries- Returns:
- Listinvalid input: '<'
AgendaTreeEntryDefinitionContract> of entries
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-