org.mechio.impl.sensor
Class DeviceBoolRecord

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

public class DeviceBoolRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, DeviceBoolEvent<HeaderRecord>


Nested Class Summary
static class DeviceBoolRecord.Builder
          RecordBuilder for DeviceBoolRecord instances.
 
Field Summary
 boolean boolValue
          Deprecated. 
 int channelId
          Deprecated. 
 HeaderRecord header
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
DeviceBoolRecord()
           
 
Method Summary
 Object get(int field$)
           
 Boolean getBoolValue()
          Gets the value of the 'boolValue' 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 DeviceBoolRecord.Builder newBuilder()
          Creates a new DeviceBoolRecord RecordBuilder
static DeviceBoolRecord.Builder newBuilder(DeviceBoolRecord.Builder other)
          Creates a new DeviceBoolRecord RecordBuilder by copying an existing Builder
static DeviceBoolRecord.Builder newBuilder(DeviceBoolRecord other)
          Creates a new DeviceBoolRecord RecordBuilder by copying an existing DeviceBoolRecord instance
 void put(int field$, Object value$)
           
 void setBoolValue(Boolean value)
          Sets the value of the 'boolValue' 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. 

boolValue

@Deprecated
public boolean boolValue
Deprecated. 
Constructor Detail

DeviceBoolRecord

public DeviceBoolRecord()
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 DeviceBoolEvent<HeaderRecord>

setHeader

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

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

getChannelId

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

Specified by:
getChannelId in interface DeviceBoolEvent<HeaderRecord>

setChannelId

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

Specified by:
setChannelId in interface DeviceBoolEvent<HeaderRecord>
Parameters:
value - the value to set.

getBoolValue

public Boolean getBoolValue()
Gets the value of the 'boolValue' field.

Specified by:
getBoolValue in interface DeviceBoolEvent<HeaderRecord>

setBoolValue

public void setBoolValue(Boolean value)
Sets the value of the 'boolValue' field.

Specified by:
setBoolValue in interface DeviceBoolEvent<HeaderRecord>
Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2014. All Rights Reserved.