com.mysema.query.jdo
Class JDOTuple

java.lang.Object
  extended by com.mysema.query.jdo.JDOTuple
All Implemented Interfaces:
Tuple

public class JDOTuple
extends Object
implements Tuple

JDOTuple is a Tuple implementation for JDOQuery instances

Author:
tiwe

Constructor Summary
JDOTuple()
           
 
Method Summary
<T> T
get(Expression<T> expr)
          Get a tuple element by expression
<T> T
get(int index, Class<T> type)
          Get a Tuple element by index
 void put(Object name, Object value)
           
 Object[] toArray()
          Get the content as an Object array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOTuple

public JDOTuple()
Method Detail

put

public void put(Object name,
                Object value)

get

public <T> T get(int index,
                 Class<T> type)
Description copied from interface: Tuple
Get a Tuple element by index

Specified by:
get in interface Tuple
Returns:

get

public <T> T get(Expression<T> expr)
Description copied from interface: Tuple
Get a tuple element by expression

Specified by:
get in interface Tuple
Returns:

toArray

public Object[] toArray()
Description copied from interface: Tuple
Get the content as an Object array

Specified by:
toArray in interface Tuple
Returns:


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.