Class LoanProductBorrowerCycleVariationDataV1.Builder

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

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

    • getId

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

      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.
    • getBorrowerCycleNumber

      public Integer getBorrowerCycleNumber()
      Gets the value of the 'borrowerCycleNumber' field.
      Returns:
      The value.
    • setBorrowerCycleNumber

      public LoanProductBorrowerCycleVariationDataV1.Builder setBorrowerCycleNumber(Integer value)
      Sets the value of the 'borrowerCycleNumber' field.
      Parameters:
      value - The value of 'borrowerCycleNumber'.
      Returns:
      This builder.
    • hasBorrowerCycleNumber

      public boolean hasBorrowerCycleNumber()
      Checks whether the 'borrowerCycleNumber' field has been set.
      Returns:
      True if the 'borrowerCycleNumber' field has been set, false otherwise.
    • clearBorrowerCycleNumber

      public LoanProductBorrowerCycleVariationDataV1.Builder clearBorrowerCycleNumber()
      Clears the value of the 'borrowerCycleNumber' field.
      Returns:
      This builder.
    • getParamType

      public EnumOptionDataV1 getParamType()
      Gets the value of the 'paramType' field.
      Returns:
      The value.
    • setParamType

      Sets the value of the 'paramType' field.
      Parameters:
      value - The value of 'paramType'.
      Returns:
      This builder.
    • hasParamType

      public boolean hasParamType()
      Checks whether the 'paramType' field has been set.
      Returns:
      True if the 'paramType' field has been set, false otherwise.
    • getParamTypeBuilder

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

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

      public boolean hasParamTypeBuilder()
      Checks whether the 'paramType' field has an active Builder instance
      Returns:
      True if the 'paramType' field has an active Builder instance
    • clearParamType

      Clears the value of the 'paramType' field.
      Returns:
      This builder.
    • getValueConditionType

      public EnumOptionDataV1 getValueConditionType()
      Gets the value of the 'valueConditionType' field.
      Returns:
      The value.
    • setValueConditionType

      Sets the value of the 'valueConditionType' field.
      Parameters:
      value - The value of 'valueConditionType'.
      Returns:
      This builder.
    • hasValueConditionType

      public boolean hasValueConditionType()
      Checks whether the 'valueConditionType' field has been set.
      Returns:
      True if the 'valueConditionType' field has been set, false otherwise.
    • getValueConditionTypeBuilder

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

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

      public boolean hasValueConditionTypeBuilder()
      Checks whether the 'valueConditionType' field has an active Builder instance
      Returns:
      True if the 'valueConditionType' field has an active Builder instance
    • clearValueConditionType

      public LoanProductBorrowerCycleVariationDataV1.Builder clearValueConditionType()
      Clears the value of the 'valueConditionType' field.
      Returns:
      This builder.
    • getMinValue

      public BigDecimal getMinValue()
      Gets the value of the 'minValue' field.
      Returns:
      The value.
    • setMinValue

      Sets the value of the 'minValue' field.
      Parameters:
      value - The value of 'minValue'.
      Returns:
      This builder.
    • hasMinValue

      public boolean hasMinValue()
      Checks whether the 'minValue' field has been set.
      Returns:
      True if the 'minValue' field has been set, false otherwise.
    • clearMinValue

      Clears the value of the 'minValue' field.
      Returns:
      This builder.
    • getMaxValue

      public BigDecimal getMaxValue()
      Gets the value of the 'maxValue' field.
      Returns:
      The value.
    • setMaxValue

      Sets the value of the 'maxValue' field.
      Parameters:
      value - The value of 'maxValue'.
      Returns:
      This builder.
    • hasMaxValue

      public boolean hasMaxValue()
      Checks whether the 'maxValue' field has been set.
      Returns:
      True if the 'maxValue' field has been set, false otherwise.
    • clearMaxValue

      Clears the value of the 'maxValue' field.
      Returns:
      This builder.
    • getDefaultValue

      public BigDecimal getDefaultValue()
      Gets the value of the 'defaultValue' field.
      Returns:
      The value.
    • setDefaultValue

      Sets the value of the 'defaultValue' field.
      Parameters:
      value - The value of 'defaultValue'.
      Returns:
      This builder.
    • hasDefaultValue

      public boolean hasDefaultValue()
      Checks whether the 'defaultValue' field has been set.
      Returns:
      True if the 'defaultValue' field has been set, false otherwise.
    • clearDefaultValue

      Clears the value of the 'defaultValue' field.
      Returns:
      This builder.
    • build

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<LoanProductBorrowerCycleVariationDataV1>