Module eclipselink

Class 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
    Since:
    EclipseLink 2.6.0.
    • Constructor Detail

      • SingleResultQueryList

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

      • 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