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 Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'clientId' field.Clears the value of the 'clientName' field.clearId()Clears the value of the 'id' field.Clears the value of the 'role' field.Gets the value of the 'clientId' field.Gets the value of the 'clientName' field.getId()Gets the value of the 'id' field.getRole()Gets the value of the 'role' field.Gets the Builder instance for the 'role' field and creates one if it doesn't exist yet.booleanChecks whether the 'clientId' field has been set.booleanChecks whether the 'clientName' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanhasRole()Checks whether the 'role' field has been set.booleanChecks whether the 'role' field has an active Builder instancesetClientId(Long value) Sets the value of the 'clientId' field.setClientName(String value) Sets the value of the 'clientName' field.Sets the value of the 'id' field.setRole(CodeValueDataV1 value) Sets the value of the 'role' field.Sets the Builder instance for the 'role' 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.
-
getRole
Gets the value of the 'role' field.- Returns:
- The value.
-
setRole
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
Gets the Builder instance for the 'role' field and creates one if it doesn't exist yet.- Returns:
- This builder.
-
setRoleBuilder
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
Clears the value of the 'role' field.- Returns:
- This builder.
-
getClientId
Gets the value of the 'clientId' field.- Returns:
- The value.
-
setClientId
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
Clears the value of the 'clientId' field.- Returns:
- This builder.
-
getClientName
Gets the value of the 'clientName' field.- Returns:
- The value.
-
setClientName
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
Clears the value of the 'clientName' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<GroupRoleDataV1>
-