org.mechio.impl.sensor
Class TimedRGBOutputRecord.Builder

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

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

RecordBuilder for TimedRGBOutputRecord instances.


Method Summary
 TimedRGBOutputRecord build()
           
 TimedRGBOutputRecord.Builder clearBlue()
          Clears the value of the 'blue' field
 TimedRGBOutputRecord.Builder clearChannelId()
          Clears the value of the 'channelId' field
 TimedRGBOutputRecord.Builder clearGreen()
          Clears the value of the 'green' field
 TimedRGBOutputRecord.Builder clearHeader()
          Clears the value of the 'header' field
 TimedRGBOutputRecord.Builder clearInterpolationInterval()
          Clears the value of the 'interpolationInterval' field
 TimedRGBOutputRecord.Builder clearRed()
          Clears the value of the 'red' field
 TimedRGBOutputRecord.Builder clearTargetTime()
          Clears the value of the 'targetTime' field
 java.lang.Integer getBlue()
          Gets the value of the 'blue' field
 java.lang.Integer getChannelId()
          Gets the value of the 'channelId' field
 java.lang.Integer getGreen()
          Gets the value of the 'green' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 java.lang.Integer getInterpolationInterval()
          Gets the value of the 'interpolationInterval' field
 java.lang.Integer getRed()
          Gets the value of the 'red' field
 java.lang.Integer getTargetTime()
          Gets the value of the 'targetTime' field
 TimedRGBOutputRecord getValue()
           
 boolean hasBlue()
          Checks whether the 'blue' field has been set
 boolean hasChannelId()
          Checks whether the 'channelId' field has been set
 boolean hasGreen()
          Checks whether the 'green' field has been set
 boolean hasHeader()
          Checks whether the 'header' field has been set
 boolean hasInterpolationInterval()
          Checks whether the 'interpolationInterval' field has been set
 boolean hasRed()
          Checks whether the 'red' field has been set
 boolean hasTargetTime()
          Checks whether the 'targetTime' field has been set
 TimedRGBOutputRecord.Builder setBlue(int value)
          Sets the value of the 'blue' field
 TimedRGBOutputRecord.Builder setChannelId(int value)
          Sets the value of the 'channelId' field
 TimedRGBOutputRecord.Builder setGreen(int value)
          Sets the value of the 'green' field
 TimedRGBOutputRecord.Builder setHeader(HeaderRecord value)
          Sets the value of the 'header' field
 TimedRGBOutputRecord.Builder setInterpolationInterval(int value)
          Sets the value of the 'interpolationInterval' field
 TimedRGBOutputRecord.Builder setRed(int value)
          Sets the value of the 'red' field
 TimedRGBOutputRecord.Builder setTargetTime(int value)
          Sets the value of the 'targetTime' 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 TimedRGBOutputRecord.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 TimedRGBOutputRecord.Builder clearHeader()
Clears the value of the 'header' field


getChannelId

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


setChannelId

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


getRed

public java.lang.Integer getRed()
Gets the value of the 'red' field


setRed

public TimedRGBOutputRecord.Builder setRed(int value)
Sets the value of the 'red' field


hasRed

public boolean hasRed()
Checks whether the 'red' field has been set


clearRed

public TimedRGBOutputRecord.Builder clearRed()
Clears the value of the 'red' field


getGreen

public java.lang.Integer getGreen()
Gets the value of the 'green' field


setGreen

public TimedRGBOutputRecord.Builder setGreen(int value)
Sets the value of the 'green' field


hasGreen

public boolean hasGreen()
Checks whether the 'green' field has been set


clearGreen

public TimedRGBOutputRecord.Builder clearGreen()
Clears the value of the 'green' field


getBlue

public java.lang.Integer getBlue()
Gets the value of the 'blue' field


setBlue

public TimedRGBOutputRecord.Builder setBlue(int value)
Sets the value of the 'blue' field


hasBlue

public boolean hasBlue()
Checks whether the 'blue' field has been set


clearBlue

public TimedRGBOutputRecord.Builder clearBlue()
Clears the value of the 'blue' field


getTargetTime

public java.lang.Integer getTargetTime()
Gets the value of the 'targetTime' field


setTargetTime

public TimedRGBOutputRecord.Builder setTargetTime(int value)
Sets the value of the 'targetTime' field


hasTargetTime

public boolean hasTargetTime()
Checks whether the 'targetTime' field has been set


clearTargetTime

public TimedRGBOutputRecord.Builder clearTargetTime()
Clears the value of the 'targetTime' field


getInterpolationInterval

public java.lang.Integer getInterpolationInterval()
Gets the value of the 'interpolationInterval' field


setInterpolationInterval

public TimedRGBOutputRecord.Builder setInterpolationInterval(int value)
Sets the value of the 'interpolationInterval' field


hasInterpolationInterval

public boolean hasInterpolationInterval()
Checks whether the 'interpolationInterval' field has been set


clearInterpolationInterval

public TimedRGBOutputRecord.Builder clearInterpolationInterval()
Clears the value of the 'interpolationInterval' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.