Class LoanChargeDataRangeViewV1.Builder

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

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

    • getId

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

      public LoanChargeDataRangeViewV1.Builder setId(long 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

      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getName

      public String getName()
      Gets the value of the 'name' field.
      Returns:
      The value.
    • setName

      public LoanChargeDataRangeViewV1.Builder setName(String value)
      Sets the value of the 'name' field.
      Parameters:
      value - The value of 'name'.
      Returns:
      This builder.
    • hasName

      public boolean hasName()
      Checks whether the 'name' field has been set.
      Returns:
      True if the 'name' field has been set, false otherwise.
    • clearName

      Clears the value of the 'name' field.
      Returns:
      This builder.
    • getCurrency

      public CurrencyDataV1 getCurrency()
      Gets the value of the 'currency' field.
      Returns:
      The value.
    • setCurrency

      Sets the value of the 'currency' field.
      Parameters:
      value - The value of 'currency'.
      Returns:
      This builder.
    • hasCurrency

      public boolean hasCurrency()
      Checks whether the 'currency' field has been set.
      Returns:
      True if the 'currency' field has been set, false otherwise.
    • getCurrencyBuilder

      public CurrencyDataV1.Builder getCurrencyBuilder()
      Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setCurrencyBuilder

      public LoanChargeDataRangeViewV1.Builder setCurrencyBuilder(CurrencyDataV1.Builder value)
      Sets the Builder instance for the 'currency' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasCurrencyBuilder

      public boolean hasCurrencyBuilder()
      Checks whether the 'currency' field has an active Builder instance
      Returns:
      True if the 'currency' field has an active Builder instance
    • clearCurrency

      public LoanChargeDataRangeViewV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getAmount

      public BigDecimal getAmount()
      Gets the value of the 'amount' field.
      Returns:
      The value.
    • setAmount

      Sets the value of the 'amount' field.
      Parameters:
      value - The value of 'amount'.
      Returns:
      This builder.
    • hasAmount

      public boolean hasAmount()
      Checks whether the 'amount' field has been set.
      Returns:
      True if the 'amount' field has been set, false otherwise.
    • clearAmount

      public LoanChargeDataRangeViewV1.Builder clearAmount()
      Clears the value of the 'amount' field.
      Returns:
      This builder.
    • build

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