Package org.apache.fineract.avro.loan.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'borrowerCycleNumber' field.Clears the value of the 'defaultValue' field.clearId()Clears the value of the 'id' field.Clears the value of the 'maxValue' field.Clears the value of the 'minValue' field.Clears the value of the 'paramType' field.Clears the value of the 'valueConditionType' field.Gets the value of the 'borrowerCycleNumber' field.Gets the value of the 'defaultValue' field.getId()Gets the value of the 'id' field.Gets the value of the 'maxValue' field.Gets the value of the 'minValue' field.Gets the value of the 'paramType' field.Gets the Builder instance for the 'paramType' field and creates one if it doesn't exist yet.Gets the value of the 'valueConditionType' field.Gets the Builder instance for the 'valueConditionType' field and creates one if it doesn't exist yet.booleanChecks whether the 'borrowerCycleNumber' field has been set.booleanChecks whether the 'defaultValue' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'maxValue' field has been set.booleanChecks whether the 'minValue' field has been set.booleanChecks whether the 'paramType' field has been set.booleanChecks whether the 'paramType' field has an active Builder instancebooleanChecks whether the 'valueConditionType' field has been set.booleanChecks whether the 'valueConditionType' field has an active Builder instancesetBorrowerCycleNumber(Integer value) Sets the value of the 'borrowerCycleNumber' field.setDefaultValue(BigDecimal value) Sets the value of the 'defaultValue' field.Sets the value of the 'id' field.setMaxValue(BigDecimal value) Sets the value of the 'maxValue' field.setMinValue(BigDecimal value) Sets the value of the 'minValue' field.setParamType(EnumOptionDataV1 value) Sets the value of the 'paramType' field.Sets the Builder instance for the 'paramType' fieldSets the value of the 'valueConditionType' field.Sets the Builder instance for the 'valueConditionType' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
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
Gets the value of the 'borrowerCycleNumber' field.- Returns:
- The value.
-
setBorrowerCycleNumber
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
Clears the value of the 'borrowerCycleNumber' field.- Returns:
- This builder.
-
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
Gets the Builder instance for the 'paramType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setParamTypeBuilder
public LoanProductBorrowerCycleVariationDataV1.Builder setParamTypeBuilder(EnumOptionDataV1.Builder value) 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
Gets the value of the 'valueConditionType' field.- Returns:
- The value.
-
setValueConditionType
public LoanProductBorrowerCycleVariationDataV1.Builder setValueConditionType(EnumOptionDataV1 value) 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
Gets the Builder instance for the 'valueConditionType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setValueConditionTypeBuilder
public LoanProductBorrowerCycleVariationDataV1.Builder setValueConditionTypeBuilder(EnumOptionDataV1.Builder value) 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
Clears the value of the 'valueConditionType' field.- Returns:
- This builder.
-
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
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
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:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanProductBorrowerCycleVariationDataV1>
-