deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.standard.csw.model
Class ShoppingCart

java.lang.Object
  extended by 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 (Do, 18. Jun 2009) $
Author:
Judit Mays, last edited by: $Author: mschneider $

Constructor Summary
ShoppingCart()
           
ShoppingCart(List contents)
           
 
Method Summary
 void add(SessionRecord sr)
           
 void clear()
           
 List getContents()
           
 void remove(SessionRecord sr)
           
 void removeAll(List sessionRecords)
           
 void setContents(List contents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCart

public ShoppingCart()

ShoppingCart

public ShoppingCart(List contents)
Parameters:
contents - A List of SessionRecord elements.
Method Detail

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.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org