pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.shop.util
Class PriceUpdateResult

java.lang.Object
  extended by org.torweg.pulse.component.shop.util.PriceUpdateResult

public class PriceUpdateResult
extends java.lang.Object

Version:
$Revision$
Author:
Thomas Weber

Nested Class Summary
static class PriceUpdateResult.PriceUpdate
          represents a price update.
 
Constructor Summary
protected PriceUpdateResult()
          used by JAXB.
  PriceUpdateResult(Bundle b, java.util.Locale l)
           
 
Method Summary
 void addPriceUpdate(PriceUpdateResult.PriceUpdate u)
          adds an update to the result.
 java.lang.String getBundle()
           
 java.lang.String getLocale()
           
 java.util.Collection<PriceUpdateResult.PriceUpdate> getUpdates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceUpdateResult

protected PriceUpdateResult()
used by JAXB.


PriceUpdateResult

public PriceUpdateResult(Bundle b,
                         java.util.Locale l)
Parameters:
b - the bundle
l - the locale
Method Detail

addPriceUpdate

public final void addPriceUpdate(PriceUpdateResult.PriceUpdate u)
adds an update to the result.

Parameters:
u - the update to add

getUpdates

public final java.util.Collection<PriceUpdateResult.PriceUpdate> getUpdates()
Returns:
Returns the updates.

getBundle

public final java.lang.String getBundle()
Returns:
Returns the bundle.

getLocale

public final java.lang.String getLocale()
Returns:
Returns the locale.