public class TupleFactory extends java.lang.Object implements ObjectFactory<javax.persistence.Tuple>
| Constructor and Description |
|---|
TupleFactory(java.util.List<javax.persistence.TupleElement<?>> elems)
A factory of Tuple that shares the given TupleElements.
|
TupleFactory(javax.persistence.criteria.Selection<?>... elems) |
TupleFactory(javax.persistence.TupleElement<?>... elems) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<javax.persistence.TupleElement<?>> |
getElements() |
int |
getIndex(java.lang.String alias) |
int |
getIndex(javax.persistence.TupleElement<?> e) |
TupleImpl |
newInstance() |
public TupleFactory(java.util.List<javax.persistence.TupleElement<?>> elems)
public TupleFactory(javax.persistence.TupleElement<?>... elems)
public TupleFactory(javax.persistence.criteria.Selection<?>... elems)
public java.util.List<javax.persistence.TupleElement<?>> getElements()
public TupleImpl newInstance()
newInstance in interface ObjectFactory<javax.persistence.Tuple>public int getIndex(javax.persistence.TupleElement<?> e)
public int getIndex(java.lang.String alias)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.