Class ShareProductMarketPriceDataV1.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<ShareProductMarketPriceDataV1>
org.apache.avro.specific.SpecificRecordBuilderBase<ShareProductMarketPriceDataV1>
org.apache.fineract.avro.share.v1.ShareProductMarketPriceDataV1.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ShareProductMarketPriceDataV1>
- Enclosing class:
ShareProductMarketPriceDataV1
public static class ShareProductMarketPriceDataV1.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ShareProductMarketPriceDataV1>
implements org.apache.avro.data.RecordBuilder<ShareProductMarketPriceDataV1>
RecordBuilder for ShareProductMarketPriceDataV1 instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'fromDate' field.clearId()Clears the value of the 'id' field.Clears the value of the 'shareValue' field.Gets the value of the 'fromDate' field.getId()Gets the value of the 'id' field.Gets the value of the 'shareValue' field.booleanChecks whether the 'fromDate' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'shareValue' field has been set.setFromDate(String value) Sets the value of the 'fromDate' field.Sets the value of the 'id' field.setShareValue(BigDecimal value) Sets the value of the 'shareValue' 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.
-
getFromDate
Gets the value of the 'fromDate' field.- Returns:
- The value.
-
setFromDate
Sets the value of the 'fromDate' field.- Parameters:
value- The value of 'fromDate'.- Returns:
- This builder.
-
hasFromDate
public boolean hasFromDate()Checks whether the 'fromDate' field has been set.- Returns:
- True if the 'fromDate' field has been set, false otherwise.
-
clearFromDate
Clears the value of the 'fromDate' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<ShareProductMarketPriceDataV1>
-