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

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

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

RecordBuilder for ChannelRecord instances.


Method Summary
 ChannelRecord build()
           
 ChannelRecord.Builder clearChannelId()
          Clears the value of the 'channelId' field
 ChannelRecord.Builder clearMotionPaths()
          Clears the value of the 'motionPaths' field
 ChannelRecord.Builder clearName()
          Clears the value of the 'name' field
 ChannelRecord.Builder clearStartTime()
          Clears the value of the 'startTime' field
 ChannelRecord.Builder clearStopTime()
          Clears the value of the 'stopTime' field
 Integer getChannelId()
          Gets the value of the 'channelId' field
 List<MotionPathRecord> getMotionPaths()
          Gets the value of the 'motionPaths' 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
 boolean hasChannelId()
          Checks whether the 'channelId' field has been set
 boolean hasMotionPaths()
          Checks whether the 'motionPaths' 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
 ChannelRecord.Builder setChannelId(int value)
          Sets the value of the 'channelId' field
 ChannelRecord.Builder setMotionPaths(List<MotionPathRecord> value)
          Sets the value of the 'motionPaths' field
 ChannelRecord.Builder setName(String value)
          Sets the value of the 'name' field
 ChannelRecord.Builder setStartTime(Long value)
          Sets the value of the 'startTime' field
 ChannelRecord.Builder setStopTime(Long value)
          Sets the value of the 'stopTime' 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 ChannelRecord.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 ChannelRecord.Builder clearName()
Clears the value of the 'name' field


getChannelId

public Integer getChannelId()
Gets the value of the 'channelId' field


setChannelId

public ChannelRecord.Builder setChannelId(int value)
Sets the value of the 'channelId' field


hasChannelId

public boolean hasChannelId()
Checks whether the 'channelId' field has been set


clearChannelId

public ChannelRecord.Builder clearChannelId()
Clears the value of the 'channelId' field


getStopTime

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


setStopTime

public ChannelRecord.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 ChannelRecord.Builder clearStopTime()
Clears the value of the 'stopTime' field


getStartTime

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


setStartTime

public ChannelRecord.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 ChannelRecord.Builder clearStartTime()
Clears the value of the 'startTime' field


getMotionPaths

public List<MotionPathRecord> getMotionPaths()
Gets the value of the 'motionPaths' field


setMotionPaths

public ChannelRecord.Builder setMotionPaths(List<MotionPathRecord> value)
Sets the value of the 'motionPaths' field


hasMotionPaths

public boolean hasMotionPaths()
Checks whether the 'motionPaths' field has been set


clearMotionPaths

public ChannelRecord.Builder clearMotionPaths()
Clears the value of the 'motionPaths' field


build

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


Copyright © 2011-2015. All Rights Reserved.