Class LoanStatusEnumDataV1.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanStatusEnumDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanStatusEnumDataV1>
org.apache.fineract.avro.loan.v1.LoanStatusEnumDataV1.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanStatusEnumDataV1>
Enclosing class:
LoanStatusEnumDataV1

public static class LoanStatusEnumDataV1.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanStatusEnumDataV1> implements org.apache.avro.data.RecordBuilder<LoanStatusEnumDataV1>
RecordBuilder for LoanStatusEnumDataV1 instances.
  • Method Details

    • getId

      public Integer getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • setId

      public LoanStatusEnumDataV1.Builder setId(Integer value)
      Sets the value of the 'id' field.
      Parameters:
      value - The value of 'id'.
      Returns:
      This builder.
    • hasId

      public boolean hasId()
      Checks whether the 'id' field has been set.
      Returns:
      True if the 'id' field has been set, false otherwise.
    • clearId

      public LoanStatusEnumDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getCode

      public String getCode()
      Gets the value of the 'code' field.
      Returns:
      The value.
    • setCode

      public LoanStatusEnumDataV1.Builder setCode(String value)
      Sets the value of the 'code' field.
      Parameters:
      value - The value of 'code'.
      Returns:
      This builder.
    • hasCode

      public boolean hasCode()
      Checks whether the 'code' field has been set.
      Returns:
      True if the 'code' field has been set, false otherwise.
    • clearCode

      public LoanStatusEnumDataV1.Builder clearCode()
      Clears the value of the 'code' field.
      Returns:
      This builder.
    • getValue

      public String getValue()
      Gets the value of the 'value' field.
      Returns:
      The value.
    • setValue

      public LoanStatusEnumDataV1.Builder setValue(String value)
      Sets the value of the 'value' field.
      Parameters:
      value - The value of 'value'.
      Returns:
      This builder.
    • hasValue

      public boolean hasValue()
      Checks whether the 'value' field has been set.
      Returns:
      True if the 'value' field has been set, false otherwise.
    • clearValue

      public LoanStatusEnumDataV1.Builder clearValue()
      Clears the value of the 'value' field.
      Returns:
      This builder.
    • getPendingApproval

      public Boolean getPendingApproval()
      Gets the value of the 'pendingApproval' field.
      Returns:
      The value.
    • setPendingApproval

      public LoanStatusEnumDataV1.Builder setPendingApproval(Boolean value)
      Sets the value of the 'pendingApproval' field.
      Parameters:
      value - The value of 'pendingApproval'.
      Returns:
      This builder.
    • hasPendingApproval

      public boolean hasPendingApproval()
      Checks whether the 'pendingApproval' field has been set.
      Returns:
      True if the 'pendingApproval' field has been set, false otherwise.
    • clearPendingApproval

      public LoanStatusEnumDataV1.Builder clearPendingApproval()
      Clears the value of the 'pendingApproval' field.
      Returns:
      This builder.
    • getWaitingForDisbursal

      public Boolean getWaitingForDisbursal()
      Gets the value of the 'waitingForDisbursal' field.
      Returns:
      The value.
    • setWaitingForDisbursal

      public LoanStatusEnumDataV1.Builder setWaitingForDisbursal(Boolean value)
      Sets the value of the 'waitingForDisbursal' field.
      Parameters:
      value - The value of 'waitingForDisbursal'.
      Returns:
      This builder.
    • hasWaitingForDisbursal

      public boolean hasWaitingForDisbursal()
      Checks whether the 'waitingForDisbursal' field has been set.
      Returns:
      True if the 'waitingForDisbursal' field has been set, false otherwise.
    • clearWaitingForDisbursal

      public LoanStatusEnumDataV1.Builder clearWaitingForDisbursal()
      Clears the value of the 'waitingForDisbursal' field.
      Returns:
      This builder.
    • getActive

      public Boolean getActive()
      Gets the value of the 'active' field.
      Returns:
      The value.
    • setActive

      public LoanStatusEnumDataV1.Builder setActive(Boolean value)
      Sets the value of the 'active' field.
      Parameters:
      value - The value of 'active'.
      Returns:
      This builder.
    • hasActive

      public boolean hasActive()
      Checks whether the 'active' field has been set.
      Returns:
      True if the 'active' field has been set, false otherwise.
    • clearActive

      public LoanStatusEnumDataV1.Builder clearActive()
      Clears the value of the 'active' field.
      Returns:
      This builder.
    • getClosedObligationsMet

      public Boolean getClosedObligationsMet()
      Gets the value of the 'closedObligationsMet' field.
      Returns:
      The value.
    • setClosedObligationsMet

      public LoanStatusEnumDataV1.Builder setClosedObligationsMet(Boolean value)
      Sets the value of the 'closedObligationsMet' field.
      Parameters:
      value - The value of 'closedObligationsMet'.
      Returns:
      This builder.
    • hasClosedObligationsMet

      public boolean hasClosedObligationsMet()
      Checks whether the 'closedObligationsMet' field has been set.
      Returns:
      True if the 'closedObligationsMet' field has been set, false otherwise.
    • clearClosedObligationsMet

      public LoanStatusEnumDataV1.Builder clearClosedObligationsMet()
      Clears the value of the 'closedObligationsMet' field.
      Returns:
      This builder.
    • getClosedWrittenOff

      public Boolean getClosedWrittenOff()
      Gets the value of the 'closedWrittenOff' field.
      Returns:
      The value.
    • setClosedWrittenOff

      public LoanStatusEnumDataV1.Builder setClosedWrittenOff(Boolean value)
      Sets the value of the 'closedWrittenOff' field.
      Parameters:
      value - The value of 'closedWrittenOff'.
      Returns:
      This builder.
    • hasClosedWrittenOff

      public boolean hasClosedWrittenOff()
      Checks whether the 'closedWrittenOff' field has been set.
      Returns:
      True if the 'closedWrittenOff' field has been set, false otherwise.
    • clearClosedWrittenOff

      public LoanStatusEnumDataV1.Builder clearClosedWrittenOff()
      Clears the value of the 'closedWrittenOff' field.
      Returns:
      This builder.
    • getClosedRescheduled

      public Boolean getClosedRescheduled()
      Gets the value of the 'closedRescheduled' field.
      Returns:
      The value.
    • setClosedRescheduled

      public LoanStatusEnumDataV1.Builder setClosedRescheduled(Boolean value)
      Sets the value of the 'closedRescheduled' field.
      Parameters:
      value - The value of 'closedRescheduled'.
      Returns:
      This builder.
    • hasClosedRescheduled

      public boolean hasClosedRescheduled()
      Checks whether the 'closedRescheduled' field has been set.
      Returns:
      True if the 'closedRescheduled' field has been set, false otherwise.
    • clearClosedRescheduled

      public LoanStatusEnumDataV1.Builder clearClosedRescheduled()
      Clears the value of the 'closedRescheduled' field.
      Returns:
      This builder.
    • getClosed

      public Boolean getClosed()
      Gets the value of the 'closed' field.
      Returns:
      The value.
    • setClosed

      public LoanStatusEnumDataV1.Builder setClosed(Boolean value)
      Sets the value of the 'closed' field.
      Parameters:
      value - The value of 'closed'.
      Returns:
      This builder.
    • hasClosed

      public boolean hasClosed()
      Checks whether the 'closed' field has been set.
      Returns:
      True if the 'closed' field has been set, false otherwise.
    • clearClosed

      public LoanStatusEnumDataV1.Builder clearClosed()
      Clears the value of the 'closed' field.
      Returns:
      This builder.
    • getOverpaid

      public Boolean getOverpaid()
      Gets the value of the 'overpaid' field.
      Returns:
      The value.
    • setOverpaid

      public LoanStatusEnumDataV1.Builder setOverpaid(Boolean value)
      Sets the value of the 'overpaid' field.
      Parameters:
      value - The value of 'overpaid'.
      Returns:
      This builder.
    • hasOverpaid

      public boolean hasOverpaid()
      Checks whether the 'overpaid' field has been set.
      Returns:
      True if the 'overpaid' field has been set, false otherwise.
    • clearOverpaid

      public LoanStatusEnumDataV1.Builder clearOverpaid()
      Clears the value of the 'overpaid' field.
      Returns:
      This builder.
    • build

      public LoanStatusEnumDataV1 build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<LoanStatusEnumDataV1>