org.deegree.portal.standard.csw.model
Class ShoppingCart
java.lang.Object
  
org.deegree.portal.standard.csw.model.ShoppingCart
public class ShoppingCart
- extends Object
 
A ${type_name} class.
 TODO class description
- Version:
 
  - $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Thu, 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(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(List sessionRecords)
- Parameters:
 sessionRecords - 
 
clear
public void clear()
 
getContents
public List getContents()
- Returns:
 - Returns the contents of the ShoppingCart.
 
 
setContents
public void setContents(List contents)
- Parameters:
 contents - The contents to set.
- Throws:
 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