Package org.apache.fineract.avro.loan.v1
Class UnpaidChargeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<UnpaidChargeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<UnpaidChargeDataV1>
org.apache.fineract.avro.loan.v1.UnpaidChargeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<UnpaidChargeDataV1>
- Enclosing class:
UnpaidChargeDataV1
public static class UnpaidChargeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<UnpaidChargeDataV1>
implements org.apache.avro.data.RecordBuilder<UnpaidChargeDataV1>
RecordBuilder for UnpaidChargeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'chargeId' field.Clears the value of the 'chargeName' field.Clears the value of the 'outstandingAmount' field.longGets the value of the 'chargeId' field.Gets the value of the 'chargeName' field.Gets the value of the 'outstandingAmount' field.booleanChecks whether the 'chargeId' field has been set.booleanChecks whether the 'chargeName' field has been set.booleanChecks whether the 'outstandingAmount' field has been set.setChargeId(long value) Sets the value of the 'chargeId' field.setChargeName(String value) Sets the value of the 'chargeName' field.setOutstandingAmount(BigDecimal value) Sets the value of the 'outstandingAmount' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getChargeId
public long 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.
-
getChargeName
Gets the value of the 'chargeName' field.- Returns:
- The value.
-
setChargeName
Sets the value of the 'chargeName' field.- Parameters:
value- The value of 'chargeName'.- Returns:
- This builder.
-
hasChargeName
public boolean hasChargeName()Checks whether the 'chargeName' field has been set.- Returns:
- True if the 'chargeName' field has been set, false otherwise.
-
clearChargeName
Clears the value of the 'chargeName' field.- Returns:
- This builder.
-
getOutstandingAmount
Gets the value of the 'outstandingAmount' field.- Returns:
- The value.
-
setOutstandingAmount
Sets the value of the 'outstandingAmount' field.- Parameters:
value- The value of 'outstandingAmount'.- Returns:
- This builder.
-
hasOutstandingAmount
public boolean hasOutstandingAmount()Checks whether the 'outstandingAmount' field has been set.- Returns:
- True if the 'outstandingAmount' field has been set, false otherwise.
-
clearOutstandingAmount
Clears the value of the 'outstandingAmount' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<UnpaidChargeDataV1>
-