org.robokind.avrogen.sensor
Class Vector3Record

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

public class Vector3Record
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord, Vector3Event


Nested Class Summary
static class Vector3Record.Builder
          RecordBuilder for Vector3Record instances.
 
Field Summary
static org.apache.avro.Schema SCHEMA$
           
 double x
          Deprecated. 
 double y
          Deprecated. 
 double z
          Deprecated. 
 
Constructor Summary
Vector3Record()
           
 
Method Summary
 Object get(int field$)
           
 org.apache.avro.Schema getSchema()
           
 Double getX()
          Gets the value of the 'x' field.
 Double getY()
          Gets the value of the 'y' field.
 Double getZ()
          Gets the value of the 'z' field.
static Vector3Record.Builder newBuilder()
          Creates a new Vector3Record RecordBuilder
static Vector3Record.Builder newBuilder(Vector3Record.Builder other)
          Creates a new Vector3Record RecordBuilder by copying an existing Builder
static Vector3Record.Builder newBuilder(Vector3Record other)
          Creates a new Vector3Record RecordBuilder by copying an existing Vector3Record instance
 void put(int field$, Object value$)
           
 void setX(Double value)
          Sets the value of the 'x' field.
 void setY(Double value)
          Sets the value of the 'y' field.
 void setZ(Double value)
          Sets the value of the 'z' 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$

x

@Deprecated
public double x
Deprecated. 

y

@Deprecated
public double y
Deprecated. 

z

@Deprecated
public double z
Deprecated. 
Constructor Detail

Vector3Record

public Vector3Record()
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

getX

public Double getX()
Gets the value of the 'x' field.

Specified by:
getX in interface Vector3Event

setX

public void setX(Double value)
Sets the value of the 'x' field.

Parameters:
value - the value to set.

getY

public Double getY()
Gets the value of the 'y' field.

Specified by:
getY in interface Vector3Event

setY

public void setY(Double value)
Sets the value of the 'y' field.

Parameters:
value - the value to set.

getZ

public Double getZ()
Gets the value of the 'z' field.

Specified by:
getZ in interface Vector3Event

setZ

public void setZ(Double value)
Sets the value of the 'z' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2013. All Rights Reserved.