org.mechio.impl.sensor
Class TimedRGBOutputRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.sensor.TimedRGBOutputRecord
All Implemented Interfaces:
java.lang.Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord, TimedRGBOutputEvent

public class TimedRGBOutputRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, TimedRGBOutputEvent


Nested Class Summary
static class TimedRGBOutputRecord.Builder
          RecordBuilder for TimedRGBOutputRecord instances.
 
Field Summary
 int blue
          Deprecated. 
 int channelId
          Deprecated. 
 int green
          Deprecated. 
 HeaderRecord header
          Deprecated. 
 int interpolationInterval
          Deprecated. 
 int red
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 int targetTime
          Deprecated. 
 
Constructor Summary
TimedRGBOutputRecord()
           
 
Method Summary
 java.lang.Object get(int 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.
 org.apache.avro.Schema getSchema()
           
 java.lang.Integer getTargetTime()
          Gets the value of the 'targetTime' field.
static TimedRGBOutputRecord.Builder newBuilder()
          Creates a new TimedRGBOutputRecord RecordBuilder
static TimedRGBOutputRecord.Builder newBuilder(TimedRGBOutputRecord.Builder other)
          Creates a new TimedRGBOutputRecord RecordBuilder by copying an existing Builder
static TimedRGBOutputRecord.Builder newBuilder(TimedRGBOutputRecord other)
          Creates a new TimedRGBOutputRecord RecordBuilder by copying an existing TimedRGBOutputRecord instance
 void put(int field$, java.lang.Object value$)
           
 void setBlue(java.lang.Integer value)
          Sets the value of the 'blue' field.
 void setChannelId(java.lang.Integer value)
          Sets the value of the 'channelId' field.
 void setGreen(java.lang.Integer value)
          Sets the value of the 'green' field.
 void setHeader(HeaderRecord value)
          Sets the value of the 'header' field.
 void setInterpolationInterval(java.lang.Integer value)
          Sets the value of the 'interpolationInterval' field.
 void setRed(java.lang.Integer value)
          Sets the value of the 'red' field.
 void setTargetTime(java.lang.Integer value)
          Sets the value of the 'targetTime' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

header

@Deprecated
public HeaderRecord header
Deprecated. 

channelId

@Deprecated
public int channelId
Deprecated. 

red

@Deprecated
public int red
Deprecated. 

green

@Deprecated
public int green
Deprecated. 

blue

@Deprecated
public int blue
Deprecated. 

targetTime

@Deprecated
public int targetTime
Deprecated. 

interpolationInterval

@Deprecated
public int interpolationInterval
Deprecated. 
Constructor Detail

TimedRGBOutputRecord

public TimedRGBOutputRecord()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public java.lang.Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                java.lang.Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getHeader

public HeaderRecord getHeader()
Gets the value of the 'header' field.

Specified by:
getHeader in interface TimedRGBOutputEvent

setHeader

public void setHeader(HeaderRecord value)
Sets the value of the 'header' field.

Parameters:
value - the value to set.

getChannelId

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

Specified by:
getChannelId in interface TimedRGBOutputEvent

setChannelId

public void setChannelId(java.lang.Integer value)
Sets the value of the 'channelId' field.

Parameters:
value - the value to set.

getRed

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

Specified by:
getRed in interface TimedRGBOutputEvent

setRed

public void setRed(java.lang.Integer value)
Sets the value of the 'red' field.

Parameters:
value - the value to set.

getGreen

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

Specified by:
getGreen in interface TimedRGBOutputEvent

setGreen

public void setGreen(java.lang.Integer value)
Sets the value of the 'green' field.

Parameters:
value - the value to set.

getBlue

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

Specified by:
getBlue in interface TimedRGBOutputEvent

setBlue

public void setBlue(java.lang.Integer value)
Sets the value of the 'blue' field.

Parameters:
value - the value to set.

getTargetTime

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

Specified by:
getTargetTime in interface TimedRGBOutputEvent

setTargetTime

public void setTargetTime(java.lang.Integer value)
Sets the value of the 'targetTime' field.

Parameters:
value - the value to set.

getInterpolationInterval

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

Specified by:
getInterpolationInterval in interface TimedRGBOutputEvent

setInterpolationInterval

public void setInterpolationInterval(java.lang.Integer value)
Sets the value of the 'interpolationInterval' field.

Parameters:
value - the value to set.

newBuilder

public static TimedRGBOutputRecord.Builder newBuilder()
Creates a new TimedRGBOutputRecord RecordBuilder


newBuilder

public static TimedRGBOutputRecord.Builder newBuilder(TimedRGBOutputRecord.Builder other)
Creates a new TimedRGBOutputRecord RecordBuilder by copying an existing Builder


newBuilder

public static TimedRGBOutputRecord.Builder newBuilder(TimedRGBOutputRecord other)
Creates a new TimedRGBOutputRecord RecordBuilder by copying an existing TimedRGBOutputRecord instance



Copyright © 2011-2014. All Rights Reserved.