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 Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'accountNo' field.Clears the value of the 'activationDate' field.Clears the value of the 'active' field.Clears the value of the 'calendarsData' field.Clears the value of the 'centerId' field.Clears the value of the 'centerName' field.Clears the value of the 'collectionMeetingCalendar' field.Clears the value of the 'externalId' field.Clears the value of the 'groupLevel' field.Clears the value of the 'groupRoles' field.Clears the value of the 'hierarchy' field.clearId()Clears the value of the 'id' field.Clears the value of the 'name' field.Clears the value of the 'officeId' field.Clears the value of the 'officeName' field.Clears the value of the 'staffId' field.Clears the value of the 'staffName' field.Clears the value of the 'status' field.Gets the value of the 'accountNo' field.Gets the value of the 'activationDate' field.Gets the value of the 'active' field.Gets the value of the 'calendarsData' field.Gets the value of the 'centerId' field.Gets the value of the 'centerName' field.Gets the value of the 'collectionMeetingCalendar' field.Gets the Builder instance for the 'collectionMeetingCalendar' field and creates one if it doesn't exist yet.Gets the value of the 'externalId' field.Gets the value of the 'groupLevel' field.Gets the value of the 'groupRoles' field.Gets the value of the 'hierarchy' field.getId()Gets the value of the 'id' field.getName()Gets the value of the 'name' field.Gets the value of the 'officeId' field.Gets the value of the 'officeName' field.Gets the value of the 'staffId' field.Gets the value of the 'staffName' field.Gets the value of the 'status' field.Gets the Builder instance for the 'status' field and creates one if it doesn't exist yet.booleanChecks whether the 'accountNo' field has been set.booleanChecks whether the 'activationDate' field has been set.booleanChecks whether the 'active' field has been set.booleanChecks whether the 'calendarsData' field has been set.booleanChecks whether the 'centerId' field has been set.booleanChecks whether the 'centerName' field has been set.booleanChecks whether the 'collectionMeetingCalendar' field has been set.booleanChecks whether the 'collectionMeetingCalendar' field has an active Builder instancebooleanChecks whether the 'externalId' field has been set.booleanChecks whether the 'groupLevel' field has been set.booleanChecks whether the 'groupRoles' field has been set.booleanChecks whether the 'hierarchy' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'officeId' field has been set.booleanChecks whether the 'officeName' field has been set.booleanChecks whether the 'staffId' field has been set.booleanChecks whether the 'staffName' field has been set.booleanChecks whether the 'status' field has been set.booleanChecks whether the 'status' field has an active Builder instancesetAccountNo(String value) Sets the value of the 'accountNo' field.setActivationDate(String value) Sets the value of the 'activationDate' field.Sets the value of the 'active' field.setCalendarsData(List<CalendarDataV1> value) Sets the value of the 'calendarsData' field.setCenterId(Long value) Sets the value of the 'centerId' field.setCenterName(String value) Sets the value of the 'centerName' field.Sets the value of the 'collectionMeetingCalendar' field.Sets the Builder instance for the 'collectionMeetingCalendar' fieldsetExternalId(String value) Sets the value of the 'externalId' field.setGroupLevel(String value) Sets the value of the 'groupLevel' field.setGroupRoles(List<GroupRoleDataV1> value) Sets the value of the 'groupRoles' field.setHierarchy(String value) Sets the value of the 'hierarchy' field.Sets the value of the 'id' field.Sets the value of the 'name' field.setOfficeId(Long value) Sets the value of the 'officeId' field.setOfficeName(String value) Sets the value of the 'officeName' field.setStaffId(Long value) Sets the value of the 'staffId' field.setStaffName(String value) Sets the value of the 'staffName' field.setStatus(EnumOptionDataV1 value) Sets the value of the 'status' field.Sets the Builder instance for the 'status' fieldMethods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getId
Gets the value of the 'id' field.- Returns:
- The value.
-
setId
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
Clears the value of the 'id' field.- Returns:
- This builder.
-
getAccountNo
Gets the value of the 'accountNo' field.- Returns:
- The value.
-
setAccountNo
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
Clears the value of the 'accountNo' field.- Returns:
- This builder.
-
getName
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
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
Clears the value of the 'name' field.- Returns:
- This builder.
-
getExternalId
Gets the value of the 'externalId' field.- Returns:
- The value.
-
setExternalId
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
Clears the value of the 'externalId' field.- Returns:
- This builder.
-
getStatus
Gets the value of the 'status' field.- Returns:
- The value.
-
setStatus
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
Gets the Builder instance for the 'status' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setStatusBuilder
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
Clears the value of the 'status' field.- Returns:
- This builder.
-
getActive
Gets the value of the 'active' field.- Returns:
- The value.
-
setActive
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
Clears the value of the 'active' field.- Returns:
- This builder.
-
getActivationDate
Gets the value of the 'activationDate' field.- Returns:
- The value.
-
setActivationDate
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
Clears the value of the 'activationDate' field.- Returns:
- This builder.
-
getOfficeId
Gets the value of the 'officeId' field.- Returns:
- The value.
-
setOfficeId
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
Clears the value of the 'officeId' field.- Returns:
- This builder.
-
getOfficeName
Gets the value of the 'officeName' field.- Returns:
- The value.
-
setOfficeName
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
Clears the value of the 'officeName' field.- Returns:
- This builder.
-
getCenterId
Gets the value of the 'centerId' field.- Returns:
- The value.
-
setCenterId
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
Clears the value of the 'centerId' field.- Returns:
- This builder.
-
getCenterName
Gets the value of the 'centerName' field.- Returns:
- The value.
-
setCenterName
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
Clears the value of the 'centerName' field.- Returns:
- This builder.
-
getStaffId
Gets the value of the 'staffId' field.- Returns:
- The value.
-
setStaffId
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
Clears the value of the 'staffId' field.- Returns:
- This builder.
-
getStaffName
Gets the value of the 'staffName' field.- Returns:
- The value.
-
setStaffName
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
Clears the value of the 'staffName' field.- Returns:
- This builder.
-
getHierarchy
Gets the value of the 'hierarchy' field.- Returns:
- The value.
-
setHierarchy
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
Clears the value of the 'hierarchy' field.- Returns:
- This builder.
-
getGroupLevel
Gets the value of the 'groupLevel' field.- Returns:
- The value.
-
setGroupLevel
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
Clears the value of the 'groupLevel' field.- Returns:
- This builder.
-
getGroupRoles
Gets the value of the 'groupRoles' field.- Returns:
- The value.
-
setGroupRoles
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
Clears the value of the 'groupRoles' field.- Returns:
- This builder.
-
getCalendarsData
Gets the value of the 'calendarsData' field.- Returns:
- The value.
-
setCalendarsData
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
Clears the value of the 'calendarsData' field.- Returns:
- This builder.
-
getCollectionMeetingCalendar
Gets the value of the 'collectionMeetingCalendar' field.- Returns:
- The value.
-
setCollectionMeetingCalendar
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
Gets the Builder instance for the 'collectionMeetingCalendar' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setCollectionMeetingCalendarBuilder
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
Clears the value of the 'collectionMeetingCalendar' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<GroupGeneralDataV1>
-