org.apache.qpid.transport
Class Field<C,T>

java.lang.Object
  extended by org.apache.qpid.transport.Field<C,T>

public abstract class Field<C,T>
extends Object

Field


Constructor Summary
Field(Class<C> container, Class<T> type, String name, int index)
           
 
Method Summary
protected  C check(Object struct)
           
abstract  T get(Object struct)
           
 Class<C> getContainer()
           
 int getIndex()
           
 String getName()
           
 Class<T> getType()
           
abstract  boolean has(Object struct)
           
abstract  void has(Object struct, boolean value)
           
abstract  void read(Decoder dec, Object struct)
           
abstract  void write(Encoder enc, Object struct)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

Field(Class<C> container,
      Class<T> type,
      String name,
      int index)
Method Detail

getContainer

public final Class<C> getContainer()

getType

public final Class<T> getType()

getName

public final String getName()

getIndex

public final int getIndex()

check

protected final C check(Object struct)

has

public abstract boolean has(Object struct)

has

public abstract void has(Object struct,
                         boolean value)

get

public abstract T get(Object struct)

read

public abstract void read(Decoder dec,
                          Object struct)

write

public abstract void write(Encoder enc,
                           Object struct)


Licensed to the Apache Software Foundation