Package org.apache.fineract.avro.loan.v1
Class DisbursementDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<DisbursementDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<DisbursementDataV1>
org.apache.fineract.avro.loan.v1.DisbursementDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DisbursementDataV1>
- Enclosing class:
DisbursementDataV1
public static class DisbursementDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<DisbursementDataV1>
implements org.apache.avro.data.RecordBuilder<DisbursementDataV1>
RecordBuilder for DisbursementDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'actualDisbursementDate' field.Clears the value of the 'chargeAmount' field.Clears the value of the 'expectedDisbursementDate' field.clearId()Clears the value of the 'id' field.Clears the value of the 'loanChargeId' field.Clears the value of the 'netDisbursalAmount' field.Clears the value of the 'principal' field.Clears the value of the 'waivedChargeAmount' field.Gets the value of the 'actualDisbursementDate' field.Gets the value of the 'chargeAmount' field.Gets the value of the 'expectedDisbursementDate' field.getId()Gets the value of the 'id' field.Gets the value of the 'loanChargeId' field.Gets the value of the 'netDisbursalAmount' field.Gets the value of the 'principal' field.Gets the value of the 'waivedChargeAmount' field.booleanChecks whether the 'actualDisbursementDate' field has been set.booleanChecks whether the 'chargeAmount' field has been set.booleanChecks whether the 'expectedDisbursementDate' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'loanChargeId' field has been set.booleanChecks whether the 'netDisbursalAmount' field has been set.booleanChecks whether the 'principal' field has been set.booleanChecks whether the 'waivedChargeAmount' field has been set.setActualDisbursementDate(String value) Sets the value of the 'actualDisbursementDate' field.setChargeAmount(BigDecimal value) Sets the value of the 'chargeAmount' field.Sets the value of the 'expectedDisbursementDate' field.Sets the value of the 'id' field.setLoanChargeId(String value) Sets the value of the 'loanChargeId' field.setNetDisbursalAmount(BigDecimal value) Sets the value of the 'netDisbursalAmount' field.setPrincipal(BigDecimal value) Sets the value of the 'principal' field.setWaivedChargeAmount(BigDecimal value) Sets the value of the 'waivedChargeAmount' 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.
-
getExpectedDisbursementDate
Gets the value of the 'expectedDisbursementDate' field.- Returns:
- The value.
-
setExpectedDisbursementDate
Sets the value of the 'expectedDisbursementDate' field.- Parameters:
value- The value of 'expectedDisbursementDate'.- Returns:
- This builder.
-
hasExpectedDisbursementDate
public boolean hasExpectedDisbursementDate()Checks whether the 'expectedDisbursementDate' field has been set.- Returns:
- True if the 'expectedDisbursementDate' field has been set, false otherwise.
-
clearExpectedDisbursementDate
Clears the value of the 'expectedDisbursementDate' field.- Returns:
- This builder.
-
getActualDisbursementDate
Gets the value of the 'actualDisbursementDate' field.- Returns:
- The value.
-
setActualDisbursementDate
Sets the value of the 'actualDisbursementDate' field.- Parameters:
value- The value of 'actualDisbursementDate'.- Returns:
- This builder.
-
hasActualDisbursementDate
public boolean hasActualDisbursementDate()Checks whether the 'actualDisbursementDate' field has been set.- Returns:
- True if the 'actualDisbursementDate' field has been set, false otherwise.
-
clearActualDisbursementDate
Clears the value of the 'actualDisbursementDate' field.- Returns:
- This builder.
-
getPrincipal
Gets the value of the 'principal' field.- Returns:
- The value.
-
setPrincipal
Sets the value of the 'principal' field.- Parameters:
value- The value of 'principal'.- Returns:
- This builder.
-
hasPrincipal
public boolean hasPrincipal()Checks whether the 'principal' field has been set.- Returns:
- True if the 'principal' field has been set, false otherwise.
-
clearPrincipal
Clears the value of the 'principal' field.- Returns:
- This builder.
-
getNetDisbursalAmount
Gets the value of the 'netDisbursalAmount' field.- Returns:
- The value.
-
setNetDisbursalAmount
Sets the value of the 'netDisbursalAmount' field.- Parameters:
value- The value of 'netDisbursalAmount'.- Returns:
- This builder.
-
hasNetDisbursalAmount
public boolean hasNetDisbursalAmount()Checks whether the 'netDisbursalAmount' field has been set.- Returns:
- True if the 'netDisbursalAmount' field has been set, false otherwise.
-
clearNetDisbursalAmount
Clears the value of the 'netDisbursalAmount' field.- Returns:
- This builder.
-
getLoanChargeId
Gets the value of the 'loanChargeId' field.- Returns:
- The value.
-
setLoanChargeId
Sets the value of the 'loanChargeId' field.- Parameters:
value- The value of 'loanChargeId'.- Returns:
- This builder.
-
hasLoanChargeId
public boolean hasLoanChargeId()Checks whether the 'loanChargeId' field has been set.- Returns:
- True if the 'loanChargeId' field has been set, false otherwise.
-
clearLoanChargeId
Clears the value of the 'loanChargeId' field.- Returns:
- This builder.
-
getChargeAmount
Gets the value of the 'chargeAmount' field.- Returns:
- The value.
-
setChargeAmount
Sets the value of the 'chargeAmount' field.- Parameters:
value- The value of 'chargeAmount'.- Returns:
- This builder.
-
hasChargeAmount
public boolean hasChargeAmount()Checks whether the 'chargeAmount' field has been set.- Returns:
- True if the 'chargeAmount' field has been set, false otherwise.
-
clearChargeAmount
Clears the value of the 'chargeAmount' field.- Returns:
- This builder.
-
getWaivedChargeAmount
Gets the value of the 'waivedChargeAmount' field.- Returns:
- The value.
-
setWaivedChargeAmount
Sets the value of the 'waivedChargeAmount' field.- Parameters:
value- The value of 'waivedChargeAmount'.- Returns:
- This builder.
-
hasWaivedChargeAmount
public boolean hasWaivedChargeAmount()Checks whether the 'waivedChargeAmount' field has been set.- Returns:
- True if the 'waivedChargeAmount' field has been set, false otherwise.
-
clearWaivedChargeAmount
Clears the value of the 'waivedChargeAmount' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<DisbursementDataV1>
-