org.deegree.portal.standard.csw.model
Class ShoppingCart
java.lang.Object
org.deegree.portal.standard.csw.model.ShoppingCart
public class ShoppingCart
- extends java.lang.Object
A ${type_name}
class.
TODO class description
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Judit Mays, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCart
public ShoppingCart()
ShoppingCart
public ShoppingCart(java.util.List contents)
- Parameters:
contents
- A List of SessionRecord elements.
add
public void add(SessionRecord sr)
- Parameters:
sr
- A SessionRecord to add to the ShoppingCart contents. Cannot be null.
remove
public void remove(SessionRecord sr)
- Parameters:
sr
-
removeAll
public void removeAll(java.util.List sessionRecords)
- Parameters:
sessionRecords
-
clear
public void clear()
getContents
public java.util.List getContents()
- Returns:
- Returns the contents of the ShoppingCart.
setContents
public void setContents(java.util.List contents)
- Parameters:
contents
- The contents to set.
- Throws:
java.lang.RuntimeException
- if the passed List contains elements other than SessionRecord.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org