Class PortfolioAccountDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<PortfolioAccountDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<PortfolioAccountDataV1>
org.apache.fineract.avro.portfolio.v1.PortfolioAccountDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<PortfolioAccountDataV1>
- Enclosing class:
PortfolioAccountDataV1
public static class PortfolioAccountDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<PortfolioAccountDataV1>
implements org.apache.avro.data.RecordBuilder<PortfolioAccountDataV1>
RecordBuilder for PortfolioAccountDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNo' field.Clears the value of the 'amtForTransfer' field.Clears the value of the 'clientId' field.Clears the value of the 'clientName' field.Clears the value of the 'currency' field.Clears the value of the 'externalId' field.Clears the value of the 'fieldOfficerId' field.Clears the value of the 'fieldOfficerName' field.Clears the value of the 'groupId' field.Clears the value of the 'groupName' field.clearId()Clears the value of the 'id' field.Clears the value of the 'productId' field.Clears the value of the 'productName' field.Gets the value of the 'accountNo' field.Gets the value of the 'amtForTransfer' field.Gets the value of the 'clientId' field.Gets the value of the 'clientName' field.Gets the value of the 'currency' field.Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.Gets the value of the 'externalId' field.Gets the value of the 'fieldOfficerId' field.Gets the value of the 'fieldOfficerName' field.Gets the value of the 'groupId' field.Gets the value of the 'groupName' field.getId()Gets the value of the 'id' field.Gets the value of the 'productId' field.Gets the value of the 'productName' field.booleanChecks whether the 'accountNo' field has been set.booleanChecks whether the 'amtForTransfer' field has been set.booleanChecks whether the 'clientId' field has been set.booleanChecks whether the 'clientName' field has been set.booleanChecks whether the 'currency' field has been set.booleanChecks whether the 'currency' field has an active Builder instancebooleanChecks whether the 'externalId' field has been set.booleanChecks whether the 'fieldOfficerId' field has been set.booleanChecks whether the 'fieldOfficerName' field has been set.booleanChecks whether the 'groupId' field has been set.booleanChecks whether the 'groupName' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'productId' field has been set.booleanChecks whether the 'productName' field has been set.setAccountNo(String value) Sets the value of the 'accountNo' field.setAmtForTransfer(BigDecimal value) Sets the value of the 'amtForTransfer' field.setClientId(Long value) Sets the value of the 'clientId' field.setClientName(String value) Sets the value of the 'clientName' field.setCurrency(CurrencyDataV1 value) Sets the value of the 'currency' field.Sets the Builder instance for the 'currency' fieldsetExternalId(String value) Sets the value of the 'externalId' field.setFieldOfficerId(Long value) Sets the value of the 'fieldOfficerId' field.setFieldOfficerName(String value) Sets the value of the 'fieldOfficerName' field.setGroupId(Long value) Sets the value of the 'groupId' field.setGroupName(String value) Sets the value of the 'groupName' field.Sets the value of the 'id' field.setProductId(Long value) Sets the value of the 'productId' field.setProductName(String value) Sets the value of the 'productName' 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.
-
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.
-
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.
-
getGroupId
Gets the value of the 'groupId' field.- Returns:
- The value.
-
setGroupId
Sets the value of the 'groupId' field.- Parameters:
value- The value of 'groupId'.- Returns:
- This builder.
-
hasGroupId
public boolean hasGroupId()Checks whether the 'groupId' field has been set.- Returns:
- True if the 'groupId' field has been set, false otherwise.
-
clearGroupId
Clears the value of the 'groupId' field.- Returns:
- This builder.
-
getGroupName
Gets the value of the 'groupName' field.- Returns:
- The value.
-
setGroupName
Sets the value of the 'groupName' field.- Parameters:
value- The value of 'groupName'.- Returns:
- This builder.
-
hasGroupName
public boolean hasGroupName()Checks whether the 'groupName' field has been set.- Returns:
- True if the 'groupName' field has been set, false otherwise.
-
clearGroupName
Clears the value of the 'groupName' field.- Returns:
- This builder.
-
getClientId
Gets the value of the 'clientId' field.- Returns:
- The value.
-
setClientId
Sets the value of the 'clientId' field.- Parameters:
value- The value of 'clientId'.- Returns:
- This builder.
-
hasClientId
public boolean hasClientId()Checks whether the 'clientId' field has been set.- Returns:
- True if the 'clientId' field has been set, false otherwise.
-
clearClientId
Clears the value of the 'clientId' field.- Returns:
- This builder.
-
getClientName
Gets the value of the 'clientName' field.- Returns:
- The value.
-
setClientName
Sets the value of the 'clientName' field.- Parameters:
value- The value of 'clientName'.- Returns:
- This builder.
-
hasClientName
public boolean hasClientName()Checks whether the 'clientName' field has been set.- Returns:
- True if the 'clientName' field has been set, false otherwise.
-
clearClientName
Clears the value of the 'clientName' 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.
-
getFieldOfficerId
Gets the value of the 'fieldOfficerId' field.- Returns:
- The value.
-
setFieldOfficerId
Sets the value of the 'fieldOfficerId' field.- Parameters:
value- The value of 'fieldOfficerId'.- Returns:
- This builder.
-
hasFieldOfficerId
public boolean hasFieldOfficerId()Checks whether the 'fieldOfficerId' field has been set.- Returns:
- True if the 'fieldOfficerId' field has been set, false otherwise.
-
clearFieldOfficerId
Clears the value of the 'fieldOfficerId' field.- Returns:
- This builder.
-
getFieldOfficerName
Gets the value of the 'fieldOfficerName' field.- Returns:
- The value.
-
setFieldOfficerName
Sets the value of the 'fieldOfficerName' field.- Parameters:
value- The value of 'fieldOfficerName'.- Returns:
- This builder.
-
hasFieldOfficerName
public boolean hasFieldOfficerName()Checks whether the 'fieldOfficerName' field has been set.- Returns:
- True if the 'fieldOfficerName' field has been set, false otherwise.
-
clearFieldOfficerName
Clears the value of the 'fieldOfficerName' field.- Returns:
- This builder.
-
getCurrency
Gets the value of the 'currency' field.- Returns:
- The value.
-
setCurrency
Sets the value of the 'currency' field.- Parameters:
value- The value of 'currency'.- Returns:
- This builder.
-
hasCurrency
public boolean hasCurrency()Checks whether the 'currency' field has been set.- Returns:
- True if the 'currency' field has been set, false otherwise.
-
getCurrencyBuilder
Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setCurrencyBuilder
Sets the Builder instance for the 'currency' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasCurrencyBuilder
public boolean hasCurrencyBuilder()Checks whether the 'currency' field has an active Builder instance- Returns:
- True if the 'currency' field has an active Builder instance
-
clearCurrency
Clears the value of the 'currency' field.- Returns:
- This builder.
-
getAmtForTransfer
Gets the value of the 'amtForTransfer' field.- Returns:
- The value.
-
setAmtForTransfer
Sets the value of the 'amtForTransfer' field.- Parameters:
value- The value of 'amtForTransfer'.- Returns:
- This builder.
-
hasAmtForTransfer
public boolean hasAmtForTransfer()Checks whether the 'amtForTransfer' field has been set.- Returns:
- True if the 'amtForTransfer' field has been set, false otherwise.
-
clearAmtForTransfer
Clears the value of the 'amtForTransfer' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<PortfolioAccountDataV1>
-