Package org.apache.fineract.avro.loan.v1
Class LoanOwnershipTransferDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanOwnershipTransferDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanOwnershipTransferDataV1>
org.apache.fineract.avro.loan.v1.LoanOwnershipTransferDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanOwnershipTransferDataV1>
- Enclosing class:
LoanOwnershipTransferDataV1
public static class LoanOwnershipTransferDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanOwnershipTransferDataV1>
implements org.apache.avro.data.RecordBuilder<LoanOwnershipTransferDataV1>
RecordBuilder for LoanOwnershipTransferDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'assetOwnerExternalId' field.Clears the value of the 'currency' field.Clears the value of the 'customData' field.Clears the value of the 'loanExternalId' field.Clears the value of the 'loanId' field.Clears the value of the 'outstandingFeePortion' field.Clears the value of the 'outstandingInterestPortion' field.Clears the value of the 'outstandingPenaltyPortion' field.Clears the value of the 'outstandingPrincipalPortion' field.Clears the value of the 'overPaymentPortion' field.Clears the value of the 'purchasePriceRatio' field.Clears the value of the 'settlementDate' field.Clears the value of the 'submittedDate' field.Clears the value of the 'totalOutstandingBalanceAmount' field.Clears the value of the 'transferExternalGroupId' field.Clears the value of the 'transferExternalId' field.Clears the value of the 'transferStatus' field.Clears the value of the 'transferStatusReason' field.Clears the value of the 'type' field.Clears the value of the 'unpaidChargeData' field.Clears the value of the 'unrecognizedIncomePortion' field.Gets the value of the 'assetOwnerExternalId' 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 'loanExternalId' field.longGets the value of the 'loanId' field.Gets the value of the 'outstandingFeePortion' field.Gets the value of the 'outstandingInterestPortion' field.Gets the value of the 'outstandingPenaltyPortion' field.Gets the value of the 'outstandingPrincipalPortion' field.Gets the value of the 'overPaymentPortion' field.Gets the value of the 'purchasePriceRatio' field.Gets the value of the 'settlementDate' field.Gets the value of the 'submittedDate' field.Gets the value of the 'totalOutstandingBalanceAmount' field.Gets the value of the 'transferExternalGroupId' field.Gets the value of the 'transferExternalId' field.Gets the value of the 'transferStatus' field.Gets the value of the 'transferStatusReason' field.getType()Gets the value of the 'type' field.Gets the value of the 'unpaidChargeData' field.Gets the value of the 'unrecognizedIncomePortion' field.booleanChecks whether the 'assetOwnerExternalId' 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 'loanExternalId' field has been set.booleanChecks whether the 'loanId' field has been set.booleanChecks whether the 'outstandingFeePortion' field has been set.booleanChecks whether the 'outstandingInterestPortion' field has been set.booleanChecks whether the 'outstandingPenaltyPortion' field has been set.booleanChecks whether the 'outstandingPrincipalPortion' field has been set.booleanChecks whether the 'overPaymentPortion' field has been set.booleanChecks whether the 'purchasePriceRatio' field has been set.booleanChecks whether the 'settlementDate' field has been set.booleanChecks whether the 'submittedDate' field has been set.booleanChecks whether the 'totalOutstandingBalanceAmount' field has been set.booleanChecks whether the 'transferExternalGroupId' field has been set.booleanChecks whether the 'transferExternalId' field has been set.booleanChecks whether the 'transferStatus' field has been set.booleanChecks whether the 'transferStatusReason' field has been set.booleanhasType()Checks whether the 'type' field has been set.booleanChecks whether the 'unpaidChargeData' field has been set.booleanChecks whether the 'unrecognizedIncomePortion' field has been set.setAssetOwnerExternalId(String value) Sets the value of the 'assetOwnerExternalId' 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.setLoanExternalId(String value) Sets the value of the 'loanExternalId' field.setLoanId(long value) Sets the value of the 'loanId' field.Sets the value of the 'outstandingFeePortion' field.Sets the value of the 'outstandingInterestPortion' field.Sets the value of the 'outstandingPenaltyPortion' field.Sets the value of the 'outstandingPrincipalPortion' field.setOverPaymentPortion(BigDecimal value) Sets the value of the 'overPaymentPortion' field.setPurchasePriceRatio(String value) Sets the value of the 'purchasePriceRatio' field.setSettlementDate(String value) Sets the value of the 'settlementDate' field.setSubmittedDate(String value) Sets the value of the 'submittedDate' field.Sets the value of the 'totalOutstandingBalanceAmount' field.setTransferExternalGroupId(String value) Sets the value of the 'transferExternalGroupId' field.setTransferExternalId(String value) Sets the value of the 'transferExternalId' field.setTransferStatus(String value) Sets the value of the 'transferStatus' field.setTransferStatusReason(String value) Sets the value of the 'transferStatusReason' field.Sets the value of the 'type' field.Sets the value of the 'unpaidChargeData' field.Sets the value of the 'unrecognizedIncomePortion' 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.
-
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.
-
getType
Gets the value of the 'type' field.- Returns:
- The value.
-
setType
Sets the value of the 'type' field.- Parameters:
value- The value of 'type'.- Returns:
- This builder.
-
hasType
public boolean hasType()Checks whether the 'type' field has been set.- Returns:
- True if the 'type' field has been set, false otherwise.
-
clearType
Clears the value of the 'type' field.- Returns:
- This builder.
-
getTransferExternalId
Gets the value of the 'transferExternalId' field.- Returns:
- The value.
-
setTransferExternalId
Sets the value of the 'transferExternalId' field.- Parameters:
value- The value of 'transferExternalId'.- Returns:
- This builder.
-
hasTransferExternalId
public boolean hasTransferExternalId()Checks whether the 'transferExternalId' field has been set.- Returns:
- True if the 'transferExternalId' field has been set, false otherwise.
-
clearTransferExternalId
Clears the value of the 'transferExternalId' field.- Returns:
- This builder.
-
getTransferExternalGroupId
Gets the value of the 'transferExternalGroupId' field.- Returns:
- The value.
-
setTransferExternalGroupId
Sets the value of the 'transferExternalGroupId' field.- Parameters:
value- The value of 'transferExternalGroupId'.- Returns:
- This builder.
-
hasTransferExternalGroupId
public boolean hasTransferExternalGroupId()Checks whether the 'transferExternalGroupId' field has been set.- Returns:
- True if the 'transferExternalGroupId' field has been set, false otherwise.
-
clearTransferExternalGroupId
Clears the value of the 'transferExternalGroupId' field.- Returns:
- This builder.
-
getSubmittedDate
Gets the value of the 'submittedDate' field.- Returns:
- The value.
-
setSubmittedDate
Sets the value of the 'submittedDate' field.- Parameters:
value- The value of 'submittedDate'.- Returns:
- This builder.
-
hasSubmittedDate
public boolean hasSubmittedDate()Checks whether the 'submittedDate' field has been set.- Returns:
- True if the 'submittedDate' field has been set, false otherwise.
-
clearSubmittedDate
Clears the value of the 'submittedDate' field.- Returns:
- This builder.
-
getAssetOwnerExternalId
Gets the value of the 'assetOwnerExternalId' field.- Returns:
- The value.
-
setAssetOwnerExternalId
Sets the value of the 'assetOwnerExternalId' field.- Parameters:
value- The value of 'assetOwnerExternalId'.- Returns:
- This builder.
-
hasAssetOwnerExternalId
public boolean hasAssetOwnerExternalId()Checks whether the 'assetOwnerExternalId' field has been set.- Returns:
- True if the 'assetOwnerExternalId' field has been set, false otherwise.
-
clearAssetOwnerExternalId
Clears the value of the 'assetOwnerExternalId' 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.
-
getTotalOutstandingBalanceAmount
Gets the value of the 'totalOutstandingBalanceAmount' field.- Returns:
- The value.
-
setTotalOutstandingBalanceAmount
Sets the value of the 'totalOutstandingBalanceAmount' field.- Parameters:
value- The value of 'totalOutstandingBalanceAmount'.- Returns:
- This builder.
-
hasTotalOutstandingBalanceAmount
public boolean hasTotalOutstandingBalanceAmount()Checks whether the 'totalOutstandingBalanceAmount' field has been set.- Returns:
- True if the 'totalOutstandingBalanceAmount' field has been set, false otherwise.
-
clearTotalOutstandingBalanceAmount
Clears the value of the 'totalOutstandingBalanceAmount' field.- Returns:
- This builder.
-
getOutstandingPrincipalPortion
Gets the value of the 'outstandingPrincipalPortion' field.- Returns:
- The value.
-
setOutstandingPrincipalPortion
Sets the value of the 'outstandingPrincipalPortion' field.- Parameters:
value- The value of 'outstandingPrincipalPortion'.- Returns:
- This builder.
-
hasOutstandingPrincipalPortion
public boolean hasOutstandingPrincipalPortion()Checks whether the 'outstandingPrincipalPortion' field has been set.- Returns:
- True if the 'outstandingPrincipalPortion' field has been set, false otherwise.
-
clearOutstandingPrincipalPortion
Clears the value of the 'outstandingPrincipalPortion' field.- Returns:
- This builder.
-
getOutstandingFeePortion
Gets the value of the 'outstandingFeePortion' field.- Returns:
- The value.
-
setOutstandingFeePortion
Sets the value of the 'outstandingFeePortion' field.- Parameters:
value- The value of 'outstandingFeePortion'.- Returns:
- This builder.
-
hasOutstandingFeePortion
public boolean hasOutstandingFeePortion()Checks whether the 'outstandingFeePortion' field has been set.- Returns:
- True if the 'outstandingFeePortion' field has been set, false otherwise.
-
clearOutstandingFeePortion
Clears the value of the 'outstandingFeePortion' field.- Returns:
- This builder.
-
getOutstandingPenaltyPortion
Gets the value of the 'outstandingPenaltyPortion' field.- Returns:
- The value.
-
setOutstandingPenaltyPortion
Sets the value of the 'outstandingPenaltyPortion' field.- Parameters:
value- The value of 'outstandingPenaltyPortion'.- Returns:
- This builder.
-
hasOutstandingPenaltyPortion
public boolean hasOutstandingPenaltyPortion()Checks whether the 'outstandingPenaltyPortion' field has been set.- Returns:
- True if the 'outstandingPenaltyPortion' field has been set, false otherwise.
-
clearOutstandingPenaltyPortion
Clears the value of the 'outstandingPenaltyPortion' field.- Returns:
- This builder.
-
getOutstandingInterestPortion
Gets the value of the 'outstandingInterestPortion' field.- Returns:
- The value.
-
setOutstandingInterestPortion
Sets the value of the 'outstandingInterestPortion' field.- Parameters:
value- The value of 'outstandingInterestPortion'.- Returns:
- This builder.
-
hasOutstandingInterestPortion
public boolean hasOutstandingInterestPortion()Checks whether the 'outstandingInterestPortion' field has been set.- Returns:
- True if the 'outstandingInterestPortion' field has been set, false otherwise.
-
clearOutstandingInterestPortion
Clears the value of the 'outstandingInterestPortion' field.- Returns:
- This builder.
-
getOverPaymentPortion
Gets the value of the 'overPaymentPortion' field.- Returns:
- The value.
-
setOverPaymentPortion
Sets the value of the 'overPaymentPortion' field.- Parameters:
value- The value of 'overPaymentPortion'.- Returns:
- This builder.
-
hasOverPaymentPortion
public boolean hasOverPaymentPortion()Checks whether the 'overPaymentPortion' field has been set.- Returns:
- True if the 'overPaymentPortion' field has been set, false otherwise.
-
clearOverPaymentPortion
Clears the value of the 'overPaymentPortion' field.- Returns:
- This builder.
-
getUnrecognizedIncomePortion
Gets the value of the 'unrecognizedIncomePortion' field.- Returns:
- The value.
-
setUnrecognizedIncomePortion
Sets the value of the 'unrecognizedIncomePortion' field.- Parameters:
value- The value of 'unrecognizedIncomePortion'.- Returns:
- This builder.
-
hasUnrecognizedIncomePortion
public boolean hasUnrecognizedIncomePortion()Checks whether the 'unrecognizedIncomePortion' field has been set.- Returns:
- True if the 'unrecognizedIncomePortion' field has been set, false otherwise.
-
clearUnrecognizedIncomePortion
Clears the value of the 'unrecognizedIncomePortion' field.- Returns:
- This builder.
-
getUnpaidChargeData
Gets the value of the 'unpaidChargeData' field.- Returns:
- The value.
-
setUnpaidChargeData
Sets the value of the 'unpaidChargeData' field.- Parameters:
value- The value of 'unpaidChargeData'.- Returns:
- This builder.
-
hasUnpaidChargeData
public boolean hasUnpaidChargeData()Checks whether the 'unpaidChargeData' field has been set.- Returns:
- True if the 'unpaidChargeData' field has been set, false otherwise.
-
clearUnpaidChargeData
Clears the value of the 'unpaidChargeData' field.- Returns:
- This builder.
-
getTransferStatus
Gets the value of the 'transferStatus' field.- Returns:
- The value.
-
setTransferStatus
Sets the value of the 'transferStatus' field.- Parameters:
value- The value of 'transferStatus'.- Returns:
- This builder.
-
hasTransferStatus
public boolean hasTransferStatus()Checks whether the 'transferStatus' field has been set.- Returns:
- True if the 'transferStatus' field has been set, false otherwise.
-
clearTransferStatus
Clears the value of the 'transferStatus' field.- Returns:
- This builder.
-
getTransferStatusReason
Gets the value of the 'transferStatusReason' field.- Returns:
- The value.
-
setTransferStatusReason
Sets the value of the 'transferStatusReason' field.- Parameters:
value- The value of 'transferStatusReason'.- Returns:
- This builder.
-
hasTransferStatusReason
public boolean hasTransferStatusReason()Checks whether the 'transferStatusReason' field has been set.- Returns:
- True if the 'transferStatusReason' field has been set, false otherwise.
-
clearTransferStatusReason
Clears the value of the 'transferStatusReason' field.- Returns:
- This builder.
-
getSettlementDate
Gets the value of the 'settlementDate' field.- Returns:
- The value.
-
setSettlementDate
Sets the value of the 'settlementDate' field.- Parameters:
value- The value of 'settlementDate'.- Returns:
- This builder.
-
hasSettlementDate
public boolean hasSettlementDate()Checks whether the 'settlementDate' field has been set.- Returns:
- True if the 'settlementDate' field has been set, false otherwise.
-
clearSettlementDate
Clears the value of the 'settlementDate' field.- Returns:
- This builder.
-
getPurchasePriceRatio
Gets the value of the 'purchasePriceRatio' field.- Returns:
- The value.
-
setPurchasePriceRatio
Sets the value of the 'purchasePriceRatio' field.- Parameters:
value- The value of 'purchasePriceRatio'.- Returns:
- This builder.
-
hasPurchasePriceRatio
public boolean hasPurchasePriceRatio()Checks whether the 'purchasePriceRatio' field has been set.- Returns:
- True if the 'purchasePriceRatio' field has been set, false otherwise.
-
clearPurchasePriceRatio
Clears the value of the 'purchasePriceRatio' 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<LoanOwnershipTransferDataV1>
-