com.twitter.common.thrift.testing
Class TestThriftTypes.Field

java.lang.Object
  extended by com.twitter.common.thrift.testing.TestThriftTypes.Field
All Implemented Interfaces:
org.apache.thrift.TFieldIdEnum
Enclosing class:
TestThriftTypes

public static class TestThriftTypes.Field
extends Object
implements org.apache.thrift.TFieldIdEnum


Field Summary
static TestThriftTypes.Field NAME
           
static TestThriftTypes.Field VALUE
           
 
Method Summary
static TestThriftTypes.Field forId(int id)
           
 String getFieldName()
           
 short getThriftFieldId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final TestThriftTypes.Field NAME

VALUE

public static final TestThriftTypes.Field VALUE
Method Detail

forId

public static TestThriftTypes.Field forId(int id)

getThriftFieldId

public short getThriftFieldId()
Specified by:
getThriftFieldId in interface org.apache.thrift.TFieldIdEnum

getFieldName

public String getFieldName()
Specified by:
getFieldName in interface org.apache.thrift.TFieldIdEnum