org.mechio.impl.sensor
Class ChannelBoolRecord.Builder

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

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

RecordBuilder for ChannelBoolRecord instances.


Method Summary
 ChannelBoolRecord build()
           
 ChannelBoolRecord.Builder clearBoolValue()
          Clears the value of the 'boolValue' field
 ChannelBoolRecord.Builder clearChannelId()
          Clears the value of the 'channelId' field
 ChannelBoolRecord.Builder clearHeader()
          Clears the value of the 'header' field
 java.lang.Boolean getBoolValue()
          Gets the value of the 'boolValue' field
 java.lang.Integer getChannelId()
          Gets the value of the 'channelId' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 ChannelBoolRecord 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
 ChannelBoolRecord.Builder setBoolValue(boolean value)
          Sets the value of the 'boolValue' field
 ChannelBoolRecord.Builder setChannelId(int value)
          Sets the value of the 'channelId' field
 ChannelBoolRecord.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 ChannelBoolRecord.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 ChannelBoolRecord.Builder clearHeader()
Clears the value of the 'header' field


getChannelId

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


setChannelId

public ChannelBoolRecord.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 ChannelBoolRecord.Builder clearChannelId()
Clears the value of the 'channelId' field


getBoolValue

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


setBoolValue

public ChannelBoolRecord.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 ChannelBoolRecord.Builder clearBoolValue()
Clears the value of the 'boolValue' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.