Package org.apache.fineract.avro.loan.v1
Class DelinquencyRangeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<DelinquencyRangeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<DelinquencyRangeDataV1>
org.apache.fineract.avro.loan.v1.DelinquencyRangeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DelinquencyRangeDataV1>
- Enclosing class:
DelinquencyRangeDataV1
public static class DelinquencyRangeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<DelinquencyRangeDataV1>
implements org.apache.avro.data.RecordBuilder<DelinquencyRangeDataV1>
RecordBuilder for DelinquencyRangeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'classification' field.clearId()Clears the value of the 'id' field.Clears the value of the 'maximumAgeDays' field.Clears the value of the 'minimumAgeDays' field.Gets the value of the 'classification' field.getId()Gets the value of the 'id' field.Gets the value of the 'maximumAgeDays' field.Gets the value of the 'minimumAgeDays' field.booleanChecks whether the 'classification' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'maximumAgeDays' field has been set.booleanChecks whether the 'minimumAgeDays' field has been set.setClassification(String value) Sets the value of the 'classification' field.Sets the value of the 'id' field.setMaximumAgeDays(Integer value) Sets the value of the 'maximumAgeDays' field.setMinimumAgeDays(Integer value) Sets the value of the 'minimumAgeDays' 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.
-
getClassification
Gets the value of the 'classification' field.- Returns:
- The value.
-
setClassification
Sets the value of the 'classification' field.- Parameters:
value- The value of 'classification'.- Returns:
- This builder.
-
hasClassification
public boolean hasClassification()Checks whether the 'classification' field has been set.- Returns:
- True if the 'classification' field has been set, false otherwise.
-
clearClassification
Clears the value of the 'classification' field.- Returns:
- This builder.
-
getMinimumAgeDays
Gets the value of the 'minimumAgeDays' field.- Returns:
- The value.
-
setMinimumAgeDays
Sets the value of the 'minimumAgeDays' field.- Parameters:
value- The value of 'minimumAgeDays'.- Returns:
- This builder.
-
hasMinimumAgeDays
public boolean hasMinimumAgeDays()Checks whether the 'minimumAgeDays' field has been set.- Returns:
- True if the 'minimumAgeDays' field has been set, false otherwise.
-
clearMinimumAgeDays
Clears the value of the 'minimumAgeDays' field.- Returns:
- This builder.
-
getMaximumAgeDays
Gets the value of the 'maximumAgeDays' field.- Returns:
- The value.
-
setMaximumAgeDays
Sets the value of the 'maximumAgeDays' field.- Parameters:
value- The value of 'maximumAgeDays'.- Returns:
- This builder.
-
hasMaximumAgeDays
public boolean hasMaximumAgeDays()Checks whether the 'maximumAgeDays' field has been set.- Returns:
- True if the 'maximumAgeDays' field has been set, false otherwise.
-
clearMaximumAgeDays
Clears the value of the 'maximumAgeDays' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<DelinquencyRangeDataV1>
-