org.mechio.impl.sensor
Class AdcConfigRecord

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

public class AdcConfigRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, AdcConfigEvent<HeaderRecord>


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

channelMask

@Deprecated
public int channelMask
Deprecated. 
Constructor Detail

AdcConfigRecord

public AdcConfigRecord()
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 AdcConfigEvent<HeaderRecord>

setHeader

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

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

getChannelMask

public java.lang.Integer getChannelMask()
Gets the value of the 'channelMask' field.

Specified by:
getChannelMask in interface AdcConfigEvent<HeaderRecord>

setChannelMask

public void setChannelMask(java.lang.Integer value)
Sets the value of the 'channelMask' field.

Specified by:
setChannelMask in interface AdcConfigEvent<HeaderRecord>
Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2014. All Rights Reserved.