EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

public class SimpleHomogeneousList
extends java.lang.Object

This class is used to wrap collection of homogeneous simple java type attributes, such as Strings, Integers, etc..., and MUST NOT be used to wrap collection of attributes with the type that is assignable from PersistenceWeavedRest.

Author:
gonural

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

Constructor Detail

SimpleHomogeneousList

public SimpleHomogeneousList()
Instantiates a new simple list.

Method Detail

getItems

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

Returns:
the items

setItems

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

Parameters:
items - the new items

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