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

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

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

RecordBuilder for AnimationRecord instances.


Method Summary
 AnimationRecord build()
           
 AnimationRecord.Builder clearChannels()
          Clears the value of the 'channels' field
 AnimationRecord.Builder clearName()
          Clears the value of the 'name' field
 AnimationRecord.Builder clearStartTime()
          Clears the value of the 'startTime' field
 AnimationRecord.Builder clearStopTime()
          Clears the value of the 'stopTime' field
 AnimationRecord.Builder clearVersionNumber()
          Clears the value of the 'versionNumber' field
 List<ChannelRecord> getChannels()
          Gets the value of the 'channels' field
 String getName()
          Gets the value of the 'name' field
 Long getStartTime()
          Gets the value of the 'startTime' field
 Long getStopTime()
          Gets the value of the 'stopTime' field
 String getVersionNumber()
          Gets the value of the 'versionNumber' field
 boolean hasChannels()
          Checks whether the 'channels' field has been set
 boolean hasName()
          Checks whether the 'name' field has been set
 boolean hasStartTime()
          Checks whether the 'startTime' field has been set
 boolean hasStopTime()
          Checks whether the 'stopTime' field has been set
 boolean hasVersionNumber()
          Checks whether the 'versionNumber' field has been set
 AnimationRecord.Builder setChannels(List<ChannelRecord> value)
          Sets the value of the 'channels' field
 AnimationRecord.Builder setName(String value)
          Sets the value of the 'name' field
 AnimationRecord.Builder setStartTime(Long value)
          Sets the value of the 'startTime' field
 AnimationRecord.Builder setStopTime(Long value)
          Sets the value of the 'stopTime' field
 AnimationRecord.Builder setVersionNumber(String value)
          Sets the value of the 'versionNumber' 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

getName

public String getName()
Gets the value of the 'name' field


setName

public AnimationRecord.Builder setName(String value)
Sets the value of the 'name' field


hasName

public boolean hasName()
Checks whether the 'name' field has been set


clearName

public AnimationRecord.Builder clearName()
Clears the value of the 'name' field


getVersionNumber

public String getVersionNumber()
Gets the value of the 'versionNumber' field


setVersionNumber

public AnimationRecord.Builder setVersionNumber(String value)
Sets the value of the 'versionNumber' field


hasVersionNumber

public boolean hasVersionNumber()
Checks whether the 'versionNumber' field has been set


clearVersionNumber

public AnimationRecord.Builder clearVersionNumber()
Clears the value of the 'versionNumber' field


getStopTime

public Long getStopTime()
Gets the value of the 'stopTime' field


setStopTime

public AnimationRecord.Builder setStopTime(Long value)
Sets the value of the 'stopTime' field


hasStopTime

public boolean hasStopTime()
Checks whether the 'stopTime' field has been set


clearStopTime

public AnimationRecord.Builder clearStopTime()
Clears the value of the 'stopTime' field


getStartTime

public Long getStartTime()
Gets the value of the 'startTime' field


setStartTime

public AnimationRecord.Builder setStartTime(Long value)
Sets the value of the 'startTime' field


hasStartTime

public boolean hasStartTime()
Checks whether the 'startTime' field has been set


clearStartTime

public AnimationRecord.Builder clearStartTime()
Clears the value of the 'startTime' field


getChannels

public List<ChannelRecord> getChannels()
Gets the value of the 'channels' field


setChannels

public AnimationRecord.Builder setChannels(List<ChannelRecord> value)
Sets the value of the 'channels' field


hasChannels

public boolean hasChannels()
Checks whether the 'channels' field has been set


clearChannels

public AnimationRecord.Builder clearChannels()
Clears the value of the 'channels' field


build

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


Copyright © 2011-2015. All Rights Reserved.