Class AgendaTreeSubAgendaEntry.Builder

java.lang.Object
org.kuali.rice.krms.api.repository.agenda.AgendaTreeSubAgendaEntry.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.ModelBuilder
Enclosing class:
AgendaTreeSubAgendaEntry

public static class AgendaTreeSubAgendaEntry.Builder extends Object implements org.kuali.rice.core.api.mo.ModelBuilder, Serializable
This builder is used to construct instances of AgendaTreeSubAgendaEntry.
See Also:
  • Method Details

    • create

      public static AgendaTreeSubAgendaEntry.Builder create(String agendaItemId, String subAgendaId)
      Create a builder using the given values
      Parameters:
      agendaItemId - to set the agendaItemId value to, must not be null
      subAgendaId - to set the subAgendaId value to, must not be null
      Returns:
      Builder with the given values set
    • getAgendaItemId

      public String getAgendaItemId()
      Returns the agendaItemId
      Returns:
      the agendaItemId of the builder
    • getSubAgendaId

      public String getSubAgendaId()
      Returns the subAgendaId
      Returns:
      the subAgendaId of the builder
    • setAgendaItemId

      public void setAgendaItemId(String agendaItemId)
      Sets the agendaItemId of the builder, cannot be null
      Parameters:
      agendaItemId - to set the value of the agendaItemId to, must not be null
      Throws:
      IllegalArgumentException - if the agendaItemId is null
    • setSubAgendaId

      public void setSubAgendaId(String subAgendaId)
      Sets the subAgendaId of the builder, cannot be null
      Parameters:
      subAgendaId - to set the subAgendaId value to, must not be null
      Throws:
      IllegalArgumentException - if the subAgendaId is null
    • build

      public AgendaTreeSubAgendaEntry build()
      Specified by:
      build in interface org.kuali.rice.core.api.mo.ModelBuilder