Class SingleResultQueryList
- java.lang.Object
-
- org.eclipse.persistence.jpa.rs.util.list.SingleResultQueryList
-
- All Implemented Interfaces:
SingleResultQuery
public class SingleResultQueryList extends Object implements SingleResultQuery
This class is used to wrap collection of attributes returned by the single-result JPA report query.- Since:
- EclipseLink 2.6.0.
- Author:
- gonural
-
-
Constructor Summary
Constructors Constructor Description SingleResultQueryList()
Instantiates a new query result list item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<javax.xml.bind.JAXBElement>
getFields()
Gets the fields.void
setFields(List<javax.xml.bind.JAXBElement> fields)
Sets the fields.
-
-
-
Method Detail
-
getFields
public List<javax.xml.bind.JAXBElement> getFields()
Gets the fields.- Specified by:
getFields
in interfaceSingleResultQuery
- Returns:
- the fields
-
setFields
public void setFields(List<javax.xml.bind.JAXBElement> fields)
Sets the fields.- Specified by:
setFields
in interfaceSingleResultQuery
- Parameters:
fields
- the new fields
-
-