Class SingleResultQueryResult

java.lang.Object
org.eclipse.persistence.jpa.rs.util.list.SingleResultQueryResult
All Implemented Interfaces:
SingleResultQuery

public class SingleResultQueryResult extends Object implements SingleResultQuery
The result of single result query.
Author:
Dmitry Kornilov
  • Constructor Details

    • SingleResultQueryResult

      public SingleResultQueryResult()
      Creates a new SingleResultQueryResult.
  • Method Details

    • getFields

      public List<jakarta.xml.bind.JAXBElement<?>> getFields()
      Description copied from interface: SingleResultQuery
      Gets a list fields.
      Specified by:
      getFields in interface SingleResultQuery
      Returns:
      a list of JAXBElement.
    • setFields

      public void setFields(List<jakarta.xml.bind.JAXBElement<?>> fields)
      Description copied from interface: SingleResultQuery
      Sets a list of fields.
      Specified by:
      setFields in interface SingleResultQuery
      Parameters:
      fields - fields to set.
    • getLinks

      public List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
    • setLinks

      public void setLinks(List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
    • addLink

      public void addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)