org.mechio.impl.animation.messaging
Class ChannelRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.animation.messaging.ChannelRecord
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord

public class ChannelRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class ChannelRecord.Builder
          RecordBuilder for ChannelRecord instances.
 
Field Summary
 int channelId
          Deprecated. 
 List<MotionPathRecord> motionPaths
          Deprecated. 
 String name
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 Long startTime
          Deprecated. 
 Long stopTime
          Deprecated. 
 
Constructor Summary
ChannelRecord()
           
 
Method Summary
 Object get(int 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.
 org.apache.avro.Schema getSchema()
           
 Long getStartTime()
          Gets the value of the 'startTime' field.
 Long getStopTime()
          Gets the value of the 'stopTime' field.
static ChannelRecord.Builder newBuilder()
          Creates a new ChannelRecord RecordBuilder
static ChannelRecord.Builder newBuilder(ChannelRecord.Builder other)
          Creates a new ChannelRecord RecordBuilder by copying an existing Builder
static ChannelRecord.Builder newBuilder(ChannelRecord other)
          Creates a new ChannelRecord RecordBuilder by copying an existing ChannelRecord instance
 void put(int field$, Object value$)
           
 void setChannelId(Integer value)
          Sets the value of the 'channelId' field.
 void setMotionPaths(List<MotionPathRecord> value)
          Sets the value of the 'motionPaths' field.
 void setName(String value)
          Sets the value of the 'name' field.
 void setStartTime(Long value)
          Sets the value of the 'startTime' field.
 void setStopTime(Long value)
          Sets the value of the 'stopTime' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

name

@Deprecated
public String name
Deprecated. 

channelId

@Deprecated
public int channelId
Deprecated. 

stopTime

@Deprecated
public Long stopTime
Deprecated. 

startTime

@Deprecated
public Long startTime
Deprecated. 

motionPaths

@Deprecated
public List<MotionPathRecord> motionPaths
Deprecated. 
Constructor Detail

ChannelRecord

public ChannelRecord()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getName

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


setName

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

Parameters:
value - the value to set.

getChannelId

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


setChannelId

public void setChannelId(Integer value)
Sets the value of the 'channelId' field.

Parameters:
value - the value to set.

getStopTime

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


setStopTime

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

Parameters:
value - the value to set.

getStartTime

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


setStartTime

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

Parameters:
value - the value to set.

getMotionPaths

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


setMotionPaths

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

Parameters:
value - the value to set.

newBuilder

public static ChannelRecord.Builder newBuilder()
Creates a new ChannelRecord RecordBuilder


newBuilder

public static ChannelRecord.Builder newBuilder(ChannelRecord.Builder other)
Creates a new ChannelRecord RecordBuilder by copying an existing Builder


newBuilder

public static ChannelRecord.Builder newBuilder(ChannelRecord other)
Creates a new ChannelRecord RecordBuilder by copying an existing ChannelRecord instance



Copyright © 2011-2015. All Rights Reserved.