Package org.apache.fineract.avro.loan.v1
Class LoanAccountSummaryDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanAccountSummaryDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanAccountSummaryDataV1>
org.apache.fineract.avro.loan.v1.LoanAccountSummaryDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanAccountSummaryDataV1>
- Enclosing class:
LoanAccountSummaryDataV1
public static class LoanAccountSummaryDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanAccountSummaryDataV1>
implements org.apache.avro.data.RecordBuilder<LoanAccountSummaryDataV1>
RecordBuilder for LoanAccountSummaryDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNo' field.Clears the value of the 'amountPaid' field.Clears the value of the 'externalId' field.clearId()Clears the value of the 'id' field.Clears the value of the 'inArrears' field.Clears the value of the 'loanBalance' field.Clears the value of the 'loanCycle' field.Clears the value of the 'loanType' field.Clears the value of the 'originalLoan' field.Clears the value of the 'parentAccountNumber' field.Clears the value of the 'productId' field.Clears the value of the 'productName' field.Clears the value of the 'shortProductName' field.Clears the value of the 'status' field.Clears the value of the 'timeline' field.Gets the value of the 'accountNo' field.Gets the value of the 'amountPaid' field.Gets the value of the 'externalId' field.getId()Gets the value of the 'id' field.Gets the value of the 'inArrears' field.Gets the value of the 'loanBalance' field.Gets the value of the 'loanCycle' field.Gets the value of the 'loanType' field.Gets the Builder instance for the 'loanType' field and creates one if it doesn't exist yet.Gets the value of the 'originalLoan' field.Gets the value of the 'parentAccountNumber' field.Gets the value of the 'productId' field.Gets the value of the 'productName' field.Gets the value of the 'shortProductName' field.Gets the value of the 'status' field.Gets the Builder instance for the 'status' field and creates one if it doesn't exist yet.Gets the value of the 'timeline' field.Gets the Builder instance for the 'timeline' field and creates one if it doesn't exist yet.booleanChecks whether the 'accountNo' field has been set.booleanChecks whether the 'amountPaid' field has been set.booleanChecks whether the 'externalId' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'inArrears' field has been set.booleanChecks whether the 'loanBalance' field has been set.booleanChecks whether the 'loanCycle' field has been set.booleanChecks whether the 'loanType' field has been set.booleanChecks whether the 'loanType' field has an active Builder instancebooleanChecks whether the 'originalLoan' field has been set.booleanChecks whether the 'parentAccountNumber' field has been set.booleanChecks whether the 'productId' field has been set.booleanChecks whether the 'productName' field has been set.booleanChecks whether the 'shortProductName' field has been set.booleanChecks whether the 'status' field has been set.booleanChecks whether the 'status' field has an active Builder instancebooleanChecks whether the 'timeline' field has been set.booleanChecks whether the 'timeline' field has an active Builder instancesetAccountNo(String value) Sets the value of the 'accountNo' field.setAmountPaid(BigDecimal value) Sets the value of the 'amountPaid' field.setExternalId(String value) Sets the value of the 'externalId' field.Sets the value of the 'id' field.setInArrears(Boolean value) Sets the value of the 'inArrears' field.setLoanBalance(BigDecimal value) Sets the value of the 'loanBalance' field.setLoanCycle(Integer value) Sets the value of the 'loanCycle' field.setLoanType(EnumOptionDataV1 value) Sets the value of the 'loanType' field.Sets the Builder instance for the 'loanType' fieldsetOriginalLoan(BigDecimal value) Sets the value of the 'originalLoan' field.setParentAccountNumber(String value) Sets the value of the 'parentAccountNumber' field.setProductId(Long value) Sets the value of the 'productId' field.setProductName(String value) Sets the value of the 'productName' field.setShortProductName(String value) Sets the value of the 'shortProductName' field.setStatus(LoanStatusEnumDataV1 value) Sets the value of the 'status' field.Sets the Builder instance for the 'status' fieldSets the value of the 'timeline' field.Sets the Builder instance for the 'timeline' fieldMethods 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.
-
getAccountNo
Gets the value of the 'accountNo' field.- Returns:
- The value.
-
setAccountNo
Sets the value of the 'accountNo' field.- Parameters:
value- The value of 'accountNo'.- Returns:
- This builder.
-
hasAccountNo
public boolean hasAccountNo()Checks whether the 'accountNo' field has been set.- Returns:
- True if the 'accountNo' field has been set, false otherwise.
-
clearAccountNo
Clears the value of the 'accountNo' field.- Returns:
- This builder.
-
getParentAccountNumber
Gets the value of the 'parentAccountNumber' field.- Returns:
- The value.
-
setParentAccountNumber
Sets the value of the 'parentAccountNumber' field.- Parameters:
value- The value of 'parentAccountNumber'.- Returns:
- This builder.
-
hasParentAccountNumber
public boolean hasParentAccountNumber()Checks whether the 'parentAccountNumber' field has been set.- Returns:
- True if the 'parentAccountNumber' field has been set, false otherwise.
-
clearParentAccountNumber
Clears the value of the 'parentAccountNumber' field.- Returns:
- This builder.
-
getExternalId
Gets the value of the 'externalId' field.- Returns:
- The value.
-
setExternalId
Sets the value of the 'externalId' field.- Parameters:
value- The value of 'externalId'.- Returns:
- This builder.
-
hasExternalId
public boolean hasExternalId()Checks whether the 'externalId' field has been set.- Returns:
- True if the 'externalId' field has been set, false otherwise.
-
clearExternalId
Clears the value of the 'externalId' field.- Returns:
- This builder.
-
getProductId
Gets the value of the 'productId' field.- Returns:
- The value.
-
setProductId
Sets the value of the 'productId' field.- Parameters:
value- The value of 'productId'.- Returns:
- This builder.
-
hasProductId
public boolean hasProductId()Checks whether the 'productId' field has been set.- Returns:
- True if the 'productId' field has been set, false otherwise.
-
clearProductId
Clears the value of the 'productId' field.- Returns:
- This builder.
-
getProductName
Gets the value of the 'productName' field.- Returns:
- The value.
-
setProductName
Sets the value of the 'productName' field.- Parameters:
value- The value of 'productName'.- Returns:
- This builder.
-
hasProductName
public boolean hasProductName()Checks whether the 'productName' field has been set.- Returns:
- True if the 'productName' field has been set, false otherwise.
-
clearProductName
Clears the value of the 'productName' field.- Returns:
- This builder.
-
getShortProductName
Gets the value of the 'shortProductName' field.- Returns:
- The value.
-
setShortProductName
Sets the value of the 'shortProductName' field.- Parameters:
value- The value of 'shortProductName'.- Returns:
- This builder.
-
hasShortProductName
public boolean hasShortProductName()Checks whether the 'shortProductName' field has been set.- Returns:
- True if the 'shortProductName' field has been set, false otherwise.
-
clearShortProductName
Clears the value of the 'shortProductName' field.- Returns:
- This builder.
-
getStatus
Gets the value of the 'status' field.- Returns:
- The value.
-
setStatus
Sets the value of the 'status' field.- Parameters:
value- The value of 'status'.- Returns:
- This builder.
-
hasStatus
public boolean hasStatus()Checks whether the 'status' field has been set.- Returns:
- True if the 'status' field has been set, false otherwise.
-
getStatusBuilder
Gets the Builder instance for the 'status' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setStatusBuilder
Sets the Builder instance for the 'status' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasStatusBuilder
public boolean hasStatusBuilder()Checks whether the 'status' field has an active Builder instance- Returns:
- True if the 'status' field has an active Builder instance
-
clearStatus
Clears the value of the 'status' field.- Returns:
- This builder.
-
getLoanType
Gets the value of the 'loanType' field.- Returns:
- The value.
-
setLoanType
Sets the value of the 'loanType' field.- Parameters:
value- The value of 'loanType'.- Returns:
- This builder.
-
hasLoanType
public boolean hasLoanType()Checks whether the 'loanType' field has been set.- Returns:
- True if the 'loanType' field has been set, false otherwise.
-
getLoanTypeBuilder
Gets the Builder instance for the 'loanType' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setLoanTypeBuilder
Sets the Builder instance for the 'loanType' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasLoanTypeBuilder
public boolean hasLoanTypeBuilder()Checks whether the 'loanType' field has an active Builder instance- Returns:
- True if the 'loanType' field has an active Builder instance
-
clearLoanType
Clears the value of the 'loanType' field.- Returns:
- This builder.
-
getLoanCycle
Gets the value of the 'loanCycle' field.- Returns:
- The value.
-
setLoanCycle
Sets the value of the 'loanCycle' field.- Parameters:
value- The value of 'loanCycle'.- Returns:
- This builder.
-
hasLoanCycle
public boolean hasLoanCycle()Checks whether the 'loanCycle' field has been set.- Returns:
- True if the 'loanCycle' field has been set, false otherwise.
-
clearLoanCycle
Clears the value of the 'loanCycle' field.- Returns:
- This builder.
-
getTimeline
Gets the value of the 'timeline' field.- Returns:
- The value.
-
setTimeline
Sets the value of the 'timeline' field.- Parameters:
value- The value of 'timeline'.- Returns:
- This builder.
-
hasTimeline
public boolean hasTimeline()Checks whether the 'timeline' field has been set.- Returns:
- True if the 'timeline' field has been set, false otherwise.
-
getTimelineBuilder
Gets the Builder instance for the 'timeline' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setTimelineBuilder
public LoanAccountSummaryDataV1.Builder setTimelineBuilder(LoanApplicationTimelineDataV1.Builder value) Sets the Builder instance for the 'timeline' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasTimelineBuilder
public boolean hasTimelineBuilder()Checks whether the 'timeline' field has an active Builder instance- Returns:
- True if the 'timeline' field has an active Builder instance
-
clearTimeline
Clears the value of the 'timeline' field.- Returns:
- This builder.
-
getInArrears
Gets the value of the 'inArrears' field.- Returns:
- The value.
-
setInArrears
Sets the value of the 'inArrears' field.- Parameters:
value- The value of 'inArrears'.- Returns:
- This builder.
-
hasInArrears
public boolean hasInArrears()Checks whether the 'inArrears' field has been set.- Returns:
- True if the 'inArrears' field has been set, false otherwise.
-
clearInArrears
Clears the value of the 'inArrears' field.- Returns:
- This builder.
-
getOriginalLoan
Gets the value of the 'originalLoan' field.- Returns:
- The value.
-
setOriginalLoan
Sets the value of the 'originalLoan' field.- Parameters:
value- The value of 'originalLoan'.- Returns:
- This builder.
-
hasOriginalLoan
public boolean hasOriginalLoan()Checks whether the 'originalLoan' field has been set.- Returns:
- True if the 'originalLoan' field has been set, false otherwise.
-
clearOriginalLoan
Clears the value of the 'originalLoan' field.- Returns:
- This builder.
-
getLoanBalance
Gets the value of the 'loanBalance' field.- Returns:
- The value.
-
setLoanBalance
Sets the value of the 'loanBalance' field.- Parameters:
value- The value of 'loanBalance'.- Returns:
- This builder.
-
hasLoanBalance
public boolean hasLoanBalance()Checks whether the 'loanBalance' field has been set.- Returns:
- True if the 'loanBalance' field has been set, false otherwise.
-
clearLoanBalance
Clears the value of the 'loanBalance' field.- Returns:
- This builder.
-
getAmountPaid
Gets the value of the 'amountPaid' field.- Returns:
- The value.
-
setAmountPaid
Sets the value of the 'amountPaid' field.- Parameters:
value- The value of 'amountPaid'.- Returns:
- This builder.
-
hasAmountPaid
public boolean hasAmountPaid()Checks whether the 'amountPaid' field has been set.- Returns:
- True if the 'amountPaid' field has been set, false otherwise.
-
clearAmountPaid
Clears the value of the 'amountPaid' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanAccountSummaryDataV1>
-