Package net.corda.data.demo
Class DemoRecord.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class DemoRecord.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for DemoRecord instances.
-
-
Field Summary
Fields Modifier and Type Field Description public int
value
-
Method Summary
Modifier and Type Method Description int
getValue()
Gets the value of the 'value' field. DemoRecord.Builder
setValue(int value)
Sets the value of the 'value' field. boolean
hasValue()
Checks whether the 'value' field has been set. DemoRecord.Builder
clearValue()
Clears the value of the 'value' field. DemoRecord
build()
-
-
Method Detail
-
getValue
int getValue()
Gets the value of the 'value' field.
-
setValue
DemoRecord.Builder setValue(int value)
Sets the value of the 'value' field.
- Parameters:
value
- The value of 'value'.
-
hasValue
boolean hasValue()
Checks whether the 'value' field has been set.
-
clearValue
DemoRecord.Builder clearValue()
Clears the value of the 'value' field.
-
build
DemoRecord build()
-
-
-
-