org.mechio.impl.sensor
Class GpioConfigRecord.Builder

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

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

RecordBuilder for GpioConfigRecord instances.


Method Summary
 GpioConfigRecord build()
           
 GpioConfigRecord.Builder clearHeader()
          Clears the value of the 'header' field
 GpioConfigRecord.Builder clearInputMask()
          Clears the value of the 'inputMask' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 Integer getInputMask()
          Gets the value of the 'inputMask' field
 GpioConfigRecord getValue()
           
 boolean hasHeader()
          Checks whether the 'header' field has been set
 boolean hasInputMask()
          Checks whether the 'inputMask' field has been set
 GpioConfigRecord.Builder setHeader(HeaderRecord value)
          Sets the value of the 'header' field
 GpioConfigRecord.Builder setInputMask(int value)
          Sets the value of the 'inputMask' 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 GpioConfigRecord.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 GpioConfigRecord.Builder clearHeader()
Clears the value of the 'header' field


getInputMask

public Integer getInputMask()
Gets the value of the 'inputMask' field


setInputMask

public GpioConfigRecord.Builder setInputMask(int value)
Sets the value of the 'inputMask' field


hasInputMask

public boolean hasInputMask()
Checks whether the 'inputMask' field has been set


clearInputMask

public GpioConfigRecord.Builder clearInputMask()
Clears the value of the 'inputMask' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.