org.mechio.impl.sensor
Class Double2Record.Builder

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

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

RecordBuilder for Double2Record instances.


Method Summary
 Double2Record build()
           
 Double2Record.Builder clearD1()
          Clears the value of the 'd1' field
 Double2Record.Builder clearD2()
          Clears the value of the 'd2' field
 java.lang.Double getD1()
          Gets the value of the 'd1' field
 java.lang.Double getD2()
          Gets the value of the 'd2' field
 Double2Record getValue()
           
 boolean hasD1()
          Checks whether the 'd1' field has been set
 boolean hasD2()
          Checks whether the 'd2' field has been set
 Double2Record.Builder setD1(double value)
          Sets the value of the 'd1' field
 Double2Record.Builder setD2(double value)
          Sets the value of the 'd2' 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

getD1

public java.lang.Double getD1()
Gets the value of the 'd1' field


setD1

public Double2Record.Builder setD1(double value)
Sets the value of the 'd1' field


hasD1

public boolean hasD1()
Checks whether the 'd1' field has been set


clearD1

public Double2Record.Builder clearD1()
Clears the value of the 'd1' field


getD2

public java.lang.Double getD2()
Gets the value of the 'd2' field


setD2

public Double2Record.Builder setD2(double value)
Sets the value of the 'd2' field


hasD2

public boolean hasD2()
Checks whether the 'd2' field has been set


clearD2

public Double2Record.Builder clearD2()
Clears the value of the 'd2' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.