de.laures.cewolf.storage
Class SessionStorageItem

java.lang.Object
  extended by de.laures.cewolf.storage.SessionStorageItem
All Implemented Interfaces:
java.io.Serializable

public class SessionStorageItem
extends java.lang.Object
implements java.io.Serializable

Wrapper for the images stored in SessionStorageGroups.

Author:
brianf
See Also:
Serialized Form

Constructor Summary
SessionStorageItem()
           
SessionStorageItem(ChartImage theChart, java.lang.String theCid, java.util.Date theTimeout)
           
 
Method Summary
 ChartImage getChart()
           
 java.lang.String getCid()
           
 java.util.Date getTimeout()
           
 boolean isExpired(java.util.Date currentTime)
           
 void setChart(ChartImage chart)
           
 void setCid(java.lang.String cid)
           
 void setTimeout(java.util.Date timeout)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionStorageItem

public SessionStorageItem()

SessionStorageItem

public SessionStorageItem(ChartImage theChart,
                          java.lang.String theCid,
                          java.util.Date theTimeout)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isExpired

public final boolean isExpired(java.util.Date currentTime)

getChart

public ChartImage getChart()
Returns:
Returns the chart.

setChart

public void setChart(ChartImage chart)
Parameters:
chart - The chart to set.

getCid

public java.lang.String getCid()
Returns:
Returns the cid.

setCid

public void setCid(java.lang.String cid)
Parameters:
cid - The cid to set.

getTimeout

public java.util.Date getTimeout()
Returns:
Returns the timeout.

setTimeout

public void setTimeout(java.util.Date timeout)
Parameters:
timeout - The timeout to set.


cewolf tag library - web charts with JFreeChart