org.mechio.impl.sensor
Class ChannelDoubleRecord.Builder

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

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

RecordBuilder for ChannelDoubleRecord instances.


Method Summary
 ChannelDoubleRecord build()
           
 ChannelDoubleRecord.Builder clearChannelId()
          Clears the value of the 'channelId' field
 ChannelDoubleRecord.Builder clearDoubleValue()
          Clears the value of the 'doubleValue' field
 ChannelDoubleRecord.Builder clearHeader()
          Clears the value of the 'header' field
 java.lang.Integer getChannelId()
          Gets the value of the 'channelId' field
 java.lang.Double getDoubleValue()
          Gets the value of the 'doubleValue' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 ChannelDoubleRecord getValue()
           
 boolean hasChannelId()
          Checks whether the 'channelId' field has been set
 boolean hasDoubleValue()
          Checks whether the 'doubleValue' field has been set
 boolean hasHeader()
          Checks whether the 'header' field has been set
 ChannelDoubleRecord.Builder setChannelId(int value)
          Sets the value of the 'channelId' field
 ChannelDoubleRecord.Builder setDoubleValue(double value)
          Sets the value of the 'doubleValue' field
 ChannelDoubleRecord.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 ChannelDoubleRecord.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 ChannelDoubleRecord.Builder clearHeader()
Clears the value of the 'header' field


getChannelId

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


setChannelId

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


getDoubleValue

public java.lang.Double getDoubleValue()
Gets the value of the 'doubleValue' field


setDoubleValue

public ChannelDoubleRecord.Builder setDoubleValue(double value)
Sets the value of the 'doubleValue' field


hasDoubleValue

public boolean hasDoubleValue()
Checks whether the 'doubleValue' field has been set


clearDoubleValue

public ChannelDoubleRecord.Builder clearDoubleValue()
Clears the value of the 'doubleValue' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.