org.robokind.avrogen.sensor
Class DeviceBoolRecord.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<DeviceBoolRecord>
          extended by org.robokind.avrogen.sensor.DeviceBoolRecord.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<DeviceBoolRecord>, org.jflux.api.core.Source<DeviceBoolRecord>
Enclosing class:
DeviceBoolRecord

public static class DeviceBoolRecord.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<DeviceBoolRecord>
implements org.apache.avro.data.RecordBuilder<DeviceBoolRecord>, org.jflux.api.core.Source<DeviceBoolRecord>

RecordBuilder for DeviceBoolRecord instances.


Method Summary
 DeviceBoolRecord build()
           
 DeviceBoolRecord.Builder clearBoolValue()
          Clears the value of the 'boolValue' field
 DeviceBoolRecord.Builder clearChannelId()
          Clears the value of the 'channelId' field
 DeviceBoolRecord.Builder clearHeader()
          Clears the value of the 'header' field
 Boolean getBoolValue()
          Gets the value of the 'boolValue' field
 Integer getChannelId()
          Gets the value of the 'channelId' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 DeviceBoolRecord getValue()
           
 boolean hasBoolValue()
          Checks whether the 'boolValue' field has been set
 boolean hasChannelId()
          Checks whether the 'channelId' field has been set
 boolean hasHeader()
          Checks whether the 'header' field has been set
 DeviceBoolRecord.Builder setBoolValue(boolean value)
          Sets the value of the 'boolValue' field
 DeviceBoolRecord.Builder setChannelId(int value)
          Sets the value of the 'channelId' field
 DeviceBoolRecord.Builder setHeader(HeaderRecord value)
          Sets the value of the 'header' field
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHeader

public HeaderRecord getHeader()
Gets the value of the 'header' field


setHeader

public DeviceBoolRecord.Builder setHeader(HeaderRecord value)
Sets the value of the 'header' field


hasHeader

public boolean hasHeader()
Checks whether the 'header' field has been set


clearHeader

public DeviceBoolRecord.Builder clearHeader()
Clears the value of the 'header' field


getChannelId

public Integer getChannelId()
Gets the value of the 'channelId' field


setChannelId

public DeviceBoolRecord.Builder setChannelId(int value)
Sets the value of the 'channelId' field


hasChannelId

public boolean hasChannelId()
Checks whether the 'channelId' field has been set


clearChannelId

public DeviceBoolRecord.Builder clearChannelId()
Clears the value of the 'channelId' field


getBoolValue

public Boolean getBoolValue()
Gets the value of the 'boolValue' field


setBoolValue

public DeviceBoolRecord.Builder setBoolValue(boolean value)
Sets the value of the 'boolValue' field


hasBoolValue

public boolean hasBoolValue()
Checks whether the 'boolValue' field has been set


clearBoolValue

public DeviceBoolRecord.Builder clearBoolValue()
Clears the value of the 'boolValue' field


build

public DeviceBoolRecord build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<DeviceBoolRecord>

getValue

public DeviceBoolRecord getValue()
Specified by:
getValue in interface org.jflux.api.core.Source<DeviceBoolRecord>


Copyright © 2011-2013. All Rights Reserved.