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.- Since:
- EclipseLink 2.6.0.
- Author:
- Dmitry Kornilov
-
-
Constructor Summary
Constructors Constructor Description SingleResultQueryResult()
Creates a new SingleResultQueryResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
List<javax.xml.bind.JAXBElement>
getFields()
Gets a list fields.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2>
getLinks()
void
setFields(List<javax.xml.bind.JAXBElement> fields)
Sets a list of fields.void
setLinks(List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
-
-
-
Method Detail
-
getFields
public List<javax.xml.bind.JAXBElement> getFields()
Description copied from interface:SingleResultQuery
Gets a list fields.- Specified by:
getFields
in interfaceSingleResultQuery
- Returns:
- a list of JAXBElement.
-
setFields
public void setFields(List<javax.xml.bind.JAXBElement> fields)
Description copied from interface:SingleResultQuery
Sets a list of fields.- Specified by:
setFields
in interfaceSingleResultQuery
- 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)
-
-