org.mechio.impl.animation.messaging
Class ControlPointRecord

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.mechio.impl.animation.messaging.ControlPointRecord
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 ControlPointRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class ControlPointRecord.Builder
          RecordBuilder for ControlPointRecord instances.
 
Field Summary
 double position
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 long time
          Deprecated. 
 
Constructor Summary
ControlPointRecord()
           
 
Method Summary
 Object get(int field$)
           
 Double getPosition()
          Gets the value of the 'position' field.
 org.apache.avro.Schema getSchema()
           
 Long getTime()
          Gets the value of the 'time' field.
static ControlPointRecord.Builder newBuilder()
          Creates a new ControlPointRecord RecordBuilder
static ControlPointRecord.Builder newBuilder(ControlPointRecord.Builder other)
          Creates a new ControlPointRecord RecordBuilder by copying an existing Builder
static ControlPointRecord.Builder newBuilder(ControlPointRecord other)
          Creates a new ControlPointRecord RecordBuilder by copying an existing ControlPointRecord instance
 void put(int field$, Object value$)
           
 void setPosition(Double value)
          Sets the value of the 'position' field.
 void setTime(Long value)
          Sets the value of the 'time' 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$

time

@Deprecated
public long time
Deprecated. 

position

@Deprecated
public double position
Deprecated. 
Constructor Detail

ControlPointRecord

public ControlPointRecord()
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

getTime

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


setTime

public void setTime(Long value)
Sets the value of the 'time' field.

Parameters:
value - the value to set.

getPosition

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


setPosition

public void setPosition(Double value)
Sets the value of the 'position' field.

Parameters:
value - the value to set.

newBuilder

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


newBuilder

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


newBuilder

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



Copyright © 2011-2015. All Rights Reserved.