org.robokind.impl.sensor
Class DeviceAnalogRecord

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

public class DeviceAnalogRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, DeviceAnalogEvent


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

analogValue

@Deprecated
public double analogValue
Deprecated. 
Constructor Detail

DeviceAnalogRecord

public DeviceAnalogRecord()
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 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$,
                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 DeviceAnalogEvent

setHeader

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

Parameters:
value - the value to set.

getChannelId

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

Specified by:
getChannelId in interface DeviceAnalogEvent

setChannelId

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

Parameters:
value - the value to set.

getAnalogValue

public Double getAnalogValue()
Gets the value of the 'analogValue' field.

Specified by:
getAnalogValue in interface DeviceAnalogEvent

setAnalogValue

public void setAnalogValue(Double value)
Sets the value of the 'analogValue' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.