org.mechio.impl.sensor
Class ChannelDoubleRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.sensor.ChannelDoubleRecord
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, ChannelDoubleEvent

public class ChannelDoubleRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, ChannelDoubleEvent


Nested Class Summary
static class ChannelDoubleRecord.Builder
          RecordBuilder for ChannelDoubleRecord instances.
 
Field Summary
 int channelId
          Deprecated. 
 double doubleValue
          Deprecated. 
 HeaderRecord header
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
ChannelDoubleRecord()
           
 
Method Summary
 java.lang.Object get(int 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.
 org.apache.avro.Schema getSchema()
           
static ChannelDoubleRecord.Builder newBuilder()
          Creates a new ChannelDoubleRecord RecordBuilder
static ChannelDoubleRecord.Builder newBuilder(ChannelDoubleRecord.Builder other)
          Creates a new ChannelDoubleRecord RecordBuilder by copying an existing Builder
static ChannelDoubleRecord.Builder newBuilder(ChannelDoubleRecord other)
          Creates a new ChannelDoubleRecord RecordBuilder by copying an existing ChannelDoubleRecord instance
 void put(int field$, java.lang.Object value$)
           
 void setChannelId(java.lang.Integer value)
          Sets the value of the 'channelId' field.
 void setDoubleValue(java.lang.Double value)
          Sets the value of the 'doubleValue' field.
 void setHeader(HeaderRecord value)
          Sets the value of the 'header' 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. 

doubleValue

@Deprecated
public double doubleValue
Deprecated. 
Constructor Detail

ChannelDoubleRecord

public ChannelDoubleRecord()
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 ChannelDoubleEvent

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 ChannelDoubleEvent

setChannelId

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

Parameters:
value - the value to set.

getDoubleValue

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

Specified by:
getDoubleValue in interface ChannelDoubleEvent

setDoubleValue

public void setDoubleValue(java.lang.Double value)
Sets the value of the 'doubleValue' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2014. All Rights Reserved.