Class ShareAccountDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<ShareAccountDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<ShareAccountDataV1>
org.apache.fineract.avro.share.v1.ShareAccountDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ShareAccountDataV1>
- Enclosing class:
ShareAccountDataV1
public static class ShareAccountDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ShareAccountDataV1>
implements org.apache.avro.data.RecordBuilder<ShareAccountDataV1>
RecordBuilder for ShareAccountDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNo' field.Clears the value of the 'allowDividendCalculationForInactiveClients' 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 'currentMarketPrice' field.Clears the value of the 'defaultShares' field.Clears the value of the 'externalId' field.clearId()Clears the value of the 'id' field.Clears the value of the 'lockinPeriod' field.Clears the value of the 'lockPeriodTypeEnum' field.Clears the value of the 'minimumActivePeriod' field.Clears the value of the 'minimumActivePeriodTypeEnum' field.Clears the value of the 'productId' field.Clears the value of the 'productName' field.Clears the value of the 'purchasedShares' field.Clears the value of the 'savingsAccountId' field.Clears the value of the 'savingsAccountNumber' field.Clears the value of the 'status' field.Clears the value of the 'summary' field.Clears the value of the 'timeline' field.Gets the value of the 'accountNo' field.Gets the value of the 'allowDividendCalculationForInactiveClients' 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 'currentMarketPrice' field.Gets the value of the 'defaultShares' field.Gets the value of the 'externalId' field.getId()Gets the value of the 'id' field.Gets the value of the 'lockinPeriod' field.Gets the value of the 'lockPeriodTypeEnum' field.Gets the Builder instance for the 'lockPeriodTypeEnum' field and creates one if it doesn't exist yet.Gets the value of the 'minimumActivePeriod' field.Gets the value of the 'minimumActivePeriodTypeEnum' field.Gets the Builder instance for the 'minimumActivePeriodTypeEnum' field and creates one if it doesn't exist yet.Gets the value of the 'productId' field.Gets the value of the 'productName' field.Gets the value of the 'purchasedShares' field.Gets the value of the 'savingsAccountId' field.Gets the value of the 'savingsAccountNumber' 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 'summary' field.Gets the Builder instance for the 'summary' 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 'allowDividendCalculationForInactiveClients' 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 'currentMarketPrice' field has been set.booleanChecks whether the 'defaultShares' field has been set.booleanChecks whether the 'externalId' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'lockinPeriod' field has been set.booleanChecks whether the 'lockPeriodTypeEnum' field has been set.booleanChecks whether the 'lockPeriodTypeEnum' field has an active Builder instancebooleanChecks whether the 'minimumActivePeriod' field has been set.booleanChecks whether the 'minimumActivePeriodTypeEnum' field has been set.booleanChecks whether the 'minimumActivePeriodTypeEnum' field has an active Builder instancebooleanChecks whether the 'productId' field has been set.booleanChecks whether the 'productName' field has been set.booleanChecks whether the 'purchasedShares' field has been set.booleanChecks whether the 'savingsAccountId' field has been set.booleanChecks whether the 'savingsAccountNumber' field has been set.booleanChecks whether the 'status' field has been set.booleanChecks whether the 'status' field has an active Builder instancebooleanChecks whether the 'summary' field has been set.booleanChecks whether the 'summary' 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.Sets the value of the 'allowDividendCalculationForInactiveClients' 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' fieldsetCurrentMarketPrice(BigDecimal value) Sets the value of the 'currentMarketPrice' field.setDefaultShares(Long value) Sets the value of the 'defaultShares' field.setExternalId(String value) Sets the value of the 'externalId' field.Sets the value of the 'id' field.setLockinPeriod(Integer value) Sets the value of the 'lockinPeriod' field.Sets the value of the 'lockPeriodTypeEnum' field.Sets the Builder instance for the 'lockPeriodTypeEnum' fieldsetMinimumActivePeriod(Integer value) Sets the value of the 'minimumActivePeriod' field.Sets the value of the 'minimumActivePeriodTypeEnum' field.Sets the Builder instance for the 'minimumActivePeriodTypeEnum' fieldsetProductId(Long value) Sets the value of the 'productId' field.setProductName(String value) Sets the value of the 'productName' field.Sets the value of the 'purchasedShares' field.setSavingsAccountId(Long value) Sets the value of the 'savingsAccountId' field.setSavingsAccountNumber(String value) Sets the value of the 'savingsAccountNumber' field.Sets the value of the 'status' field.Sets the Builder instance for the 'status' fieldSets the value of the 'summary' field.Sets the Builder instance for the 'summary' 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.
-
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.
-
getSavingsAccountNumber
Gets the value of the 'savingsAccountNumber' field.- Returns:
- The value.
-
setSavingsAccountNumber
Sets the value of the 'savingsAccountNumber' field.- Parameters:
value- The value of 'savingsAccountNumber'.- Returns:
- This builder.
-
hasSavingsAccountNumber
public boolean hasSavingsAccountNumber()Checks whether the 'savingsAccountNumber' field has been set.- Returns:
- True if the 'savingsAccountNumber' field has been set, false otherwise.
-
clearSavingsAccountNumber
Clears the value of the 'savingsAccountNumber' 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.
-
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.
-
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.
-
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.
-
getSummary
Gets the value of the 'summary' field.- Returns:
- The value.
-
hasSummary
public boolean hasSummary()Checks whether the 'summary' field has been set.- Returns:
- True if the 'summary' field has been set, false otherwise.
-
getSummaryBuilder
Gets the Builder instance for the 'summary' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
hasSummaryBuilder
public boolean hasSummaryBuilder()Checks whether the 'summary' field has an active Builder instance- Returns:
- True if the 'summary' field has an active Builder instance
-
clearSummary
Clears the value of the 'summary' field.- Returns:
- This builder.
-
getSavingsAccountId
Gets the value of the 'savingsAccountId' field.- Returns:
- The value.
-
setSavingsAccountId
Sets the value of the 'savingsAccountId' field.- Parameters:
value- The value of 'savingsAccountId'.- Returns:
- This builder.
-
hasSavingsAccountId
public boolean hasSavingsAccountId()Checks whether the 'savingsAccountId' field has been set.- Returns:
- True if the 'savingsAccountId' field has been set, false otherwise.
-
clearSavingsAccountId
Clears the value of the 'savingsAccountId' field.- Returns:
- This builder.
-
getCurrentMarketPrice
Gets the value of the 'currentMarketPrice' field.- Returns:
- The value.
-
setCurrentMarketPrice
Sets the value of the 'currentMarketPrice' field.- Parameters:
value- The value of 'currentMarketPrice'.- Returns:
- This builder.
-
hasCurrentMarketPrice
public boolean hasCurrentMarketPrice()Checks whether the 'currentMarketPrice' field has been set.- Returns:
- True if the 'currentMarketPrice' field has been set, false otherwise.
-
clearCurrentMarketPrice
Clears the value of the 'currentMarketPrice' field.- Returns:
- This builder.
-
getLockinPeriod
Gets the value of the 'lockinPeriod' field.- Returns:
- The value.
-
setLockinPeriod
Sets the value of the 'lockinPeriod' field.- Parameters:
value- The value of 'lockinPeriod'.- Returns:
- This builder.
-
hasLockinPeriod
public boolean hasLockinPeriod()Checks whether the 'lockinPeriod' field has been set.- Returns:
- True if the 'lockinPeriod' field has been set, false otherwise.
-
clearLockinPeriod
Clears the value of the 'lockinPeriod' field.- Returns:
- This builder.
-
getLockPeriodTypeEnum
Gets the value of the 'lockPeriodTypeEnum' field.- Returns:
- The value.
-
setLockPeriodTypeEnum
Sets the value of the 'lockPeriodTypeEnum' field.- Parameters:
value- The value of 'lockPeriodTypeEnum'.- Returns:
- This builder.
-
hasLockPeriodTypeEnum
public boolean hasLockPeriodTypeEnum()Checks whether the 'lockPeriodTypeEnum' field has been set.- Returns:
- True if the 'lockPeriodTypeEnum' field has been set, false otherwise.
-
getLockPeriodTypeEnumBuilder
Gets the Builder instance for the 'lockPeriodTypeEnum' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setLockPeriodTypeEnumBuilder
Sets the Builder instance for the 'lockPeriodTypeEnum' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasLockPeriodTypeEnumBuilder
public boolean hasLockPeriodTypeEnumBuilder()Checks whether the 'lockPeriodTypeEnum' field has an active Builder instance- Returns:
- True if the 'lockPeriodTypeEnum' field has an active Builder instance
-
clearLockPeriodTypeEnum
Clears the value of the 'lockPeriodTypeEnum' field.- Returns:
- This builder.
-
getMinimumActivePeriod
Gets the value of the 'minimumActivePeriod' field.- Returns:
- The value.
-
setMinimumActivePeriod
Sets the value of the 'minimumActivePeriod' field.- Parameters:
value- The value of 'minimumActivePeriod'.- Returns:
- This builder.
-
hasMinimumActivePeriod
public boolean hasMinimumActivePeriod()Checks whether the 'minimumActivePeriod' field has been set.- Returns:
- True if the 'minimumActivePeriod' field has been set, false otherwise.
-
clearMinimumActivePeriod
Clears the value of the 'minimumActivePeriod' field.- Returns:
- This builder.
-
getMinimumActivePeriodTypeEnum
Gets the value of the 'minimumActivePeriodTypeEnum' field.- Returns:
- The value.
-
setMinimumActivePeriodTypeEnum
Sets the value of the 'minimumActivePeriodTypeEnum' field.- Parameters:
value- The value of 'minimumActivePeriodTypeEnum'.- Returns:
- This builder.
-
hasMinimumActivePeriodTypeEnum
public boolean hasMinimumActivePeriodTypeEnum()Checks whether the 'minimumActivePeriodTypeEnum' field has been set.- Returns:
- True if the 'minimumActivePeriodTypeEnum' field has been set, false otherwise.
-
getMinimumActivePeriodTypeEnumBuilder
Gets the Builder instance for the 'minimumActivePeriodTypeEnum' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setMinimumActivePeriodTypeEnumBuilder
public ShareAccountDataV1.Builder setMinimumActivePeriodTypeEnumBuilder(EnumOptionDataV1.Builder value) Sets the Builder instance for the 'minimumActivePeriodTypeEnum' field- Parameters:
value- The builder instance that must be set.- Returns:
- This builder.
-
hasMinimumActivePeriodTypeEnumBuilder
public boolean hasMinimumActivePeriodTypeEnumBuilder()Checks whether the 'minimumActivePeriodTypeEnum' field has an active Builder instance- Returns:
- True if the 'minimumActivePeriodTypeEnum' field has an active Builder instance
-
clearMinimumActivePeriodTypeEnum
Clears the value of the 'minimumActivePeriodTypeEnum' field.- Returns:
- This builder.
-
getAllowDividendCalculationForInactiveClients
Gets the value of the 'allowDividendCalculationForInactiveClients' field.- Returns:
- The value.
-
setAllowDividendCalculationForInactiveClients
Sets the value of the 'allowDividendCalculationForInactiveClients' field.- Parameters:
value- The value of 'allowDividendCalculationForInactiveClients'.- Returns:
- This builder.
-
hasAllowDividendCalculationForInactiveClients
public boolean hasAllowDividendCalculationForInactiveClients()Checks whether the 'allowDividendCalculationForInactiveClients' field has been set.- Returns:
- True if the 'allowDividendCalculationForInactiveClients' field has been set, false otherwise.
-
clearAllowDividendCalculationForInactiveClients
Clears the value of the 'allowDividendCalculationForInactiveClients' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ShareAccountDataV1>
-