org.mechio.impl.sensor
Class CompassConfigRecord

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

public class CompassConfigRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, CompassConfigEvent<HeaderRecord>


Nested Class Summary
static class CompassConfigRecord.Builder
          RecordBuilder for CompassConfigRecord instances.
 
Field Summary
 int average
          Deprecated. 
 int bias
          Deprecated. 
 int gain
          Deprecated. 
 HeaderRecord header
          Deprecated. 
 int rate
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
CompassConfigRecord()
           
 
Method Summary
 java.lang.Object get(int field$)
           
 java.lang.Integer getAverage()
          Gets the value of the 'average' field.
 java.lang.Integer getBias()
          Gets the value of the 'bias' field.
 java.lang.Integer getGain()
          Gets the value of the 'gain' field.
 HeaderRecord getHeader()
          Gets the value of the 'header' field.
 java.lang.Integer getRate()
          Gets the value of the 'rate' field.
 org.apache.avro.Schema getSchema()
           
static CompassConfigRecord.Builder newBuilder()
          Creates a new CompassConfigRecord RecordBuilder
static CompassConfigRecord.Builder newBuilder(CompassConfigRecord.Builder other)
          Creates a new CompassConfigRecord RecordBuilder by copying an existing Builder
static CompassConfigRecord.Builder newBuilder(CompassConfigRecord other)
          Creates a new CompassConfigRecord RecordBuilder by copying an existing CompassConfigRecord instance
 void put(int field$, java.lang.Object value$)
           
 void setAverage(java.lang.Integer value)
          Sets the value of the 'average' field.
 void setBias(java.lang.Integer value)
          Sets the value of the 'bias' field.
 void setGain(java.lang.Integer value)
          Sets the value of the 'gain' field.
 void setHeader(HeaderRecord value)
          Sets the value of the 'header' field.
 void setRate(java.lang.Integer value)
          Sets the value of the 'rate' 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. 

average

@Deprecated
public int average
Deprecated. 

rate

@Deprecated
public int rate
Deprecated. 

bias

@Deprecated
public int bias
Deprecated. 

gain

@Deprecated
public int gain
Deprecated. 
Constructor Detail

CompassConfigRecord

public CompassConfigRecord()
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 CompassConfigEvent<HeaderRecord>

setHeader

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

Specified by:
setHeader in interface CompassConfigEvent<HeaderRecord>
Parameters:
value - the value to set.

getAverage

public java.lang.Integer getAverage()
Gets the value of the 'average' field.

Specified by:
getAverage in interface CompassConfigEvent<HeaderRecord>

setAverage

public void setAverage(java.lang.Integer value)
Sets the value of the 'average' field.

Specified by:
setAverage in interface CompassConfigEvent<HeaderRecord>
Parameters:
value - the value to set.

getRate

public java.lang.Integer getRate()
Gets the value of the 'rate' field.

Specified by:
getRate in interface CompassConfigEvent<HeaderRecord>

setRate

public void setRate(java.lang.Integer value)
Sets the value of the 'rate' field.

Specified by:
setRate in interface CompassConfigEvent<HeaderRecord>
Parameters:
value - the value to set.

getBias

public java.lang.Integer getBias()
Gets the value of the 'bias' field.

Specified by:
getBias in interface CompassConfigEvent<HeaderRecord>

setBias

public void setBias(java.lang.Integer value)
Sets the value of the 'bias' field.

Specified by:
setBias in interface CompassConfigEvent<HeaderRecord>
Parameters:
value - the value to set.

getGain

public java.lang.Integer getGain()
Gets the value of the 'gain' field.

Specified by:
getGain in interface CompassConfigEvent<HeaderRecord>

setGain

public void setGain(java.lang.Integer value)
Sets the value of the 'gain' field.

Specified by:
setGain in interface CompassConfigEvent<HeaderRecord>
Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2014. All Rights Reserved.