Package org.apache.fineract.avro.loan.v1
Class LoanChargePaidByDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanChargePaidByDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanChargePaidByDataV1>
org.apache.fineract.avro.loan.v1.LoanChargePaidByDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanChargePaidByDataV1>
- Enclosing class:
LoanChargePaidByDataV1
public static class LoanChargePaidByDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanChargePaidByDataV1>
implements org.apache.avro.data.RecordBuilder<LoanChargePaidByDataV1>
RecordBuilder for LoanChargePaidByDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'amount' field.Clears the value of the 'chargeId' field.clearId()Clears the value of the 'id' field.Clears the value of the 'installmentNumber' field.Clears the value of the 'name' field.Clears the value of the 'transactionId' field.Gets the value of the 'amount' field.Gets the value of the 'chargeId' field.getId()Gets the value of the 'id' field.Gets the value of the 'installmentNumber' field.getName()Gets the value of the 'name' field.Gets the value of the 'transactionId' field.booleanChecks whether the 'amount' field has been set.booleanChecks whether the 'chargeId' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'installmentNumber' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'transactionId' field has been set.setAmount(BigDecimal value) Sets the value of the 'amount' field.setChargeId(Long value) Sets the value of the 'chargeId' field.Sets the value of the 'id' field.setInstallmentNumber(Integer value) Sets the value of the 'installmentNumber' field.Sets the value of the 'name' field.setTransactionId(Long value) Sets the value of the 'transactionId' 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.
-
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.
-
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.
-
getChargeId
Gets the value of the 'chargeId' field.- Returns:
- The value.
-
setChargeId
Sets the value of the 'chargeId' field.- Parameters:
value- The value of 'chargeId'.- Returns:
- This builder.
-
hasChargeId
public boolean hasChargeId()Checks whether the 'chargeId' field has been set.- Returns:
- True if the 'chargeId' field has been set, false otherwise.
-
clearChargeId
Clears the value of the 'chargeId' field.- Returns:
- This builder.
-
getTransactionId
Gets the value of the 'transactionId' field.- Returns:
- The value.
-
setTransactionId
Sets the value of the 'transactionId' field.- Parameters:
value- The value of 'transactionId'.- Returns:
- This builder.
-
hasTransactionId
public boolean hasTransactionId()Checks whether the 'transactionId' field has been set.- Returns:
- True if the 'transactionId' field has been set, false otherwise.
-
clearTransactionId
Clears the value of the 'transactionId' field.- Returns:
- This builder.
-
getName
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
Sets the value of the 'name' field.- Parameters:
value- The value of 'name'.- Returns:
- This builder.
-
hasName
public boolean hasName()Checks whether the 'name' field has been set.- Returns:
- True if the 'name' field has been set, false otherwise.
-
clearName
Clears the value of the 'name' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanChargePaidByDataV1>
-