Package org.apache.fineract.avro.loan.v1
Class DelinquencyBucketDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<DelinquencyBucketDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<DelinquencyBucketDataV1>
org.apache.fineract.avro.loan.v1.DelinquencyBucketDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DelinquencyBucketDataV1>
- Enclosing class:
DelinquencyBucketDataV1
public static class DelinquencyBucketDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<DelinquencyBucketDataV1>
implements org.apache.avro.data.RecordBuilder<DelinquencyBucketDataV1>
RecordBuilder for DelinquencyBucketDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()clearId()Clears the value of the 'id' field.Clears the value of the 'name' field.Clears the value of the 'ranges' field.getId()Gets the value of the 'id' field.getName()Gets the value of the 'name' field.Gets the value of the 'ranges' field.booleanhasId()Checks whether the 'id' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'ranges' field has been set.Sets the value of the 'id' field.Sets the value of the 'name' field.setRanges(List<DelinquencyRangeDataV1> value) Sets the value of the 'ranges' 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.
-
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.
-
getRanges
Gets the value of the 'ranges' field.- Returns:
- The value.
-
setRanges
Sets the value of the 'ranges' field.- Parameters:
value- The value of 'ranges'.- Returns:
- This builder.
-
hasRanges
public boolean hasRanges()Checks whether the 'ranges' field has been set.- Returns:
- True if the 'ranges' field has been set, false otherwise.
-
clearRanges
Clears the value of the 'ranges' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<DelinquencyBucketDataV1>
-