Class GLAccountDataV1.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<GLAccountDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<GLAccountDataV1>
org.apache.fineract.avro.gl.v1.GLAccountDataV1.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<GLAccountDataV1>
Enclosing class:
GLAccountDataV1

public static class GLAccountDataV1.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<GLAccountDataV1> implements org.apache.avro.data.RecordBuilder<GLAccountDataV1>
RecordBuilder for GLAccountDataV1 instances.
  • Method Details

    • getId

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

      public GLAccountDataV1.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

      public GLAccountDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getName

      public String getName()
      Gets the value of the 'name' field.
      Returns:
      The value.
    • setName

      public GLAccountDataV1.Builder setName(String value)
      Sets the value of the 'name' field.
      Parameters:
      value - The value of 'name'.
      Returns:
      This builder.
    • hasName

      public boolean hasName()
      Checks whether the 'name' field has been set.
      Returns:
      True if the 'name' field has been set, false otherwise.
    • clearName

      public GLAccountDataV1.Builder clearName()
      Clears the value of the 'name' field.
      Returns:
      This builder.
    • getParentId

      public Long getParentId()
      Gets the value of the 'parentId' field.
      Returns:
      The value.
    • setParentId

      public GLAccountDataV1.Builder setParentId(Long value)
      Sets the value of the 'parentId' field.
      Parameters:
      value - The value of 'parentId'.
      Returns:
      This builder.
    • hasParentId

      public boolean hasParentId()
      Checks whether the 'parentId' field has been set.
      Returns:
      True if the 'parentId' field has been set, false otherwise.
    • clearParentId

      public GLAccountDataV1.Builder clearParentId()
      Clears the value of the 'parentId' field.
      Returns:
      This builder.
    • getGlCode

      public String getGlCode()
      Gets the value of the 'glCode' field.
      Returns:
      The value.
    • setGlCode

      public GLAccountDataV1.Builder setGlCode(String value)
      Sets the value of the 'glCode' field.
      Parameters:
      value - The value of 'glCode'.
      Returns:
      This builder.
    • hasGlCode

      public boolean hasGlCode()
      Checks whether the 'glCode' field has been set.
      Returns:
      True if the 'glCode' field has been set, false otherwise.
    • clearGlCode

      public GLAccountDataV1.Builder clearGlCode()
      Clears the value of the 'glCode' field.
      Returns:
      This builder.
    • getDisabled

      public Boolean getDisabled()
      Gets the value of the 'disabled' field.
      Returns:
      The value.
    • setDisabled

      public GLAccountDataV1.Builder setDisabled(Boolean value)
      Sets the value of the 'disabled' field.
      Parameters:
      value - The value of 'disabled'.
      Returns:
      This builder.
    • hasDisabled

      public boolean hasDisabled()
      Checks whether the 'disabled' field has been set.
      Returns:
      True if the 'disabled' field has been set, false otherwise.
    • clearDisabled

      public GLAccountDataV1.Builder clearDisabled()
      Clears the value of the 'disabled' field.
      Returns:
      This builder.
    • getManualEntriesAllowed

      public Boolean getManualEntriesAllowed()
      Gets the value of the 'manualEntriesAllowed' field.
      Returns:
      The value.
    • setManualEntriesAllowed

      public GLAccountDataV1.Builder setManualEntriesAllowed(Boolean value)
      Sets the value of the 'manualEntriesAllowed' field.
      Parameters:
      value - The value of 'manualEntriesAllowed'.
      Returns:
      This builder.
    • hasManualEntriesAllowed

      public boolean hasManualEntriesAllowed()
      Checks whether the 'manualEntriesAllowed' field has been set.
      Returns:
      True if the 'manualEntriesAllowed' field has been set, false otherwise.
    • clearManualEntriesAllowed

      public GLAccountDataV1.Builder clearManualEntriesAllowed()
      Clears the value of the 'manualEntriesAllowed' field.
      Returns:
      This builder.
    • getType

      public EnumOptionDataV1 getType()
      Gets the value of the 'type' field.
      Returns:
      The value.
    • setType

      public GLAccountDataV1.Builder setType(EnumOptionDataV1 value)
      Sets the value of the 'type' field.
      Parameters:
      value - The value of 'type'.
      Returns:
      This builder.
    • hasType

      public boolean hasType()
      Checks whether the 'type' field has been set.
      Returns:
      True if the 'type' field has been set, false otherwise.
    • getTypeBuilder

      public EnumOptionDataV1.Builder getTypeBuilder()
      Gets the Builder instance for the 'type' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTypeBuilder

      public GLAccountDataV1.Builder setTypeBuilder(EnumOptionDataV1.Builder value)
      Sets the Builder instance for the 'type' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasTypeBuilder

      public boolean hasTypeBuilder()
      Checks whether the 'type' field has an active Builder instance
      Returns:
      True if the 'type' field has an active Builder instance
    • clearType

      public GLAccountDataV1.Builder clearType()
      Clears the value of the 'type' field.
      Returns:
      This builder.
    • getUsage

      public EnumOptionDataV1 getUsage()
      Gets the value of the 'usage' field.
      Returns:
      The value.
    • setUsage

      public GLAccountDataV1.Builder setUsage(EnumOptionDataV1 value)
      Sets the value of the 'usage' field.
      Parameters:
      value - The value of 'usage'.
      Returns:
      This builder.
    • hasUsage

      public boolean hasUsage()
      Checks whether the 'usage' field has been set.
      Returns:
      True if the 'usage' field has been set, false otherwise.
    • getUsageBuilder

      public EnumOptionDataV1.Builder getUsageBuilder()
      Gets the Builder instance for the 'usage' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setUsageBuilder

      public GLAccountDataV1.Builder setUsageBuilder(EnumOptionDataV1.Builder value)
      Sets the Builder instance for the 'usage' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasUsageBuilder

      public boolean hasUsageBuilder()
      Checks whether the 'usage' field has an active Builder instance
      Returns:
      True if the 'usage' field has an active Builder instance
    • clearUsage

      public GLAccountDataV1.Builder clearUsage()
      Clears the value of the 'usage' field.
      Returns:
      This builder.
    • getDescription

      public String getDescription()
      Gets the value of the 'description' field.
      Returns:
      The value.
    • setDescription

      public GLAccountDataV1.Builder setDescription(String value)
      Sets the value of the 'description' field.
      Parameters:
      value - The value of 'description'.
      Returns:
      This builder.
    • hasDescription

      public boolean hasDescription()
      Checks whether the 'description' field has been set.
      Returns:
      True if the 'description' field has been set, false otherwise.
    • clearDescription

      public GLAccountDataV1.Builder clearDescription()
      Clears the value of the 'description' field.
      Returns:
      This builder.
    • getNameDecorated

      public String getNameDecorated()
      Gets the value of the 'nameDecorated' field.
      Returns:
      The value.
    • setNameDecorated

      public GLAccountDataV1.Builder setNameDecorated(String value)
      Sets the value of the 'nameDecorated' field.
      Parameters:
      value - The value of 'nameDecorated'.
      Returns:
      This builder.
    • hasNameDecorated

      public boolean hasNameDecorated()
      Checks whether the 'nameDecorated' field has been set.
      Returns:
      True if the 'nameDecorated' field has been set, false otherwise.
    • clearNameDecorated

      public GLAccountDataV1.Builder clearNameDecorated()
      Clears the value of the 'nameDecorated' field.
      Returns:
      This builder.
    • getTagId

      public CodeValueDataV1 getTagId()
      Gets the value of the 'tagId' field.
      Returns:
      The value.
    • setTagId

      public GLAccountDataV1.Builder setTagId(CodeValueDataV1 value)
      Sets the value of the 'tagId' field.
      Parameters:
      value - The value of 'tagId'.
      Returns:
      This builder.
    • hasTagId

      public boolean hasTagId()
      Checks whether the 'tagId' field has been set.
      Returns:
      True if the 'tagId' field has been set, false otherwise.
    • getTagIdBuilder

      public CodeValueDataV1.Builder getTagIdBuilder()
      Gets the Builder instance for the 'tagId' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setTagIdBuilder

      public GLAccountDataV1.Builder setTagIdBuilder(CodeValueDataV1.Builder value)
      Sets the Builder instance for the 'tagId' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasTagIdBuilder

      public boolean hasTagIdBuilder()
      Checks whether the 'tagId' field has an active Builder instance
      Returns:
      True if the 'tagId' field has an active Builder instance
    • clearTagId

      public GLAccountDataV1.Builder clearTagId()
      Clears the value of the 'tagId' field.
      Returns:
      This builder.
    • getOrganizationRunningBalance

      public Long getOrganizationRunningBalance()
      Gets the value of the 'organizationRunningBalance' field.
      Returns:
      The value.
    • setOrganizationRunningBalance

      public GLAccountDataV1.Builder setOrganizationRunningBalance(Long value)
      Sets the value of the 'organizationRunningBalance' field.
      Parameters:
      value - The value of 'organizationRunningBalance'.
      Returns:
      This builder.
    • hasOrganizationRunningBalance

      public boolean hasOrganizationRunningBalance()
      Checks whether the 'organizationRunningBalance' field has been set.
      Returns:
      True if the 'organizationRunningBalance' field has been set, false otherwise.
    • clearOrganizationRunningBalance

      public GLAccountDataV1.Builder clearOrganizationRunningBalance()
      Clears the value of the 'organizationRunningBalance' field.
      Returns:
      This builder.
    • build

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