Package org.apache.fineract.avro.loan.v1
Class LoanProductGuaranteeDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<LoanProductGuaranteeDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<LoanProductGuaranteeDataV1>
org.apache.fineract.avro.loan.v1.LoanProductGuaranteeDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<LoanProductGuaranteeDataV1>
- Enclosing class:
LoanProductGuaranteeDataV1
public static class LoanProductGuaranteeDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<LoanProductGuaranteeDataV1>
implements org.apache.avro.data.RecordBuilder<LoanProductGuaranteeDataV1>
RecordBuilder for LoanProductGuaranteeDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()clearId()Clears the value of the 'id' field.Clears the value of the 'mandatoryGuarantee' field.Clears the value of the 'minimumGuaranteeFromGuarantor' field.Clears the value of the 'minimumGuaranteeFromOwnFunds' field.Clears the value of the 'productId' field.getId()Gets the value of the 'id' field.Gets the value of the 'mandatoryGuarantee' field.Gets the value of the 'minimumGuaranteeFromGuarantor' field.Gets the value of the 'minimumGuaranteeFromOwnFunds' field.Gets the value of the 'productId' field.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'mandatoryGuarantee' field has been set.booleanChecks whether the 'minimumGuaranteeFromGuarantor' field has been set.booleanChecks whether the 'minimumGuaranteeFromOwnFunds' field has been set.booleanChecks whether the 'productId' field has been set.Sets the value of the 'id' field.setMandatoryGuarantee(BigDecimal value) Sets the value of the 'mandatoryGuarantee' field.Sets the value of the 'minimumGuaranteeFromGuarantor' field.Sets the value of the 'minimumGuaranteeFromOwnFunds' field.setProductId(Long value) Sets the value of the 'productId' 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.
-
getProductId
Gets the value of the 'productId' field.- Returns:
- The value.
-
setProductId
Sets the value of the 'productId' field.- Parameters:
value- The value of 'productId'.- Returns:
- This builder.
-
hasProductId
public boolean hasProductId()Checks whether the 'productId' field has been set.- Returns:
- True if the 'productId' field has been set, false otherwise.
-
clearProductId
Clears the value of the 'productId' field.- Returns:
- This builder.
-
getMandatoryGuarantee
Gets the value of the 'mandatoryGuarantee' field.- Returns:
- The value.
-
setMandatoryGuarantee
Sets the value of the 'mandatoryGuarantee' field.- Parameters:
value- The value of 'mandatoryGuarantee'.- Returns:
- This builder.
-
hasMandatoryGuarantee
public boolean hasMandatoryGuarantee()Checks whether the 'mandatoryGuarantee' field has been set.- Returns:
- True if the 'mandatoryGuarantee' field has been set, false otherwise.
-
clearMandatoryGuarantee
Clears the value of the 'mandatoryGuarantee' field.- Returns:
- This builder.
-
getMinimumGuaranteeFromOwnFunds
Gets the value of the 'minimumGuaranteeFromOwnFunds' field.- Returns:
- The value.
-
setMinimumGuaranteeFromOwnFunds
Sets the value of the 'minimumGuaranteeFromOwnFunds' field.- Parameters:
value- The value of 'minimumGuaranteeFromOwnFunds'.- Returns:
- This builder.
-
hasMinimumGuaranteeFromOwnFunds
public boolean hasMinimumGuaranteeFromOwnFunds()Checks whether the 'minimumGuaranteeFromOwnFunds' field has been set.- Returns:
- True if the 'minimumGuaranteeFromOwnFunds' field has been set, false otherwise.
-
clearMinimumGuaranteeFromOwnFunds
Clears the value of the 'minimumGuaranteeFromOwnFunds' field.- Returns:
- This builder.
-
getMinimumGuaranteeFromGuarantor
Gets the value of the 'minimumGuaranteeFromGuarantor' field.- Returns:
- The value.
-
setMinimumGuaranteeFromGuarantor
Sets the value of the 'minimumGuaranteeFromGuarantor' field.- Parameters:
value- The value of 'minimumGuaranteeFromGuarantor'.- Returns:
- This builder.
-
hasMinimumGuaranteeFromGuarantor
public boolean hasMinimumGuaranteeFromGuarantor()Checks whether the 'minimumGuaranteeFromGuarantor' field has been set.- Returns:
- True if the 'minimumGuaranteeFromGuarantor' field has been set, false otherwise.
-
clearMinimumGuaranteeFromGuarantor
Clears the value of the 'minimumGuaranteeFromGuarantor' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<LoanProductGuaranteeDataV1>
-