Package org.apache.fineract.avro.loan.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'dateValue' field.Clears the value of the 'decimalValue' field.clearId()Clears the value of the 'id' field.Clears the value of the 'isProcessed' field.Clears the value of the 'isSpecificToInstallment' field.Clears the value of the 'termType' field.Clears the value of the 'termVariationApplicableFrom' field.Gets the value of the 'dateValue' field.Gets the value of the 'decimalValue' field.getId()Gets the value of the 'id' field.Gets the value of the 'isProcessed' field.Gets the value of the 'isSpecificToInstallment' field.Gets the value of the 'termType' field.Gets the Builder instance for the 'termType' field and creates one if it doesn't exist yet.Gets the value of the 'termVariationApplicableFrom' field.booleanChecks whether the 'dateValue' field has been set.booleanChecks whether the 'decimalValue' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'isProcessed' field has been set.booleanChecks whether the 'isSpecificToInstallment' field has been set.booleanChecks whether the 'termType' field has been set.booleanChecks whether the 'termType' field has an active Builder instancebooleanChecks whether the 'termVariationApplicableFrom' field has been set.setDateValue(String value) Sets the value of the 'dateValue' field.setDecimalValue(BigDecimal value) Sets the value of the 'decimalValue' field.Sets the value of the 'id' field.setIsProcessed(Boolean value) Sets the value of the 'isProcessed' field.Sets the value of the 'isSpecificToInstallment' field.setTermType(EnumOptionDataV1 value) Sets the value of the 'termType' field.Sets the Builder instance for the 'termType' fieldSets the value of the 'termVariationApplicableFrom' field.Methods 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.
-
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
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
Clears the value of the 'termType' field.- Returns:
- This builder.
-
getTermVariationApplicableFrom
Gets the value of the 'termVariationApplicableFrom' field.- Returns:
- The value.
-
setTermVariationApplicableFrom
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
Clears the value of the 'termVariationApplicableFrom' field.- Returns:
- This builder.
-
getDecimalValue
Gets the value of the 'decimalValue' field.- Returns:
- The value.
-
setDecimalValue
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
Clears the value of the 'decimalValue' field.- Returns:
- This builder.
-
getDateValue
Gets the value of the 'dateValue' field.- Returns:
- The value.
-
setDateValue
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
Clears the value of the 'dateValue' field.- Returns:
- This builder.
-
getIsSpecificToInstallment
Gets the value of the 'isSpecificToInstallment' field.- Returns:
- The value.
-
setIsSpecificToInstallment
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
Clears the value of the 'isSpecificToInstallment' field.- Returns:
- This builder.
-
getIsProcessed
Gets the value of the 'isProcessed' field.- Returns:
- The value.
-
setIsProcessed
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
Clears the value of the 'isProcessed' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanTermVariationsDataV1>
-