Package org.apache.fineract.avro.loan.v1
Class LoanRepaymentDueDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanRepaymentDueDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanRepaymentDueDataV1>
org.apache.fineract.avro.loan.v1.LoanRepaymentDueDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanRepaymentDueDataV1>
- Enclosing class:
LoanRepaymentDueDataV1
public static class LoanRepaymentDueDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanRepaymentDueDataV1>
implements org.apache.avro.data.RecordBuilder<LoanRepaymentDueDataV1>
RecordBuilder for LoanRepaymentDueDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'currency' field.Clears the value of the 'customData' field.Clears the value of the 'installment' field.Clears the value of the 'loanAccountNo' field.Clears the value of the 'loanExternalId' field.Clears the value of the 'loanId' field.Clears the value of the 'pastDueAmount' field.Gets the value of the 'currency' field.Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.Gets the value of the 'customData' field.Gets the value of the 'installment' field.Gets the value of the 'loanAccountNo' field.Gets the value of the 'loanExternalId' field.Gets the value of the 'loanId' field.Gets the value of the 'pastDueAmount' field.Gets the Builder instance for the 'pastDueAmount' field and creates one if it doesn't exist yet.booleanChecks whether the 'currency' field has been set.booleanChecks whether the 'currency' field has an active Builder instancebooleanChecks whether the 'customData' field has been set.booleanChecks whether the 'installment' field has been set.booleanChecks whether the 'loanAccountNo' field has been set.booleanChecks whether the 'loanExternalId' field has been set.booleanChecks whether the 'loanId' field has been set.booleanChecks whether the 'pastDueAmount' field has been set.booleanChecks whether the 'pastDueAmount' field has an active Builder instancesetCurrency(CurrencyDataV1 value) Sets the value of the 'currency' field.Sets the Builder instance for the 'currency' fieldsetCustomData(Map<String, ByteBuffer> value) Sets the value of the 'customData' field.setInstallment(Object value) Sets the value of the 'installment' field.setLoanAccountNo(Object value) Sets the value of the 'loanAccountNo' field.setLoanExternalId(String value) Sets the value of the 'loanExternalId' field.Sets the value of the 'loanId' field.Sets the value of the 'pastDueAmount' field.Sets the Builder instance for the 'pastDueAmount' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getLoanId
Gets the value of the 'loanId' field.- Returns:
- The value.
-
setLoanId
Sets the value of the 'loanId' field.- Parameters:
value- The value of 'loanId'.- Returns:
- This builder.
-
hasLoanId
public boolean hasLoanId()Checks whether the 'loanId' field has been set.- Returns:
- True if the 'loanId' field has been set, false otherwise.
-
clearLoanId
Clears the value of the 'loanId' field.- Returns:
- This builder.
-
getLoanAccountNo
Gets the value of the 'loanAccountNo' field.- Returns:
- The value.
-
setLoanAccountNo
Sets the value of the 'loanAccountNo' field.- Parameters:
value- The value of 'loanAccountNo'.- Returns:
- This builder.
-
hasLoanAccountNo
public boolean hasLoanAccountNo()Checks whether the 'loanAccountNo' field has been set.- Returns:
- True if the 'loanAccountNo' field has been set, false otherwise.
-
clearLoanAccountNo
Clears the value of the 'loanAccountNo' field.- Returns:
- This builder.
-
getLoanExternalId
Gets the value of the 'loanExternalId' field.- Returns:
- The value.
-
setLoanExternalId
Sets the value of the 'loanExternalId' field.- Parameters:
value- The value of 'loanExternalId'.- Returns:
- This builder.
-
hasLoanExternalId
public boolean hasLoanExternalId()Checks whether the 'loanExternalId' field has been set.- Returns:
- True if the 'loanExternalId' field has been set, false otherwise.
-
clearLoanExternalId
Clears the value of the 'loanExternalId' field.- Returns:
- This builder.
-
getCurrency
Gets the value of the 'currency' field.- Returns:
- The value.
-
setCurrency
Sets the value of the 'currency' field.- Parameters:
value- The value of 'currency'.- Returns:
- This builder.
-
hasCurrency
public boolean hasCurrency()Checks whether the 'currency' field has been set.- Returns:
- True if the 'currency' field has been set, false otherwise.
-
getCurrencyBuilder
Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setCurrencyBuilder
Sets the Builder instance for the 'currency' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasCurrencyBuilder
public boolean hasCurrencyBuilder()Checks whether the 'currency' field has an active Builder instance- Returns:
- True if the 'currency' field has an active Builder instance
-
clearCurrency
Clears the value of the 'currency' field.- Returns:
- This builder.
-
getInstallment
Gets the value of the 'installment' field.- Returns:
- The value.
-
setInstallment
Sets the value of the 'installment' field.- Parameters:
value- The value of 'installment'.- Returns:
- This builder.
-
hasInstallment
public boolean hasInstallment()Checks whether the 'installment' field has been set.- Returns:
- True if the 'installment' field has been set, false otherwise.
-
clearInstallment
Clears the value of the 'installment' field.- Returns:
- This builder.
-
getPastDueAmount
Gets the value of the 'pastDueAmount' field.- Returns:
- The value.
-
setPastDueAmount
Sets the value of the 'pastDueAmount' field.- Parameters:
value- The value of 'pastDueAmount'.- Returns:
- This builder.
-
hasPastDueAmount
public boolean hasPastDueAmount()Checks whether the 'pastDueAmount' field has been set.- Returns:
- True if the 'pastDueAmount' field has been set, false otherwise.
-
getPastDueAmountBuilder
Gets the Builder instance for the 'pastDueAmount' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setPastDueAmountBuilder
Sets the Builder instance for the 'pastDueAmount' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasPastDueAmountBuilder
public boolean hasPastDueAmountBuilder()Checks whether the 'pastDueAmount' field has an active Builder instance- Returns:
- True if the 'pastDueAmount' field has an active Builder instance
-
clearPastDueAmount
Clears the value of the 'pastDueAmount' field.- Returns:
- This builder.
-
getCustomData
Gets the value of the 'customData' field.- Returns:
- The value.
-
setCustomData
Sets the value of the 'customData' field.- Parameters:
value- The value of 'customData'.- Returns:
- This builder.
-
hasCustomData
public boolean hasCustomData()Checks whether the 'customData' field has been set.- Returns:
- True if the 'customData' field has been set, false otherwise.
-
clearCustomData
Clears the value of the 'customData' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanRepaymentDueDataV1>
-