EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

public class MultiResultQueryList
extends java.lang.Object

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

Author:
gonural

Constructor Summary
MultiResultQueryList()
          Instantiates a new query result list.
 
Method Summary
 void addItem(MultiResultQueryListItem item)
          Adds the item.
 boolean equals(java.lang.Object obj)
           
 java.util.List<MultiResultQueryListItem> getItems()
          Gets the items.
 int hashCode()
           
 void setItems(java.util.List<MultiResultQueryListItem> items)
          Sets the items.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiResultQueryList

public MultiResultQueryList()
Instantiates a new query result list.

Method Detail

getItems

public java.util.List<MultiResultQueryListItem> getItems()
Gets the items.

Returns:
the items

setItems

public void setItems(java.util.List<MultiResultQueryListItem> items)
Sets the items.

Parameters:
items - the new items

addItem

public void addItem(MultiResultQueryListItem item)
Adds the item.

Parameters:
item - the item

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