Class SingleResultQueryResult
- java.lang.Object
-
- org.eclipse.persistence.jpa.rs.util.list.SingleResultQueryResult
-
- All Implemented Interfaces:
SingleResultQuery
public class SingleResultQueryResult extends java.lang.Object implements SingleResultQuery
The result of single result query.- Author:
- Dmitry Kornilov
- Since:
- EclipseLink 2.6.0.
-
-
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)
java.util.List<JAXBElement>
getFields()
Gets a list fields.java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2>
getLinks()
void
setFields(java.util.List<JAXBElement> fields)
Sets a list of fields.void
setLinks(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
-
-
-
Method Detail
-
getFields
public java.util.List<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(java.util.List<JAXBElement> fields)
Description copied from interface:SingleResultQuery
Sets a list of fields.- Specified by:
setFields
in interfaceSingleResultQuery
- Parameters:
fields
- fields to set.
-
getLinks
public java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
-
setLinks
public void setLinks(java.util.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)
-
-