Class JPATuple
java.lang.Object
com.sap.olingo.jpa.processor.core.converter.JPATuple
- All Implemented Interfaces:
javax.persistence.Tuple
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(String alias, Class<?> javaType, Object value)get(int arg0)<X> XGet the value of the tuple element to which the specified alias has been assigned.<X> X<X> Xget(javax.persistence.TupleElement<X> arg0)List<javax.persistence.TupleElement<?>>Object[]toArray()
-
Constructor Details
-
JPATuple
public JPATuple()
-
-
Method Details
-
addElement
-
get
- Specified by:
getin interfacejavax.persistence.Tuple
-
get
- Specified by:
getin interfacejavax.persistence.Tuple
-
get
Get the value of the tuple element to which the specified alias has been assigned.- Specified by:
getin interfacejavax.persistence.Tuple- Parameters:
alias- alias assigned to tuple element- Returns:
- value of the tuple element
- Throws:
IllegalArgumentException- if alias does not correspond to an element in the query result tuple
-
get
- Specified by:
getin interfacejavax.persistence.Tuple
-
get
public <X> X get(javax.persistence.TupleElement<X> arg0)- Specified by:
getin interfacejavax.persistence.Tuple
-
getElements
- Specified by:
getElementsin interfacejavax.persistence.Tuple
-
toArray
- Specified by:
toArrayin interfacejavax.persistence.Tuple
-