Package org.apache.fineract.avro.loan.v1
Class LoanInstallmentChargeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanInstallmentChargeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanInstallmentChargeDataV1>
org.apache.fineract.avro.loan.v1.LoanInstallmentChargeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanInstallmentChargeDataV1>
- Enclosing class:
LoanInstallmentChargeDataV1
public static class LoanInstallmentChargeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanInstallmentChargeDataV1>
implements org.apache.avro.data.RecordBuilder<LoanInstallmentChargeDataV1>
RecordBuilder for LoanInstallmentChargeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'amount' field.Clears the value of the 'amountAccrued' field.Clears the value of the 'amountOutstanding' field.Clears the value of the 'amountUnrecognized' field.Clears the value of the 'amountWaived' field.Clears the value of the 'dueDate' field.Clears the value of the 'installmentNumber' field.Clears the value of the 'paid' field.Clears the value of the 'waived' field.Gets the value of the 'amount' field.Gets the value of the 'amountAccrued' field.Gets the value of the 'amountOutstanding' field.Gets the value of the 'amountUnrecognized' field.Gets the value of the 'amountWaived' field.Gets the value of the 'dueDate' field.Gets the value of the 'installmentNumber' field.getPaid()Gets the value of the 'paid' field.Gets the value of the 'waived' field.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'amountAccrued' field has been set.booleanChecks whether the 'amountOutstanding' field has been set.booleanChecks whether the 'amountUnrecognized' field has been set.booleanChecks whether the 'amountWaived' field has been set.booleanChecks whether the 'dueDate' field has been set.booleanChecks whether the 'installmentNumber' field has been set.booleanhasPaid()Checks whether the 'paid' field has been set.booleanChecks whether the 'waived' field has been set.setAmount(BigDecimal value) Sets the value of the 'amount' field.setAmountAccrued(BigDecimal value) Sets the value of the 'amountAccrued' field.setAmountOutstanding(BigDecimal value) Sets the value of the 'amountOutstanding' field.setAmountUnrecognized(BigDecimal value) Sets the value of the 'amountUnrecognized' field.setAmountWaived(BigDecimal value) Sets the value of the 'amountWaived' field.setDueDate(String value) Sets the value of the 'dueDate' field.setInstallmentNumber(Integer value) Sets the value of the 'installmentNumber' field.Sets the value of the 'paid' field.Sets the value of the 'waived' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getInstallmentNumber
Gets the value of the 'installmentNumber' field.- Returns:
- The value.
-
setInstallmentNumber
Sets the value of the 'installmentNumber' field.- Parameters:
value- The value of 'installmentNumber'.- Returns:
- This builder.
-
hasInstallmentNumber
public boolean hasInstallmentNumber()Checks whether the 'installmentNumber' field has been set.- Returns:
- True if the 'installmentNumber' field has been set, false otherwise.
-
clearInstallmentNumber
Clears the value of the 'installmentNumber' field.- Returns:
- This builder.
-
getDueDate
Gets the value of the 'dueDate' field.- Returns:
- The value.
-
setDueDate
Sets the value of the 'dueDate' field.- Parameters:
value- The value of 'dueDate'.- Returns:
- This builder.
-
hasDueDate
public boolean hasDueDate()Checks whether the 'dueDate' field has been set.- Returns:
- True if the 'dueDate' field has been set, false otherwise.
-
clearDueDate
Clears the value of the 'dueDate' field.- Returns:
- This builder.
-
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
Clears the value of the 'amount' field.- Returns:
- This builder.
-
getAmountOutstanding
Gets the value of the 'amountOutstanding' field.- Returns:
- The value.
-
setAmountOutstanding
Sets the value of the 'amountOutstanding' field.- Parameters:
value- The value of 'amountOutstanding'.- Returns:
- This builder.
-
hasAmountOutstanding
public boolean hasAmountOutstanding()Checks whether the 'amountOutstanding' field has been set.- Returns:
- True if the 'amountOutstanding' field has been set, false otherwise.
-
clearAmountOutstanding
Clears the value of the 'amountOutstanding' field.- Returns:
- This builder.
-
getAmountWaived
Gets the value of the 'amountWaived' field.- Returns:
- The value.
-
setAmountWaived
Sets the value of the 'amountWaived' field.- Parameters:
value- The value of 'amountWaived'.- Returns:
- This builder.
-
hasAmountWaived
public boolean hasAmountWaived()Checks whether the 'amountWaived' field has been set.- Returns:
- True if the 'amountWaived' field has been set, false otherwise.
-
clearAmountWaived
Clears the value of the 'amountWaived' field.- Returns:
- This builder.
-
getPaid
Gets the value of the 'paid' field.- Returns:
- The value.
-
setPaid
Sets the value of the 'paid' field.- Parameters:
value- The value of 'paid'.- Returns:
- This builder.
-
hasPaid
public boolean hasPaid()Checks whether the 'paid' field has been set.- Returns:
- True if the 'paid' field has been set, false otherwise.
-
clearPaid
Clears the value of the 'paid' field.- Returns:
- This builder.
-
getWaived
Gets the value of the 'waived' field.- Returns:
- The value.
-
setWaived
Sets the value of the 'waived' field.- Parameters:
value- The value of 'waived'.- Returns:
- This builder.
-
hasWaived
public boolean hasWaived()Checks whether the 'waived' field has been set.- Returns:
- True if the 'waived' field has been set, false otherwise.
-
clearWaived
Clears the value of the 'waived' field.- Returns:
- This builder.
-
getAmountAccrued
Gets the value of the 'amountAccrued' field.- Returns:
- The value.
-
setAmountAccrued
Sets the value of the 'amountAccrued' field.- Parameters:
value- The value of 'amountAccrued'.- Returns:
- This builder.
-
hasAmountAccrued
public boolean hasAmountAccrued()Checks whether the 'amountAccrued' field has been set.- Returns:
- True if the 'amountAccrued' field has been set, false otherwise.
-
clearAmountAccrued
Clears the value of the 'amountAccrued' field.- Returns:
- This builder.
-
getAmountUnrecognized
Gets the value of the 'amountUnrecognized' field.- Returns:
- The value.
-
setAmountUnrecognized
Sets the value of the 'amountUnrecognized' field.- Parameters:
value- The value of 'amountUnrecognized'.- Returns:
- This builder.
-
hasAmountUnrecognized
public boolean hasAmountUnrecognized()Checks whether the 'amountUnrecognized' field has been set.- Returns:
- True if the 'amountUnrecognized' field has been set, false otherwise.
-
clearAmountUnrecognized
Clears the value of the 'amountUnrecognized' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanInstallmentChargeDataV1>
-