org.robokind.impl.animation.messaging
Class AnimationEventRecord.Builder

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

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

RecordBuilder for AnimationEventRecord instances.


Method Summary
 AnimationEventRecord build()
           
 AnimationEventRecord.Builder clearAnimation()
          Clears the value of the 'animation' field
 AnimationEventRecord.Builder clearCurrentTimeMillisec()
          Clears the value of the 'currentTimeMillisec' field
 AnimationEventRecord.Builder clearDestinationId()
          Clears the value of the 'destinationId' field
 AnimationEventRecord.Builder clearSourceId()
          Clears the value of the 'sourceId' field
 AnimationRecord getAnimation()
          Gets the value of the 'animation' field
 Long getCurrentTimeMillisec()
          Gets the value of the 'currentTimeMillisec' field
 String getDestinationId()
          Gets the value of the 'destinationId' field
 String getSourceId()
          Gets the value of the 'sourceId' field
 boolean hasAnimation()
          Checks whether the 'animation' field has been set
 boolean hasCurrentTimeMillisec()
          Checks whether the 'currentTimeMillisec' field has been set
 boolean hasDestinationId()
          Checks whether the 'destinationId' field has been set
 boolean hasSourceId()
          Checks whether the 'sourceId' field has been set
 AnimationEventRecord.Builder setAnimation(AnimationRecord value)
          Sets the value of the 'animation' field
 AnimationEventRecord.Builder setCurrentTimeMillisec(long value)
          Sets the value of the 'currentTimeMillisec' field
 AnimationEventRecord.Builder setDestinationId(String value)
          Sets the value of the 'destinationId' field
 AnimationEventRecord.Builder setSourceId(String value)
          Sets the value of the 'sourceId' 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

getSourceId

public String getSourceId()
Gets the value of the 'sourceId' field


setSourceId

public AnimationEventRecord.Builder setSourceId(String value)
Sets the value of the 'sourceId' field


hasSourceId

public boolean hasSourceId()
Checks whether the 'sourceId' field has been set


clearSourceId

public AnimationEventRecord.Builder clearSourceId()
Clears the value of the 'sourceId' field


getDestinationId

public String getDestinationId()
Gets the value of the 'destinationId' field


setDestinationId

public AnimationEventRecord.Builder setDestinationId(String value)
Sets the value of the 'destinationId' field


hasDestinationId

public boolean hasDestinationId()
Checks whether the 'destinationId' field has been set


clearDestinationId

public AnimationEventRecord.Builder clearDestinationId()
Clears the value of the 'destinationId' field


getCurrentTimeMillisec

public Long getCurrentTimeMillisec()
Gets the value of the 'currentTimeMillisec' field


setCurrentTimeMillisec

public AnimationEventRecord.Builder setCurrentTimeMillisec(long value)
Sets the value of the 'currentTimeMillisec' field


hasCurrentTimeMillisec

public boolean hasCurrentTimeMillisec()
Checks whether the 'currentTimeMillisec' field has been set


clearCurrentTimeMillisec

public AnimationEventRecord.Builder clearCurrentTimeMillisec()
Clears the value of the 'currentTimeMillisec' field


getAnimation

public AnimationRecord getAnimation()
Gets the value of the 'animation' field


setAnimation

public AnimationEventRecord.Builder setAnimation(AnimationRecord value)
Sets the value of the 'animation' field


hasAnimation

public boolean hasAnimation()
Checks whether the 'animation' field has been set


clearAnimation

public AnimationEventRecord.Builder clearAnimation()
Clears the value of the 'animation' field


build

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


Copyright © 2011-2013. All Rights Reserved.