org.robokind.impl.motion.messaging
Class JointDefinitionRecord.Builder

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

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

RecordBuilder for JointDefinitionRecord instances.


Method Summary
 JointDefinitionRecord build()
           
 JointDefinitionRecord.Builder clearDefaultPosition()
          Clears the value of the 'defaultPosition' field
 JointDefinitionRecord.Builder clearEnabled()
          Clears the value of the 'enabled' field
 JointDefinitionRecord.Builder clearGoalPosition()
          Clears the value of the 'goalPosition' field
 JointDefinitionRecord.Builder clearJointId()
          Clears the value of the 'jointId' field
 JointDefinitionRecord.Builder clearName()
          Clears the value of the 'name' field
 JointDefinitionRecord.Builder clearProperties()
          Clears the value of the 'properties' field
 Double getDefaultPosition()
          Gets the value of the 'defaultPosition' field
 Boolean getEnabled()
          Gets the value of the 'enabled' field
 Double getGoalPosition()
          Gets the value of the 'goalPosition' field
 Integer getJointId()
          Gets the value of the 'jointId' field
 String getName()
          Gets the value of the 'name' field
 List<JointPropDefinitionRecord> getProperties()
          Gets the value of the 'properties' field
 boolean hasDefaultPosition()
          Checks whether the 'defaultPosition' field has been set
 boolean hasEnabled()
          Checks whether the 'enabled' field has been set
 boolean hasGoalPosition()
          Checks whether the 'goalPosition' field has been set
 boolean hasJointId()
          Checks whether the 'jointId' field has been set
 boolean hasName()
          Checks whether the 'name' field has been set
 boolean hasProperties()
          Checks whether the 'properties' field has been set
 JointDefinitionRecord.Builder setDefaultPosition(double value)
          Sets the value of the 'defaultPosition' field
 JointDefinitionRecord.Builder setEnabled(boolean value)
          Sets the value of the 'enabled' field
 JointDefinitionRecord.Builder setGoalPosition(double value)
          Sets the value of the 'goalPosition' field
 JointDefinitionRecord.Builder setJointId(int value)
          Sets the value of the 'jointId' field
 JointDefinitionRecord.Builder setName(String value)
          Sets the value of the 'name' field
 JointDefinitionRecord.Builder setProperties(List<JointPropDefinitionRecord> value)
          Sets the value of the 'properties' 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

getJointId

public Integer getJointId()
Gets the value of the 'jointId' field


setJointId

public JointDefinitionRecord.Builder setJointId(int value)
Sets the value of the 'jointId' field


hasJointId

public boolean hasJointId()
Checks whether the 'jointId' field has been set


clearJointId

public JointDefinitionRecord.Builder clearJointId()
Clears the value of the 'jointId' field


getName

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


setName

public JointDefinitionRecord.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 JointDefinitionRecord.Builder clearName()
Clears the value of the 'name' field


getDefaultPosition

public Double getDefaultPosition()
Gets the value of the 'defaultPosition' field


setDefaultPosition

public JointDefinitionRecord.Builder setDefaultPosition(double value)
Sets the value of the 'defaultPosition' field


hasDefaultPosition

public boolean hasDefaultPosition()
Checks whether the 'defaultPosition' field has been set


clearDefaultPosition

public JointDefinitionRecord.Builder clearDefaultPosition()
Clears the value of the 'defaultPosition' field


getGoalPosition

public Double getGoalPosition()
Gets the value of the 'goalPosition' field


setGoalPosition

public JointDefinitionRecord.Builder setGoalPosition(double value)
Sets the value of the 'goalPosition' field


hasGoalPosition

public boolean hasGoalPosition()
Checks whether the 'goalPosition' field has been set


clearGoalPosition

public JointDefinitionRecord.Builder clearGoalPosition()
Clears the value of the 'goalPosition' field


getEnabled

public Boolean getEnabled()
Gets the value of the 'enabled' field


setEnabled

public JointDefinitionRecord.Builder setEnabled(boolean value)
Sets the value of the 'enabled' field


hasEnabled

public boolean hasEnabled()
Checks whether the 'enabled' field has been set


clearEnabled

public JointDefinitionRecord.Builder clearEnabled()
Clears the value of the 'enabled' field


getProperties

public List<JointPropDefinitionRecord> getProperties()
Gets the value of the 'properties' field


setProperties

public JointDefinitionRecord.Builder setProperties(List<JointPropDefinitionRecord> value)
Sets the value of the 'properties' field


hasProperties

public boolean hasProperties()
Checks whether the 'properties' field has been set


clearProperties

public JointDefinitionRecord.Builder clearProperties()
Clears the value of the 'properties' field


build

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


Copyright © 2011-2013. All Rights Reserved.