Class OfficeDataV1.Builder

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

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

    • getId

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

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

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

      public OfficeDataV1.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 OfficeDataV1.Builder clearNameDecorated()
      Clears the value of the 'nameDecorated' field.
      Returns:
      This builder.
    • getExternalId

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

      public OfficeDataV1.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 OfficeDataV1.Builder clearExternalId()
      Clears the value of the 'externalId' field.
      Returns:
      This builder.
    • getOpeningDate

      public String getOpeningDate()
      Gets the value of the 'openingDate' field.
      Returns:
      The value.
    • setOpeningDate

      public OfficeDataV1.Builder setOpeningDate(String value)
      Sets the value of the 'openingDate' field.
      Parameters:
      value - The value of 'openingDate'.
      Returns:
      This builder.
    • hasOpeningDate

      public boolean hasOpeningDate()
      Checks whether the 'openingDate' field has been set.
      Returns:
      True if the 'openingDate' field has been set, false otherwise.
    • clearOpeningDate

      public OfficeDataV1.Builder clearOpeningDate()
      Clears the value of the 'openingDate' field.
      Returns:
      This builder.
    • getHierarchy

      public String getHierarchy()
      Gets the value of the 'hierarchy' field.
      Returns:
      The value.
    • setHierarchy

      public OfficeDataV1.Builder setHierarchy(String value)
      Sets the value of the 'hierarchy' field.
      Parameters:
      value - The value of 'hierarchy'.
      Returns:
      This builder.
    • hasHierarchy

      public boolean hasHierarchy()
      Checks whether the 'hierarchy' field has been set.
      Returns:
      True if the 'hierarchy' field has been set, false otherwise.
    • clearHierarchy

      public OfficeDataV1.Builder clearHierarchy()
      Clears the value of the 'hierarchy' field.
      Returns:
      This builder.
    • getParentId

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

      public OfficeDataV1.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 OfficeDataV1.Builder clearParentId()
      Clears the value of the 'parentId' field.
      Returns:
      This builder.
    • getParentName

      public String getParentName()
      Gets the value of the 'parentName' field.
      Returns:
      The value.
    • setParentName

      public OfficeDataV1.Builder setParentName(String value)
      Sets the value of the 'parentName' field.
      Parameters:
      value - The value of 'parentName'.
      Returns:
      This builder.
    • hasParentName

      public boolean hasParentName()
      Checks whether the 'parentName' field has been set.
      Returns:
      True if the 'parentName' field has been set, false otherwise.
    • clearParentName

      public OfficeDataV1.Builder clearParentName()
      Clears the value of the 'parentName' field.
      Returns:
      This builder.
    • getAllowedParents

      public List<OfficeDataV1> getAllowedParents()
      Gets the value of the 'allowedParents' field.
      Returns:
      The value.
    • setAllowedParents

      public OfficeDataV1.Builder setAllowedParents(List<OfficeDataV1> value)
      Sets the value of the 'allowedParents' field.
      Parameters:
      value - The value of 'allowedParents'.
      Returns:
      This builder.
    • hasAllowedParents

      public boolean hasAllowedParents()
      Checks whether the 'allowedParents' field has been set.
      Returns:
      True if the 'allowedParents' field has been set, false otherwise.
    • clearAllowedParents

      public OfficeDataV1.Builder clearAllowedParents()
      Clears the value of the 'allowedParents' field.
      Returns:
      This builder.
    • build

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