Class GroupRoleDataV1.Builder

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

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

    • getId

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

      public GroupRoleDataV1.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 GroupRoleDataV1.Builder clearId()
      Clears the value of the 'id' field.
      Returns:
      This builder.
    • getRole

      public CodeValueDataV1 getRole()
      Gets the value of the 'role' field.
      Returns:
      The value.
    • setRole

      public GroupRoleDataV1.Builder setRole(CodeValueDataV1 value)
      Sets the value of the 'role' field.
      Parameters:
      value - The value of 'role'.
      Returns:
      This builder.
    • hasRole

      public boolean hasRole()
      Checks whether the 'role' field has been set.
      Returns:
      True if the 'role' field has been set, false otherwise.
    • getRoleBuilder

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

      public GroupRoleDataV1.Builder setRoleBuilder(CodeValueDataV1.Builder value)
      Sets the Builder instance for the 'role' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasRoleBuilder

      public boolean hasRoleBuilder()
      Checks whether the 'role' field has an active Builder instance
      Returns:
      True if the 'role' field has an active Builder instance
    • clearRole

      public GroupRoleDataV1.Builder clearRole()
      Clears the value of the 'role' field.
      Returns:
      This builder.
    • getClientId

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

      public GroupRoleDataV1.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 GroupRoleDataV1.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 GroupRoleDataV1.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 GroupRoleDataV1.Builder clearClientName()
      Clears the value of the 'clientName' field.
      Returns:
      This builder.
    • build

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