gov.nasa.pds.registry.ui.shared
Class ViewAssociations
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ViewAssociation>
gov.nasa.pds.registry.ui.shared.ViewAssociations
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable, Serializable, Cloneable, Iterable<ViewAssociation>, Collection<ViewAssociation>, List<ViewAssociation>, RandomAccess
public class ViewAssociations
- extends ArrayList<ViewAssociation>
- implements com.google.gwt.user.client.rpc.IsSerializable
The display container for associations. Necessary to be able to use an object
representation of Associations on the client side of GWT (with a minimum of
overhead).
- Author:
- hyunlee
- See Also:
Association
,
Serialized Form
Method Summary |
long |
getSize()
Get the number of records found |
int |
getStart()
Set the start index of the record set, should only be used when
transforming an actual Products instance into a ViewProducts or in tests. |
void |
setSize(long size)
Set the number of records found, should only be used when transforming an
actual Products instance into a ViewProducts or in tests. |
void |
setStart(int start)
Get the start index of the record set |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
ViewAssociations
public ViewAssociations()
setSize
public void setSize(long size)
- Set the number of records found, should only be used when transforming an
actual Products instance into a ViewProducts or in tests.
getSize
public long getSize()
- Get the number of records found
setStart
public void setStart(int start)
- Get the start index of the record set
getStart
public int getStart()
- Set the start index of the record set, should only be used when
transforming an actual Products instance into a ViewProducts or in tests.
Copyright © 2010-2011 Planetary Data System. All Rights Reserved.