de.laures.cewolf.storage
Class SessionStorageItem

java.lang.Object
  extended by de.laures.cewolf.storage.SessionStorageItem

public class SessionStorageItem
extends Object

Author:
brianf To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

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

Constructor Detail

SessionStorageItem

public SessionStorageItem(ChartImage theChart,
                          String theCid,
                          Date theTimeout)

SessionStorageItem

public SessionStorageItem()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

isExpired

public final boolean isExpired(Date currentTime)

getChart

public ChartImage getChart()
Returns:
Returns the chart.

setChart

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

getCid

public String getCid()
Returns:
Returns the cid.

setCid

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

getTimeout

public Date getTimeout()
Returns:
Returns the timeout.

setTimeout

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


Copyright © 2012. All Rights Reserved.