org.robokind.avrogen.sensor
Class Vector3Record.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<Vector3Record>
          extended by org.robokind.avrogen.sensor.Vector3Record.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<Vector3Record>, org.jflux.api.core.Source<Vector3Record>
Enclosing class:
Vector3Record

public static class Vector3Record.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<Vector3Record>
implements org.apache.avro.data.RecordBuilder<Vector3Record>, org.jflux.api.core.Source<Vector3Record>

RecordBuilder for Vector3Record instances.


Method Summary
 Vector3Record build()
           
 Vector3Record.Builder clearX()
          Clears the value of the 'x' field
 Vector3Record.Builder clearY()
          Clears the value of the 'y' field
 Vector3Record.Builder clearZ()
          Clears the value of the 'z' field
 Vector3Record getValue()
           
 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
 boolean hasX()
          Checks whether the 'x' field has been set
 boolean hasY()
          Checks whether the 'y' field has been set
 boolean hasZ()
          Checks whether the 'z' field has been set
 Vector3Record.Builder setX(double value)
          Sets the value of the 'x' field
 Vector3Record.Builder setY(double value)
          Sets the value of the 'y' field
 Vector3Record.Builder setZ(double value)
          Sets the value of the 'z' field
 
Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getX

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


setX

public Vector3Record.Builder setX(double value)
Sets the value of the 'x' field


hasX

public boolean hasX()
Checks whether the 'x' field has been set


clearX

public Vector3Record.Builder clearX()
Clears the value of the 'x' field


getY

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


setY

public Vector3Record.Builder setY(double value)
Sets the value of the 'y' field


hasY

public boolean hasY()
Checks whether the 'y' field has been set


clearY

public Vector3Record.Builder clearY()
Clears the value of the 'y' field


getZ

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


setZ

public Vector3Record.Builder setZ(double value)
Sets the value of the 'z' field


hasZ

public boolean hasZ()
Checks whether the 'z' field has been set


clearZ

public Vector3Record.Builder clearZ()
Clears the value of the 'z' field


build

public Vector3Record build()
Specified by:
build in interface org.apache.avro.data.RecordBuilder<Vector3Record>

getValue

public Vector3Record getValue()
Specified by:
getValue in interface org.jflux.api.core.Source<Vector3Record>


Copyright © 2011-2013. All Rights Reserved.