Class GroupGeneralDataV1.Builder

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

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

    • getId

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

      public GroupGeneralDataV1.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 GroupGeneralDataV1.Builder 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 GroupGeneralDataV1.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 GroupGeneralDataV1.Builder clearAccountNo()
      Clears the value of the 'accountNo' field.
      Returns:
      This builder.
    • getName

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

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

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

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

      public EnumOptionDataV1 getStatus()
      Gets the value of the 'status' field.
      Returns:
      The value.
    • setStatus

      public GroupGeneralDataV1.Builder setStatus(EnumOptionDataV1 value)
      Sets the value of the 'status' field.
      Parameters:
      value - The value of 'status'.
      Returns:
      This builder.
    • hasStatus

      public boolean hasStatus()
      Checks whether the 'status' field has been set.
      Returns:
      True if the 'status' field has been set, false otherwise.
    • getStatusBuilder

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

      public GroupGeneralDataV1.Builder setStatusBuilder(EnumOptionDataV1.Builder value)
      Sets the Builder instance for the 'status' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasStatusBuilder

      public boolean hasStatusBuilder()
      Checks whether the 'status' field has an active Builder instance
      Returns:
      True if the 'status' field has an active Builder instance
    • clearStatus

      public GroupGeneralDataV1.Builder clearStatus()
      Clears the value of the 'status' field.
      Returns:
      This builder.
    • getActive

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

      public GroupGeneralDataV1.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 GroupGeneralDataV1.Builder clearActive()
      Clears the value of the 'active' field.
      Returns:
      This builder.
    • getActivationDate

      public String getActivationDate()
      Gets the value of the 'activationDate' field.
      Returns:
      The value.
    • setActivationDate

      public GroupGeneralDataV1.Builder setActivationDate(String value)
      Sets the value of the 'activationDate' field.
      Parameters:
      value - The value of 'activationDate'.
      Returns:
      This builder.
    • hasActivationDate

      public boolean hasActivationDate()
      Checks whether the 'activationDate' field has been set.
      Returns:
      True if the 'activationDate' field has been set, false otherwise.
    • clearActivationDate

      public GroupGeneralDataV1.Builder clearActivationDate()
      Clears the value of the 'activationDate' field.
      Returns:
      This builder.
    • getOfficeId

      public Long getOfficeId()
      Gets the value of the 'officeId' field.
      Returns:
      The value.
    • setOfficeId

      public GroupGeneralDataV1.Builder setOfficeId(Long value)
      Sets the value of the 'officeId' field.
      Parameters:
      value - The value of 'officeId'.
      Returns:
      This builder.
    • hasOfficeId

      public boolean hasOfficeId()
      Checks whether the 'officeId' field has been set.
      Returns:
      True if the 'officeId' field has been set, false otherwise.
    • clearOfficeId

      public GroupGeneralDataV1.Builder clearOfficeId()
      Clears the value of the 'officeId' field.
      Returns:
      This builder.
    • getOfficeName

      public String getOfficeName()
      Gets the value of the 'officeName' field.
      Returns:
      The value.
    • setOfficeName

      public GroupGeneralDataV1.Builder setOfficeName(String value)
      Sets the value of the 'officeName' field.
      Parameters:
      value - The value of 'officeName'.
      Returns:
      This builder.
    • hasOfficeName

      public boolean hasOfficeName()
      Checks whether the 'officeName' field has been set.
      Returns:
      True if the 'officeName' field has been set, false otherwise.
    • clearOfficeName

      public GroupGeneralDataV1.Builder clearOfficeName()
      Clears the value of the 'officeName' field.
      Returns:
      This builder.
    • getCenterId

      public Long getCenterId()
      Gets the value of the 'centerId' field.
      Returns:
      The value.
    • setCenterId

      public GroupGeneralDataV1.Builder setCenterId(Long value)
      Sets the value of the 'centerId' field.
      Parameters:
      value - The value of 'centerId'.
      Returns:
      This builder.
    • hasCenterId

      public boolean hasCenterId()
      Checks whether the 'centerId' field has been set.
      Returns:
      True if the 'centerId' field has been set, false otherwise.
    • clearCenterId

      public GroupGeneralDataV1.Builder clearCenterId()
      Clears the value of the 'centerId' field.
      Returns:
      This builder.
    • getCenterName

      public String getCenterName()
      Gets the value of the 'centerName' field.
      Returns:
      The value.
    • setCenterName

      public GroupGeneralDataV1.Builder setCenterName(String value)
      Sets the value of the 'centerName' field.
      Parameters:
      value - The value of 'centerName'.
      Returns:
      This builder.
    • hasCenterName

      public boolean hasCenterName()
      Checks whether the 'centerName' field has been set.
      Returns:
      True if the 'centerName' field has been set, false otherwise.
    • clearCenterName

      public GroupGeneralDataV1.Builder clearCenterName()
      Clears the value of the 'centerName' field.
      Returns:
      This builder.
    • getStaffId

      public Long getStaffId()
      Gets the value of the 'staffId' field.
      Returns:
      The value.
    • setStaffId

      public GroupGeneralDataV1.Builder setStaffId(Long value)
      Sets the value of the 'staffId' field.
      Parameters:
      value - The value of 'staffId'.
      Returns:
      This builder.
    • hasStaffId

      public boolean hasStaffId()
      Checks whether the 'staffId' field has been set.
      Returns:
      True if the 'staffId' field has been set, false otherwise.
    • clearStaffId

      public GroupGeneralDataV1.Builder clearStaffId()
      Clears the value of the 'staffId' field.
      Returns:
      This builder.
    • getStaffName

      public String getStaffName()
      Gets the value of the 'staffName' field.
      Returns:
      The value.
    • setStaffName

      public GroupGeneralDataV1.Builder setStaffName(String value)
      Sets the value of the 'staffName' field.
      Parameters:
      value - The value of 'staffName'.
      Returns:
      This builder.
    • hasStaffName

      public boolean hasStaffName()
      Checks whether the 'staffName' field has been set.
      Returns:
      True if the 'staffName' field has been set, false otherwise.
    • clearStaffName

      public GroupGeneralDataV1.Builder clearStaffName()
      Clears the value of the 'staffName' field.
      Returns:
      This builder.
    • getHierarchy

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

      public GroupGeneralDataV1.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 GroupGeneralDataV1.Builder clearHierarchy()
      Clears the value of the 'hierarchy' field.
      Returns:
      This builder.
    • getGroupLevel

      public String getGroupLevel()
      Gets the value of the 'groupLevel' field.
      Returns:
      The value.
    • setGroupLevel

      public GroupGeneralDataV1.Builder setGroupLevel(String value)
      Sets the value of the 'groupLevel' field.
      Parameters:
      value - The value of 'groupLevel'.
      Returns:
      This builder.
    • hasGroupLevel

      public boolean hasGroupLevel()
      Checks whether the 'groupLevel' field has been set.
      Returns:
      True if the 'groupLevel' field has been set, false otherwise.
    • clearGroupLevel

      public GroupGeneralDataV1.Builder clearGroupLevel()
      Clears the value of the 'groupLevel' field.
      Returns:
      This builder.
    • getGroupRoles

      public List<GroupRoleDataV1> getGroupRoles()
      Gets the value of the 'groupRoles' field.
      Returns:
      The value.
    • setGroupRoles

      public GroupGeneralDataV1.Builder setGroupRoles(List<GroupRoleDataV1> value)
      Sets the value of the 'groupRoles' field.
      Parameters:
      value - The value of 'groupRoles'.
      Returns:
      This builder.
    • hasGroupRoles

      public boolean hasGroupRoles()
      Checks whether the 'groupRoles' field has been set.
      Returns:
      True if the 'groupRoles' field has been set, false otherwise.
    • clearGroupRoles

      public GroupGeneralDataV1.Builder clearGroupRoles()
      Clears the value of the 'groupRoles' field.
      Returns:
      This builder.
    • getCalendarsData

      public List<CalendarDataV1> getCalendarsData()
      Gets the value of the 'calendarsData' field.
      Returns:
      The value.
    • setCalendarsData

      public GroupGeneralDataV1.Builder setCalendarsData(List<CalendarDataV1> value)
      Sets the value of the 'calendarsData' field.
      Parameters:
      value - The value of 'calendarsData'.
      Returns:
      This builder.
    • hasCalendarsData

      public boolean hasCalendarsData()
      Checks whether the 'calendarsData' field has been set.
      Returns:
      True if the 'calendarsData' field has been set, false otherwise.
    • clearCalendarsData

      public GroupGeneralDataV1.Builder clearCalendarsData()
      Clears the value of the 'calendarsData' field.
      Returns:
      This builder.
    • getCollectionMeetingCalendar

      public CalendarDataV1 getCollectionMeetingCalendar()
      Gets the value of the 'collectionMeetingCalendar' field.
      Returns:
      The value.
    • setCollectionMeetingCalendar

      public GroupGeneralDataV1.Builder setCollectionMeetingCalendar(CalendarDataV1 value)
      Sets the value of the 'collectionMeetingCalendar' field.
      Parameters:
      value - The value of 'collectionMeetingCalendar'.
      Returns:
      This builder.
    • hasCollectionMeetingCalendar

      public boolean hasCollectionMeetingCalendar()
      Checks whether the 'collectionMeetingCalendar' field has been set.
      Returns:
      True if the 'collectionMeetingCalendar' field has been set, false otherwise.
    • getCollectionMeetingCalendarBuilder

      public CalendarDataV1.Builder getCollectionMeetingCalendarBuilder()
      Gets the Builder instance for the 'collectionMeetingCalendar' field and creates one if it doesn't exist yet.
      Returns:
      This builder.
    • setCollectionMeetingCalendarBuilder

      public GroupGeneralDataV1.Builder setCollectionMeetingCalendarBuilder(CalendarDataV1.Builder value)
      Sets the Builder instance for the 'collectionMeetingCalendar' field
      Parameters:
      value - The builder instance that must be set.
      Returns:
      This builder.
    • hasCollectionMeetingCalendarBuilder

      public boolean hasCollectionMeetingCalendarBuilder()
      Checks whether the 'collectionMeetingCalendar' field has an active Builder instance
      Returns:
      True if the 'collectionMeetingCalendar' field has an active Builder instance
    • clearCollectionMeetingCalendar

      public GroupGeneralDataV1.Builder clearCollectionMeetingCalendar()
      Clears the value of the 'collectionMeetingCalendar' field.
      Returns:
      This builder.
    • build

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