Class ShareAccountSummaryDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<ShareAccountSummaryDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<ShareAccountSummaryDataV1>
org.apache.fineract.avro.share.v1.ShareAccountSummaryDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ShareAccountSummaryDataV1>
- Enclosing class:
ShareAccountSummaryDataV1
public static class ShareAccountSummaryDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ShareAccountSummaryDataV1>
implements org.apache.avro.data.RecordBuilder<ShareAccountSummaryDataV1>
RecordBuilder for ShareAccountSummaryDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNo' field.Clears the value of the 'currency' field.Clears the value of the 'externalId' field.clearId()Clears the value of the 'id' 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.Clears the value of the 'totalApprovedShares' field.Clears the value of the 'totalPendingForApprovalShares' field.Gets the value of the 'accountNo' 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.getId()Gets the value of the 'id' 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.Gets the value of the 'totalApprovedShares' field.Gets the value of the 'totalPendingForApprovalShares' field.booleanChecks whether the 'accountNo' 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.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.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 instancebooleanChecks whether the 'totalApprovedShares' field has been set.booleanChecks whether the 'totalPendingForApprovalShares' field has been set.setAccountNo(String value) Sets the value of the 'accountNo' 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.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.setShortProductName(String value) Sets the value of the 'shortProductName' field.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' fieldsetTotalApprovedShares(Long value) Sets the value of the 'totalApprovedShares' field.Sets the value of the 'totalPendingForApprovalShares' 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.
-
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.
-
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.
-
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.
-
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.
-
getTimeline
Gets the value of the 'timeline' field.- Returns:
- The value.
-
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.
-
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.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ShareAccountSummaryDataV1>
-