org.msgpack.template.builder
Class DefaultFieldEntry

java.lang.Object
  extended by org.msgpack.template.builder.FieldEntry
      extended by org.msgpack.template.builder.DefaultFieldEntry

public class DefaultFieldEntry
extends FieldEntry


Field Summary
protected  Field field
           
 
Fields inherited from class org.msgpack.template.builder.FieldEntry
option
 
Constructor Summary
DefaultFieldEntry()
           
DefaultFieldEntry(DefaultFieldEntry e)
           
DefaultFieldEntry(Field field, FieldOption option)
           
 
Method Summary
 Object get(Object target)
           
 Field getField()
           
 Type getGenericType()
           
 String getName()
           
 Class<?> getType()
           
 void set(Object target, Object value)
           
 void setField(Field field)
           
 
Methods inherited from class org.msgpack.template.builder.FieldEntry
arrayTypeToString, getJavaTypeName, getOption, isAvailable, isNotNullable, isOptional, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

field

protected Field field
Constructor Detail

DefaultFieldEntry

public DefaultFieldEntry()

DefaultFieldEntry

public DefaultFieldEntry(DefaultFieldEntry e)

DefaultFieldEntry

public DefaultFieldEntry(Field field,
                         FieldOption option)
Method Detail

getField

public Field getField()

setField

public void setField(Field field)

getName

public String getName()
Specified by:
getName in class FieldEntry

getType

public Class<?> getType()
Specified by:
getType in class FieldEntry

getGenericType

public Type getGenericType()
Specified by:
getGenericType in class FieldEntry

get

public Object get(Object target)
Specified by:
get in class FieldEntry

set

public void set(Object target,
                Object value)
Specified by:
set in class FieldEntry


Copyright © 2011. All Rights Reserved.