public class ObjectListImpl extends AbstractExtensionData implements ObjectList
Constructor and Description |
---|
ObjectListImpl() |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getNumItems()
Returns the total number of the objects.
|
List<ObjectData> |
getObjects()
Returns the list of objects.
|
Boolean |
hasMoreItems()
Indicates if there are more objects.
|
void |
setHasMoreItems(Boolean hasMoreItems) |
void |
setNumItems(BigInteger numItems) |
void |
setObjects(List<ObjectData> objects) |
String |
toString() |
getExtensions, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public List<ObjectData> getObjects()
ObjectList
getObjects
in interface ObjectList
null
public void setObjects(List<ObjectData> objects)
public Boolean hasMoreItems()
ObjectList
hasMoreItems
in interface ObjectList
true
if there are more objects, false
if there
are not more objects, or null
if the repository didn't
provide this flagpublic void setHasMoreItems(Boolean hasMoreItems)
public BigInteger getNumItems()
ObjectList
getNumItems
in interface ObjectList
null
if the repository
didn't provide the numberpublic void setNumItems(BigInteger numItems)
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.