Package org.apache.fineract.avro.loan.v1
Class LoanAccountDelinquencyRangeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanAccountDelinquencyRangeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanAccountDelinquencyRangeDataV1>
org.apache.fineract.avro.loan.v1.LoanAccountDelinquencyRangeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanAccountDelinquencyRangeDataV1>
- Enclosing class:
LoanAccountDelinquencyRangeDataV1
public static class LoanAccountDelinquencyRangeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanAccountDelinquencyRangeDataV1>
implements org.apache.avro.data.RecordBuilder<LoanAccountDelinquencyRangeDataV1>
RecordBuilder for LoanAccountDelinquencyRangeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'amount' field.Clears the value of the 'charges' field.Clears the value of the 'currency' field.Clears the value of the 'customData' field.Clears the value of the 'delinquencyRange' field.Clears the value of the 'delinquentDate' field.Clears the value of the 'installmentDelinquencyBuckets' field.Clears the value of the 'loanAccountNo' field.Clears the value of the 'loanExternalId' field.Clears the value of the 'loanId' field.Gets the value of the 'amount' field.Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet.Gets the value of the 'charges' 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 'delinquencyRange' field.Gets the Builder instance for the 'delinquencyRange' field and creates one if it doesn't exist yet.Gets the value of the 'delinquentDate' field.Gets the value of the 'installmentDelinquencyBuckets' field.Gets the value of the 'loanAccountNo' field.Gets the value of the 'loanExternalId' field.longGets the value of the 'loanId' field.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'amount' field has an active Builder instance Contains installments total, fee, interest, principal and penalty amount summariesbooleanChecks whether the 'charges' field has been set.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 'delinquencyRange' field has been set.booleanChecks whether the 'delinquencyRange' field has an active Builder instancebooleanChecks whether the 'delinquentDate' field has been set.booleanChecks whether the 'installmentDelinquencyBuckets' 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.setAmount(LoanAmountDataV1 value) Sets the value of the 'amount' field.Sets the Builder instance for the 'amount' field Contains installments total, fee, interest, principal and penalty amount summariessetCharges(List<LoanChargeDataRangeViewV1> value) Sets the value of the 'charges' field.setCurrency(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.Sets the value of the 'delinquencyRange' field.Sets the Builder instance for the 'delinquencyRange' fieldsetDelinquentDate(String value) Sets the value of the 'delinquentDate' field.Sets the value of the 'installmentDelinquencyBuckets' field.setLoanAccountNo(String value) Sets the value of the 'loanAccountNo' field.setLoanExternalId(String value) Sets the value of the 'loanExternalId' field.setLoanId(long value) Sets the value of the 'loanId' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getLoanId
public long 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.
-
getDelinquencyRange
Gets the value of the 'delinquencyRange' field.- Returns:
- The value.
-
setDelinquencyRange
Sets the value of the 'delinquencyRange' field.- Parameters:
value- The value of 'delinquencyRange'.- Returns:
- This builder.
-
hasDelinquencyRange
public boolean hasDelinquencyRange()Checks whether the 'delinquencyRange' field has been set.- Returns:
- True if the 'delinquencyRange' field has been set, false otherwise.
-
getDelinquencyRangeBuilder
Gets the Builder instance for the 'delinquencyRange' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setDelinquencyRangeBuilder
public LoanAccountDelinquencyRangeDataV1.Builder setDelinquencyRangeBuilder(DelinquencyRangeDataV1.Builder value) Sets the Builder instance for the 'delinquencyRange' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasDelinquencyRangeBuilder
public boolean hasDelinquencyRangeBuilder()Checks whether the 'delinquencyRange' field has an active Builder instance- Returns:
- True if the 'delinquencyRange' field has an active Builder instance
-
clearDelinquencyRange
Clears the value of the 'delinquencyRange' field.- Returns:
- This builder.
-
getCharges
Gets the value of the 'charges' field.- Returns:
- The value.
-
setCharges
Sets the value of the 'charges' field.- Parameters:
value- The value of 'charges'.- Returns:
- This builder.
-
hasCharges
public boolean hasCharges()Checks whether the 'charges' field has been set.- Returns:
- True if the 'charges' field has been set, false otherwise.
-
clearCharges
Clears the value of the 'charges' 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.
-
getAmount
Gets the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- The value.
-
setAmount
Sets the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries- Parameters:
value- The value of 'amount'.- Returns:
- This builder.
-
hasAmount
public boolean hasAmount()Checks whether the 'amount' field has been set. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- True if the 'amount' field has been set, false otherwise.
-
getAmountBuilder
Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- This builder.
-
setAmountBuilder
Sets the Builder instance for the 'amount' field Contains installments total, fee, interest, principal and penalty amount summaries- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasAmountBuilder
public boolean hasAmountBuilder()Checks whether the 'amount' field has an active Builder instance Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- True if the 'amount' field has an active Builder instance
-
clearAmount
Clears the value of the 'amount' field. Contains installments total, fee, interest, principal and penalty amount summaries- Returns:
- This builder.
-
getDelinquentDate
Gets the value of the 'delinquentDate' field.- Returns:
- The value.
-
setDelinquentDate
Sets the value of the 'delinquentDate' field.- Parameters:
value- The value of 'delinquentDate'.- Returns:
- This builder.
-
hasDelinquentDate
public boolean hasDelinquentDate()Checks whether the 'delinquentDate' field has been set.- Returns:
- True if the 'delinquentDate' field has been set, false otherwise.
-
clearDelinquentDate
Clears the value of the 'delinquentDate' field.- Returns:
- This builder.
-
getInstallmentDelinquencyBuckets
Gets the value of the 'installmentDelinquencyBuckets' field.- Returns:
- The value.
-
setInstallmentDelinquencyBuckets
public LoanAccountDelinquencyRangeDataV1.Builder setInstallmentDelinquencyBuckets(List<LoanInstallmentDelinquencyBucketDataV1> value) Sets the value of the 'installmentDelinquencyBuckets' field.- Parameters:
value- The value of 'installmentDelinquencyBuckets'.- Returns:
- This builder.
-
hasInstallmentDelinquencyBuckets
public boolean hasInstallmentDelinquencyBuckets()Checks whether the 'installmentDelinquencyBuckets' field has been set.- Returns:
- True if the 'installmentDelinquencyBuckets' field has been set, false otherwise.
-
clearInstallmentDelinquencyBuckets
Clears the value of the 'installmentDelinquencyBuckets' 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<LoanAccountDelinquencyRangeDataV1>
-