Package org.apache.fineract.avro.loan.v1
Class LoanAccountStayedLockedDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanAccountStayedLockedDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanAccountStayedLockedDataV1>
org.apache.fineract.avro.loan.v1.LoanAccountStayedLockedDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanAccountStayedLockedDataV1>
- Enclosing class:
LoanAccountStayedLockedDataV1
public static class LoanAccountStayedLockedDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanAccountStayedLockedDataV1>
implements org.apache.avro.data.RecordBuilder<LoanAccountStayedLockedDataV1>
RecordBuilder for LoanAccountStayedLockedDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNo' field.Clears the value of the 'externalId' field.clearId()Clears the value of the 'id' field.Gets the value of the 'accountNo' field.Gets the value of the 'externalId' field.longgetId()Gets the value of the 'id' field.booleanChecks whether the 'accountNo' field has been set.booleanChecks whether the 'externalId' field has been set.booleanhasId()Checks whether the 'id' field has been set.setAccountNo(String value) Sets the value of the 'accountNo' field.setExternalId(String value) Sets the value of the 'externalId' field.setId(long value) Sets the value of the 'id' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getId
public long 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.
-
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.
-
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.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanAccountStayedLockedDataV1>
-