Class ClientCollateralManagementDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<ClientCollateralManagementDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<ClientCollateralManagementDataV1>
org.apache.fineract.avro.client.v1.ClientCollateralManagementDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ClientCollateralManagementDataV1>
- Enclosing class:
ClientCollateralManagementDataV1
public static class ClientCollateralManagementDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ClientCollateralManagementDataV1>
implements org.apache.avro.data.RecordBuilder<ClientCollateralManagementDataV1>
RecordBuilder for ClientCollateralManagementDataV1 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 'pctToBase' field.Clears the value of the 'quantity' field.Clears the value of the 'total' field.Clears the value of the 'totalCollateral' field.Clears the value of the 'unitPrice' field.getId()Gets the value of the 'id' field.getName()Gets the value of the 'name' field.Gets the value of the 'pctToBase' field.Gets the value of the 'quantity' field.getTotal()Gets the value of the 'total' field.Gets the value of the 'totalCollateral' field.Gets the value of the 'unitPrice' field.booleanhasId()Checks whether the 'id' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'pctToBase' field has been set.booleanChecks whether the 'quantity' field has been set.booleanhasTotal()Checks whether the 'total' field has been set.booleanChecks whether the 'totalCollateral' field has been set.booleanChecks whether the 'unitPrice' field has been set.Sets the value of the 'id' field.Sets the value of the 'name' field.setPctToBase(BigDecimal value) Sets the value of the 'pctToBase' field.setQuantity(BigDecimal value) Sets the value of the 'quantity' field.setTotal(BigDecimal value) Sets the value of the 'total' field.setTotalCollateral(BigDecimal value) Sets the value of the 'totalCollateral' field.setUnitPrice(BigDecimal value) Sets the value of the 'unitPrice' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getQuantity
Gets the value of the 'quantity' field.- Returns:
- The value.
-
setQuantity
Sets the value of the 'quantity' field.- Parameters:
value- The value of 'quantity'.- Returns:
- This builder.
-
hasQuantity
public boolean hasQuantity()Checks whether the 'quantity' field has been set.- Returns:
- True if the 'quantity' field has been set, false otherwise.
-
clearQuantity
Clears the value of the 'quantity' field.- Returns:
- This builder.
-
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.
-
getPctToBase
Gets the value of the 'pctToBase' field.- Returns:
- The value.
-
setPctToBase
Sets the value of the 'pctToBase' field.- Parameters:
value- The value of 'pctToBase'.- Returns:
- This builder.
-
hasPctToBase
public boolean hasPctToBase()Checks whether the 'pctToBase' field has been set.- Returns:
- True if the 'pctToBase' field has been set, false otherwise.
-
clearPctToBase
Clears the value of the 'pctToBase' field.- Returns:
- This builder.
-
getUnitPrice
Gets the value of the 'unitPrice' field.- Returns:
- The value.
-
setUnitPrice
Sets the value of the 'unitPrice' field.- Parameters:
value- The value of 'unitPrice'.- Returns:
- This builder.
-
hasUnitPrice
public boolean hasUnitPrice()Checks whether the 'unitPrice' field has been set.- Returns:
- True if the 'unitPrice' field has been set, false otherwise.
-
clearUnitPrice
Clears the value of the 'unitPrice' field.- Returns:
- This builder.
-
getTotal
Gets the value of the 'total' field.- Returns:
- The value.
-
setTotal
Sets the value of the 'total' field.- Parameters:
value- The value of 'total'.- Returns:
- This builder.
-
hasTotal
public boolean hasTotal()Checks whether the 'total' field has been set.- Returns:
- True if the 'total' field has been set, false otherwise.
-
clearTotal
Clears the value of the 'total' field.- Returns:
- This builder.
-
getTotalCollateral
Gets the value of the 'totalCollateral' field.- Returns:
- The value.
-
setTotalCollateral
Sets the value of the 'totalCollateral' field.- Parameters:
value- The value of 'totalCollateral'.- Returns:
- This builder.
-
hasTotalCollateral
public boolean hasTotalCollateral()Checks whether the 'totalCollateral' field has been set.- Returns:
- True if the 'totalCollateral' field has been set, false otherwise.
-
clearTotalCollateral
Clears the value of the 'totalCollateral' 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.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ClientCollateralManagementDataV1>
-