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.
Author:
gonural
  • Constructor Details

    • SingleResultQueryList

      public SingleResultQueryList()
      Instantiates a new query result list item.
  • Method Details

    • getFields

      public List<jakarta.xml.bind.JAXBElement<?>> getFields()
      Gets the fields.
      Specified by:
      getFields in interface SingleResultQuery
      Returns:
      the fields
    • setFields

      public void setFields(List<jakarta.xml.bind.JAXBElement<?>> fields)
      Sets the fields.
      Specified by:
      setFields in interface SingleResultQuery
      Parameters:
      fields - the new fields