Package org.apache.fineract.avro.loan.v1
Class LoanStatusEnumDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanStatusEnumDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanStatusEnumDataV1>
org.apache.fineract.avro.loan.v1.LoanStatusEnumDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanStatusEnumDataV1>
- Enclosing class:
LoanStatusEnumDataV1
public static class LoanStatusEnumDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanStatusEnumDataV1>
implements org.apache.avro.data.RecordBuilder<LoanStatusEnumDataV1>
RecordBuilder for LoanStatusEnumDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'active' field.Clears the value of the 'closed' field.Clears the value of the 'closedObligationsMet' field.Clears the value of the 'closedRescheduled' field.Clears the value of the 'closedWrittenOff' field.Clears the value of the 'code' field.clearId()Clears the value of the 'id' field.Clears the value of the 'overpaid' field.Clears the value of the 'pendingApproval' field.Clears the value of the 'value' field.Clears the value of the 'waitingForDisbursal' field.Gets the value of the 'active' field.Gets the value of the 'closed' field.Gets the value of the 'closedObligationsMet' field.Gets the value of the 'closedRescheduled' field.Gets the value of the 'closedWrittenOff' field.getCode()Gets the value of the 'code' field.getId()Gets the value of the 'id' field.Gets the value of the 'overpaid' field.Gets the value of the 'pendingApproval' field.getValue()Gets the value of the 'value' field.Gets the value of the 'waitingForDisbursal' field.booleanChecks whether the 'active' field has been set.booleanChecks whether the 'closed' field has been set.booleanChecks whether the 'closedObligationsMet' field has been set.booleanChecks whether the 'closedRescheduled' field has been set.booleanChecks whether the 'closedWrittenOff' field has been set.booleanhasCode()Checks whether the 'code' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'overpaid' field has been set.booleanChecks whether the 'pendingApproval' field has been set.booleanhasValue()Checks whether the 'value' field has been set.booleanChecks whether the 'waitingForDisbursal' field has been set.Sets the value of the 'active' field.Sets the value of the 'closed' field.setClosedObligationsMet(Boolean value) Sets the value of the 'closedObligationsMet' field.setClosedRescheduled(Boolean value) Sets the value of the 'closedRescheduled' field.setClosedWrittenOff(Boolean value) Sets the value of the 'closedWrittenOff' field.Sets the value of the 'code' field.Sets the value of the 'id' field.setOverpaid(Boolean value) Sets the value of the 'overpaid' field.setPendingApproval(Boolean value) Sets the value of the 'pendingApproval' field.Sets the value of the 'value' field.setWaitingForDisbursal(Boolean value) Sets the value of the 'waitingForDisbursal' 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.
-
getCode
Gets the value of the 'code' field.- Returns:
- The value.
-
setCode
Sets the value of the 'code' field.- Parameters:
value- The value of 'code'.- Returns:
- This builder.
-
hasCode
public boolean hasCode()Checks whether the 'code' field has been set.- Returns:
- True if the 'code' field has been set, false otherwise.
-
clearCode
Clears the value of the 'code' field.- Returns:
- This builder.
-
getValue
Gets the value of the 'value' field.- Returns:
- The value.
-
setValue
Sets the value of the 'value' field.- Parameters:
value- The value of 'value'.- Returns:
- This builder.
-
hasValue
public boolean hasValue()Checks whether the 'value' field has been set.- Returns:
- True if the 'value' field has been set, false otherwise.
-
clearValue
Clears the value of the 'value' field.- Returns:
- This builder.
-
getPendingApproval
Gets the value of the 'pendingApproval' field.- Returns:
- The value.
-
setPendingApproval
Sets the value of the 'pendingApproval' field.- Parameters:
value- The value of 'pendingApproval'.- Returns:
- This builder.
-
hasPendingApproval
public boolean hasPendingApproval()Checks whether the 'pendingApproval' field has been set.- Returns:
- True if the 'pendingApproval' field has been set, false otherwise.
-
clearPendingApproval
Clears the value of the 'pendingApproval' field.- Returns:
- This builder.
-
getWaitingForDisbursal
Gets the value of the 'waitingForDisbursal' field.- Returns:
- The value.
-
setWaitingForDisbursal
Sets the value of the 'waitingForDisbursal' field.- Parameters:
value- The value of 'waitingForDisbursal'.- Returns:
- This builder.
-
hasWaitingForDisbursal
public boolean hasWaitingForDisbursal()Checks whether the 'waitingForDisbursal' field has been set.- Returns:
- True if the 'waitingForDisbursal' field has been set, false otherwise.
-
clearWaitingForDisbursal
Clears the value of the 'waitingForDisbursal' field.- Returns:
- This builder.
-
getActive
Gets the value of the 'active' field.- Returns:
- The value.
-
setActive
Sets the value of the 'active' field.- Parameters:
value- The value of 'active'.- Returns:
- This builder.
-
hasActive
public boolean hasActive()Checks whether the 'active' field has been set.- Returns:
- True if the 'active' field has been set, false otherwise.
-
clearActive
Clears the value of the 'active' field.- Returns:
- This builder.
-
getClosedObligationsMet
Gets the value of the 'closedObligationsMet' field.- Returns:
- The value.
-
setClosedObligationsMet
Sets the value of the 'closedObligationsMet' field.- Parameters:
value- The value of 'closedObligationsMet'.- Returns:
- This builder.
-
hasClosedObligationsMet
public boolean hasClosedObligationsMet()Checks whether the 'closedObligationsMet' field has been set.- Returns:
- True if the 'closedObligationsMet' field has been set, false otherwise.
-
clearClosedObligationsMet
Clears the value of the 'closedObligationsMet' field.- Returns:
- This builder.
-
getClosedWrittenOff
Gets the value of the 'closedWrittenOff' field.- Returns:
- The value.
-
setClosedWrittenOff
Sets the value of the 'closedWrittenOff' field.- Parameters:
value- The value of 'closedWrittenOff'.- Returns:
- This builder.
-
hasClosedWrittenOff
public boolean hasClosedWrittenOff()Checks whether the 'closedWrittenOff' field has been set.- Returns:
- True if the 'closedWrittenOff' field has been set, false otherwise.
-
clearClosedWrittenOff
Clears the value of the 'closedWrittenOff' field.- Returns:
- This builder.
-
getClosedRescheduled
Gets the value of the 'closedRescheduled' field.- Returns:
- The value.
-
setClosedRescheduled
Sets the value of the 'closedRescheduled' field.- Parameters:
value- The value of 'closedRescheduled'.- Returns:
- This builder.
-
hasClosedRescheduled
public boolean hasClosedRescheduled()Checks whether the 'closedRescheduled' field has been set.- Returns:
- True if the 'closedRescheduled' field has been set, false otherwise.
-
clearClosedRescheduled
Clears the value of the 'closedRescheduled' field.- Returns:
- This builder.
-
getClosed
Gets the value of the 'closed' field.- Returns:
- The value.
-
setClosed
Sets the value of the 'closed' field.- Parameters:
value- The value of 'closed'.- Returns:
- This builder.
-
hasClosed
public boolean hasClosed()Checks whether the 'closed' field has been set.- Returns:
- True if the 'closed' field has been set, false otherwise.
-
clearClosed
Clears the value of the 'closed' field.- Returns:
- This builder.
-
getOverpaid
Gets the value of the 'overpaid' field.- Returns:
- The value.
-
setOverpaid
Sets the value of the 'overpaid' field.- Parameters:
value- The value of 'overpaid'.- Returns:
- This builder.
-
hasOverpaid
public boolean hasOverpaid()Checks whether the 'overpaid' field has been set.- Returns:
- True if the 'overpaid' field has been set, false otherwise.
-
clearOverpaid
Clears the value of the 'overpaid' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanStatusEnumDataV1>
-