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 Details

    • getId

      public Long getId()
      Gets the value of the 'id' field.
      Returns:
      The value.
    • setId

      public PortfolioAccountDataV1.Builder setId(Long value)
      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

      public String getAccountNo()
      Gets the value of the 'accountNo' field.
      Returns:
      The value.
    • setAccountNo

      public PortfolioAccountDataV1.Builder setAccountNo(String value)
      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

      public PortfolioAccountDataV1.Builder clearAccountNo()
      Clears the value of the 'accountNo' field.
      Returns:
      This builder.
    • getExternalId

      public String getExternalId()
      Gets the value of the 'externalId' field.
      Returns:
      The value.
    • setExternalId

      public PortfolioAccountDataV1.Builder setExternalId(String value)
      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

      public PortfolioAccountDataV1.Builder clearExternalId()
      Clears the value of the 'externalId' field.
      Returns:
      This builder.
    • getGroupId

      public Long getGroupId()
      Gets the value of the 'groupId' field.
      Returns:
      The value.
    • setGroupId

      public PortfolioAccountDataV1.Builder setGroupId(Long value)
      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

      public PortfolioAccountDataV1.Builder clearGroupId()
      Clears the value of the 'groupId' field.
      Returns:
      This builder.
    • getGroupName

      public String getGroupName()
      Gets the value of the 'groupName' field.
      Returns:
      The value.
    • setGroupName

      public PortfolioAccountDataV1.Builder setGroupName(String value)
      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

      public PortfolioAccountDataV1.Builder clearGroupName()
      Clears the value of the 'groupName' field.
      Returns:
      This builder.
    • getClientId

      public Long getClientId()
      Gets the value of the 'clientId' field.
      Returns:
      The value.
    • setClientId

      public PortfolioAccountDataV1.Builder setClientId(Long value)
      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

      public PortfolioAccountDataV1.Builder clearClientId()
      Clears the value of the 'clientId' field.
      Returns:
      This builder.
    • getClientName

      public String getClientName()
      Gets the value of the 'clientName' field.
      Returns:
      The value.
    • setClientName

      public PortfolioAccountDataV1.Builder setClientName(String value)
      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

      public PortfolioAccountDataV1.Builder clearClientName()
      Clears the value of the 'clientName' field.
      Returns:
      This builder.
    • getProductId

      public Long getProductId()
      Gets the value of the 'productId' field.
      Returns:
      The value.
    • setProductId

      public PortfolioAccountDataV1.Builder setProductId(Long value)
      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

      public PortfolioAccountDataV1.Builder clearProductId()
      Clears the value of the 'productId' field.
      Returns:
      This builder.
    • getProductName

      public String getProductName()
      Gets the value of the 'productName' field.
      Returns:
      The value.
    • setProductName

      public PortfolioAccountDataV1.Builder setProductName(String value)
      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

      public PortfolioAccountDataV1.Builder clearProductName()
      Clears the value of the 'productName' field.
      Returns:
      This builder.
    • getFieldOfficerId

      public Long getFieldOfficerId()
      Gets the value of the 'fieldOfficerId' field.
      Returns:
      The value.
    • setFieldOfficerId

      public PortfolioAccountDataV1.Builder setFieldOfficerId(Long value)
      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

      public PortfolioAccountDataV1.Builder clearFieldOfficerId()
      Clears the value of the 'fieldOfficerId' field.
      Returns:
      This builder.
    • getFieldOfficerName

      public String getFieldOfficerName()
      Gets the value of the 'fieldOfficerName' field.
      Returns:
      The value.
    • setFieldOfficerName

      public PortfolioAccountDataV1.Builder setFieldOfficerName(String value)
      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

      public PortfolioAccountDataV1.Builder clearFieldOfficerName()
      Clears the value of the 'fieldOfficerName' field.
      Returns:
      This builder.
    • getCurrency

      public CurrencyDataV1 getCurrency()
      Gets the value of the 'currency' field.
      Returns:
      The value.
    • setCurrency

      public PortfolioAccountDataV1.Builder setCurrency(CurrencyDataV1 value)
      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

      public CurrencyDataV1.Builder getCurrencyBuilder()
      Gets the Builder instance for the 'currency' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setCurrencyBuilder

      public PortfolioAccountDataV1.Builder setCurrencyBuilder(CurrencyDataV1.Builder value)
      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

      public PortfolioAccountDataV1.Builder clearCurrency()
      Clears the value of the 'currency' field.
      Returns:
      This builder.
    • getAmtForTransfer

      public BigDecimal getAmtForTransfer()
      Gets the value of the 'amtForTransfer' field.
      Returns:
      The value.
    • setAmtForTransfer

      public PortfolioAccountDataV1.Builder setAmtForTransfer(BigDecimal value)
      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

      public PortfolioAccountDataV1.Builder clearAmtForTransfer()
      Clears the value of the 'amtForTransfer' field.
      Returns:
      This builder.
    • build

      public PortfolioAccountDataV1 build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<PortfolioAccountDataV1>