Class CodeValueDataV1.Builder

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

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

    • getId

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

      public CodeValueDataV1.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 CodeValueDataV1.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 CodeValueDataV1.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 CodeValueDataV1.Builder clearName()
      Clears the value of the 'name' field.
      Returns:
      This builder.
    • getPosition

      public Integer getPosition()
      Gets the value of the 'position' field.
      Returns:
      The value.
    • setPosition

      public CodeValueDataV1.Builder setPosition(Integer value)
      Sets the value of the 'position' field.
      Parameters:
      value - The value of 'position'.
      Returns:
      This builder.
    • hasPosition

      public boolean hasPosition()
      Checks whether the 'position' field has been set.
      Returns:
      True if the 'position' field has been set, false otherwise.
    • clearPosition

      public CodeValueDataV1.Builder clearPosition()
      Clears the value of the 'position' field.
      Returns:
      This builder.
    • getDescription

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

      public CodeValueDataV1.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 CodeValueDataV1.Builder clearDescription()
      Clears the value of the 'description' field.
      Returns:
      This builder.
    • getActive

      public Boolean getActive()
      Gets the value of the 'active' field.
      Returns:
      The value.
    • setActive

      public CodeValueDataV1.Builder setActive(Boolean value)
      Sets the value of the 'active' field.
      Parameters:
      value - The value of 'active'.
      Returns:
      This builder.
    • hasActive

      public boolean hasActive()
      Checks whether the 'active' field has been set.
      Returns:
      True if the 'active' field has been set, false otherwise.
    • clearActive

      public CodeValueDataV1.Builder clearActive()
      Clears the value of the 'active' field.
      Returns:
      This builder.
    • getMandatory

      public Boolean getMandatory()
      Gets the value of the 'mandatory' field.
      Returns:
      The value.
    • setMandatory

      public CodeValueDataV1.Builder setMandatory(Boolean value)
      Sets the value of the 'mandatory' field.
      Parameters:
      value - The value of 'mandatory'.
      Returns:
      This builder.
    • hasMandatory

      public boolean hasMandatory()
      Checks whether the 'mandatory' field has been set.
      Returns:
      True if the 'mandatory' field has been set, false otherwise.
    • clearMandatory

      public CodeValueDataV1.Builder clearMandatory()
      Clears the value of the 'mandatory' field.
      Returns:
      This builder.
    • build

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