Package net.sf.jasperreports.data.cache
Class ColumnDataSnapshot
- java.lang.Object
-
- net.sf.jasperreports.data.cache.ColumnDataSnapshot
-
- All Implemented Interfaces:
Serializable
,DataSnapshot
public class ColumnDataSnapshot extends Object implements DataSnapshot, Serializable
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_SNAPSHOT_CANNOT_BE_PERSISTED
-
Constructor Summary
Constructors Constructor Description ColumnDataSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCachedData(Object key, ColumnCacheData data)
CachedDataset
getCachedData(Object key)
boolean
hasCachedData(Object key)
boolean
isPersistable()
void
setPersistable(boolean persistable)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_SNAPSHOT_CANNOT_BE_PERSISTED
public static final String EXCEPTION_MESSAGE_KEY_SNAPSHOT_CANNOT_BE_PERSISTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasCachedData
public boolean hasCachedData(Object key)
- Specified by:
hasCachedData
in interfaceDataSnapshot
-
getCachedData
public CachedDataset getCachedData(Object key) throws DataSnapshotException
- Specified by:
getCachedData
in interfaceDataSnapshot
- Throws:
DataSnapshotException
-
addCachedData
public void addCachedData(Object key, ColumnCacheData data)
-
isPersistable
public boolean isPersistable()
- Specified by:
isPersistable
in interfaceDataSnapshot
-
setPersistable
public void setPersistable(boolean persistable)
-
-