org.mechio.impl.animation.messaging
Class ControlPointRecord.Builder

java.lang.Object
  extended by org.apache.avro.data.RecordBuilderBase<T>
      extended by org.apache.avro.specific.SpecificRecordBuilderBase<ControlPointRecord>
          extended by org.mechio.impl.animation.messaging.ControlPointRecord.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<ControlPointRecord>
Enclosing class:
ControlPointRecord

public static class ControlPointRecord.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<ControlPointRecord>
implements org.apache.avro.data.RecordBuilder<ControlPointRecord>

RecordBuilder for ControlPointRecord instances.


Method Summary
 ControlPointRecord build()
           
 ControlPointRecord.Builder clearPosition()
          Clears the value of the 'position' field
 ControlPointRecord.Builder clearTime()
          Clears the value of the 'time' field
 Double getPosition()
          Gets the value of the 'position' field
 Long getTime()
          Gets the value of the 'time' field
 boolean hasPosition()
          Checks whether the 'position' field has been set
 boolean hasTime()
          Checks whether the 'time' field has been set
 ControlPointRecord.Builder setPosition(double value)
          Sets the value of the 'position' field
 ControlPointRecord.Builder setTime(long value)
          Sets the value of the 'time' 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

getTime

public Long getTime()
Gets the value of the 'time' field


setTime

public ControlPointRecord.Builder setTime(long value)
Sets the value of the 'time' field


hasTime

public boolean hasTime()
Checks whether the 'time' field has been set


clearTime

public ControlPointRecord.Builder clearTime()
Clears the value of the 'time' field


getPosition

public Double getPosition()
Gets the value of the 'position' field


setPosition

public ControlPointRecord.Builder setPosition(double value)
Sets the value of the 'position' field


hasPosition

public boolean hasPosition()
Checks whether the 'position' field has been set


clearPosition

public ControlPointRecord.Builder clearPosition()
Clears the value of the 'position' field


build

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


Copyright © 2011-2015. All Rights Reserved.