Class LoanTermVariationsDataV1.Builder

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

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

    • getId

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

      public LoanTermVariationsDataV1.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.
    • getTermType

      public EnumOptionDataV1 getTermType()
      Gets the value of the 'termType' field.
      Returns:
      The value.
    • setTermType

      Sets the value of the 'termType' field.
      Parameters:
      value - The value of 'termType'.
      Returns:
      This builder.
    • hasTermType

      public boolean hasTermType()
      Checks whether the 'termType' field has been set.
      Returns:
      True if the 'termType' field has been set, false otherwise.
    • getTermTypeBuilder

      public EnumOptionDataV1.Builder getTermTypeBuilder()
      Gets the Builder instance for the 'termType' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTermTypeBuilder

      Sets the Builder instance for the 'termType' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasTermTypeBuilder

      public boolean hasTermTypeBuilder()
      Checks whether the 'termType' field has an active Builder instance
      Returns:
      True if the 'termType' field has an active Builder instance
    • clearTermType

      public LoanTermVariationsDataV1.Builder clearTermType()
      Clears the value of the 'termType' field.
      Returns:
      This builder.
    • getTermVariationApplicableFrom

      public String getTermVariationApplicableFrom()
      Gets the value of the 'termVariationApplicableFrom' field.
      Returns:
      The value.
    • setTermVariationApplicableFrom

      public LoanTermVariationsDataV1.Builder setTermVariationApplicableFrom(String value)
      Sets the value of the 'termVariationApplicableFrom' field.
      Parameters:
      value - The value of 'termVariationApplicableFrom'.
      Returns:
      This builder.
    • hasTermVariationApplicableFrom

      public boolean hasTermVariationApplicableFrom()
      Checks whether the 'termVariationApplicableFrom' field has been set.
      Returns:
      True if the 'termVariationApplicableFrom' field has been set, false otherwise.
    • clearTermVariationApplicableFrom

      public LoanTermVariationsDataV1.Builder clearTermVariationApplicableFrom()
      Clears the value of the 'termVariationApplicableFrom' field.
      Returns:
      This builder.
    • getDecimalValue

      public BigDecimal getDecimalValue()
      Gets the value of the 'decimalValue' field.
      Returns:
      The value.
    • setDecimalValue

      public LoanTermVariationsDataV1.Builder setDecimalValue(BigDecimal value)
      Sets the value of the 'decimalValue' field.
      Parameters:
      value - The value of 'decimalValue'.
      Returns:
      This builder.
    • hasDecimalValue

      public boolean hasDecimalValue()
      Checks whether the 'decimalValue' field has been set.
      Returns:
      True if the 'decimalValue' field has been set, false otherwise.
    • clearDecimalValue

      public LoanTermVariationsDataV1.Builder clearDecimalValue()
      Clears the value of the 'decimalValue' field.
      Returns:
      This builder.
    • getDateValue

      public String getDateValue()
      Gets the value of the 'dateValue' field.
      Returns:
      The value.
    • setDateValue

      public LoanTermVariationsDataV1.Builder setDateValue(String value)
      Sets the value of the 'dateValue' field.
      Parameters:
      value - The value of 'dateValue'.
      Returns:
      This builder.
    • hasDateValue

      public boolean hasDateValue()
      Checks whether the 'dateValue' field has been set.
      Returns:
      True if the 'dateValue' field has been set, false otherwise.
    • clearDateValue

      public LoanTermVariationsDataV1.Builder clearDateValue()
      Clears the value of the 'dateValue' field.
      Returns:
      This builder.
    • getIsSpecificToInstallment

      public Boolean getIsSpecificToInstallment()
      Gets the value of the 'isSpecificToInstallment' field.
      Returns:
      The value.
    • setIsSpecificToInstallment

      public LoanTermVariationsDataV1.Builder setIsSpecificToInstallment(Boolean value)
      Sets the value of the 'isSpecificToInstallment' field.
      Parameters:
      value - The value of 'isSpecificToInstallment'.
      Returns:
      This builder.
    • hasIsSpecificToInstallment

      public boolean hasIsSpecificToInstallment()
      Checks whether the 'isSpecificToInstallment' field has been set.
      Returns:
      True if the 'isSpecificToInstallment' field has been set, false otherwise.
    • clearIsSpecificToInstallment

      public LoanTermVariationsDataV1.Builder clearIsSpecificToInstallment()
      Clears the value of the 'isSpecificToInstallment' field.
      Returns:
      This builder.
    • getIsProcessed

      public Boolean getIsProcessed()
      Gets the value of the 'isProcessed' field.
      Returns:
      The value.
    • setIsProcessed

      public LoanTermVariationsDataV1.Builder setIsProcessed(Boolean value)
      Sets the value of the 'isProcessed' field.
      Parameters:
      value - The value of 'isProcessed'.
      Returns:
      This builder.
    • hasIsProcessed

      public boolean hasIsProcessed()
      Checks whether the 'isProcessed' field has been set.
      Returns:
      True if the 'isProcessed' field has been set, false otherwise.
    • clearIsProcessed

      public LoanTermVariationsDataV1.Builder clearIsProcessed()
      Clears the value of the 'isProcessed' field.
      Returns:
      This builder.
    • build

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