Class ShareAccountStatusEnumDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<ShareAccountStatusEnumDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<ShareAccountStatusEnumDataV1>
org.apache.fineract.avro.share.v1.ShareAccountStatusEnumDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ShareAccountStatusEnumDataV1>
- Enclosing class:
ShareAccountStatusEnumDataV1
public static class ShareAccountStatusEnumDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ShareAccountStatusEnumDataV1>
implements org.apache.avro.data.RecordBuilder<ShareAccountStatusEnumDataV1>
RecordBuilder for ShareAccountStatusEnumDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'active' field.Clears the value of the 'approved' field.Clears the value of the 'closed' field.Clears the value of the 'code' field.clearId()Clears the value of the 'id' field.Clears the value of the 'rejected' field.Clears the value of the 'submittedAndPendingApproval' field.Clears the value of the 'value' field.Gets the value of the 'active' field.Gets the value of the 'approved' field.Gets the value of the 'closed' field.getCode()Gets the value of the 'code' field.getId()Gets the value of the 'id' field.Gets the value of the 'rejected' field.Gets the value of the 'submittedAndPendingApproval' field.getValue()Gets the value of the 'value' field.booleanChecks whether the 'active' field has been set.booleanChecks whether the 'approved' field has been set.booleanChecks whether the 'closed' field has been set.booleanhasCode()Checks whether the 'code' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'rejected' field has been set.booleanChecks whether the 'submittedAndPendingApproval' field has been set.booleanhasValue()Checks whether the 'value' field has been set.Sets the value of the 'active' field.setApproved(Boolean value) Sets the value of the 'approved' field.Sets the value of the 'closed' field.Sets the value of the 'code' field.Sets the value of the 'id' field.setRejected(Boolean value) Sets the value of the 'rejected' field.Sets the value of the 'submittedAndPendingApproval' field.Sets the value of the 'value' field.Methods 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.
-
getCode
Gets the value of the 'code' field.- Returns:
- The value.
-
setCode
Sets the value of the 'code' field.- Parameters:
value- The value of 'code'.- Returns:
- This builder.
-
hasCode
public boolean hasCode()Checks whether the 'code' field has been set.- Returns:
- True if the 'code' field has been set, false otherwise.
-
clearCode
Clears the value of the 'code' field.- Returns:
- This builder.
-
getValue
Gets the value of the 'value' field.- Returns:
- The value.
-
setValue
Sets the value of the 'value' field.- Parameters:
value- The value of 'value'.- Returns:
- This builder.
-
hasValue
public boolean hasValue()Checks whether the 'value' field has been set.- Returns:
- True if the 'value' field has been set, false otherwise.
-
clearValue
Clears the value of the 'value' field.- Returns:
- This builder.
-
getSubmittedAndPendingApproval
Gets the value of the 'submittedAndPendingApproval' field.- Returns:
- The value.
-
setSubmittedAndPendingApproval
Sets the value of the 'submittedAndPendingApproval' field.- Parameters:
value- The value of 'submittedAndPendingApproval'.- Returns:
- This builder.
-
hasSubmittedAndPendingApproval
public boolean hasSubmittedAndPendingApproval()Checks whether the 'submittedAndPendingApproval' field has been set.- Returns:
- True if the 'submittedAndPendingApproval' field has been set, false otherwise.
-
clearSubmittedAndPendingApproval
Clears the value of the 'submittedAndPendingApproval' field.- Returns:
- This builder.
-
getApproved
Gets the value of the 'approved' field.- Returns:
- The value.
-
setApproved
Sets the value of the 'approved' field.- Parameters:
value- The value of 'approved'.- Returns:
- This builder.
-
hasApproved
public boolean hasApproved()Checks whether the 'approved' field has been set.- Returns:
- True if the 'approved' field has been set, false otherwise.
-
clearApproved
Clears the value of the 'approved' field.- Returns:
- This builder.
-
getRejected
Gets the value of the 'rejected' field.- Returns:
- The value.
-
setRejected
Sets the value of the 'rejected' field.- Parameters:
value- The value of 'rejected'.- Returns:
- This builder.
-
hasRejected
public boolean hasRejected()Checks whether the 'rejected' field has been set.- Returns:
- True if the 'rejected' field has been set, false otherwise.
-
clearRejected
Clears the value of the 'rejected' 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.
-
getClosed
Gets the value of the 'closed' field.- Returns:
- The value.
-
setClosed
Sets the value of the 'closed' field.- Parameters:
value- The value of 'closed'.- Returns:
- This builder.
-
hasClosed
public boolean hasClosed()Checks whether the 'closed' field has been set.- Returns:
- True if the 'closed' field has been set, false otherwise.
-
clearClosed
Clears the value of the 'closed' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ShareAccountStatusEnumDataV1>
-