EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.util.list
Class SingleResultQueryList

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.util.list.SingleResultQueryList

public class SingleResultQueryList
extends java.lang.Object

This class is used to wrap collection of attributes returned by the single-result JPA report query.

Author:
gonural

Constructor Summary
SingleResultQueryList()
          Instantiates a new query result list item.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<JAXBElement> getFields()
          Gets the fields.
 int hashCode()
           
 void setFields(java.util.List<JAXBElement> fields)
          Sets the fields.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleResultQueryList

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

Method Detail

getFields

public java.util.List<JAXBElement> getFields()
Gets the fields.

Returns:
the fields

setFields

public void setFields(java.util.List<JAXBElement> fields)
Sets the fields.

Parameters:
fields - the new fields

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference