org.mechio.impl.sensor
Class StampedDoubleRecord.Builder

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

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

RecordBuilder for StampedDoubleRecord instances.


Method Summary
 StampedDoubleRecord build()
           
 StampedDoubleRecord.Builder clearDoubleValue()
          Clears the value of the 'doubleValue' field
 StampedDoubleRecord.Builder clearHeader()
          Clears the value of the 'header' field
 java.lang.Double getDoubleValue()
          Gets the value of the 'doubleValue' field
 HeaderRecord getHeader()
          Gets the value of the 'header' field
 StampedDoubleRecord getValue()
           
 boolean hasDoubleValue()
          Checks whether the 'doubleValue' field has been set
 boolean hasHeader()
          Checks whether the 'header' field has been set
 StampedDoubleRecord.Builder setDoubleValue(double value)
          Sets the value of the 'doubleValue' field
 StampedDoubleRecord.Builder setHeader(HeaderRecord value)
          Sets the value of the 'header' 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

getHeader

public HeaderRecord getHeader()
Gets the value of the 'header' field


setHeader

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


hasHeader

public boolean hasHeader()
Checks whether the 'header' field has been set


clearHeader

public StampedDoubleRecord.Builder clearHeader()
Clears the value of the 'header' field


getDoubleValue

public java.lang.Double getDoubleValue()
Gets the value of the 'doubleValue' field


setDoubleValue

public StampedDoubleRecord.Builder setDoubleValue(double value)
Sets the value of the 'doubleValue' field


hasDoubleValue

public boolean hasDoubleValue()
Checks whether the 'doubleValue' field has been set


clearDoubleValue

public StampedDoubleRecord.Builder clearDoubleValue()
Clears the value of the 'doubleValue' field


build

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

getValue

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


Copyright © 2011-2014. All Rights Reserved.