Class SingleResultQueryList
java.lang.Object
org.eclipse.persistence.jpa.rs.util.list.SingleResultQueryList
- All Implemented Interfaces:
SingleResultQuery
This class is used to wrap collection of attributes returned by the single-result JPA report query.
- Since:
- EclipseLink 2.6.0.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<JAXBElement<?>> Gets the fields.void
setFields
(List<JAXBElement<?>> fields) Sets the fields.
-
Constructor Details
-
SingleResultQueryList
public SingleResultQueryList()Instantiates a new query result list item.
-
-
Method Details
-
getFields
Gets the fields.- Specified by:
getFields
in interfaceSingleResultQuery
- Returns:
- the fields
-
setFields
Sets the fields.- Specified by:
setFields
in interfaceSingleResultQuery
- Parameters:
fields
- the new fields
-