org.robokind.impl.sensor
Class AdcConfigRecord.Builder

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

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

RecordBuilder for AdcConfigRecord instances.


Method Summary
 AdcConfigRecord build()
           
 AdcConfigRecord.Builder clearChannelMask()
          Clears the value of the 'channelMask' field
 AdcConfigRecord.Builder clearHeader()
          Clears the value of the 'header' field
 Integer getChannelMask()
          Gets the value of the 'channelMask' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 AdcConfigRecord getValue()
           
 boolean hasChannelMask()
          Checks whether the 'channelMask' field has been set
 boolean hasHeader()
          Checks whether the 'header' field has been set
 AdcConfigRecord.Builder setChannelMask(int value)
          Sets the value of the 'channelMask' field
 AdcConfigRecord.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 AdcConfigRecord.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 AdcConfigRecord.Builder clearHeader()
Clears the value of the 'header' field


getChannelMask

public Integer getChannelMask()
Gets the value of the 'channelMask' field


setChannelMask

public AdcConfigRecord.Builder setChannelMask(int value)
Sets the value of the 'channelMask' field


hasChannelMask

public boolean hasChannelMask()
Checks whether the 'channelMask' field has been set


clearChannelMask

public AdcConfigRecord.Builder clearChannelMask()
Clears the value of the 'channelMask' field


build

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

getValue

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


Copyright © 2011-2013. All Rights Reserved.