|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.uhn.cache.impl.AbstractMethodDataSourceHelper
Base class for the IMethodDataSourceHelper
implementors that are meant to be
used with methods that return a Collection
, Set
or array.
Constructor Summary | |
protected |
AbstractMethodDataSourceHelper()
|
Method Summary | |
IDataItem |
buildDataItem(java.io.Serializable theObj)
Builds a data item from the provided object. |
abstract java.lang.String |
buildId(java.io.Serializable theObj)
Builds a unique identifier from the provided object. |
abstract IQuery |
buildProjection(java.lang.Object theObj)
Builds the query that represents the projection of the provided object in the parameter space. |
IQueryResult |
buildQueryResult(java.lang.Object theObject)
Builds a query result from the provided object. A IQueryResult is composed of zero or more IDataItem s. |
abstract java.util.Date |
getLastUpdateTime(java.io.Serializable theObj)
|
abstract VolatilityEnum |
getVolatility(java.io.Serializable theObj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ca.uhn.cache.IMethodDataSourceHelper |
buildArguments |
Constructor Detail |
protected AbstractMethodDataSourceHelper()
Method Detail |
public IQueryResult buildQueryResult(java.lang.Object theObject)
IQueryResult
is composed of zero or more IDataItem
s.
buildQueryResult
in interface IMethodDataSourceHelper
theObject
- The provided object.
public IDataItem buildDataItem(java.io.Serializable theObj)
IDataItem
represents a discrete piece of data.
theObj
- The provided object.
public abstract java.lang.String buildId(java.io.Serializable theObj)
theObj
- The provided object.
public abstract IQuery buildProjection(java.lang.Object theObj)
theObj
- The provided object.
public abstract VolatilityEnum getVolatility(java.io.Serializable theObj)
theObj
- The provided object.
public abstract java.util.Date getLastUpdateTime(java.io.Serializable theObj)
theObj
- The provided object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |