Package net.corda.data.demo
Class DemoStateRecord.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class DemoStateRecord.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for DemoStateRecord 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. DemoStateRecord.Builder
setValue(int value)
Sets the value of the 'value' field. boolean
hasValue()
Checks whether the 'value' field has been set. DemoStateRecord.Builder
clearValue()
Clears the value of the 'value' field. DemoStateRecord
build()
-
-
Method Detail
-
getValue
int getValue()
Gets the value of the 'value' field.
-
setValue
DemoStateRecord.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
DemoStateRecord.Builder clearValue()
Clears the value of the 'value' field.
-
build
DemoStateRecord build()
-
-
-
-