Package org.cyclos.impl.utils.cache
Class ScalarAccessorCacheValue
- java.lang.Object
-
- org.cyclos.impl.utils.cache.AccessorCacheValue
-
- org.cyclos.impl.utils.cache.ScalarAccessorCacheValue
-
- All Implemented Interfaces:
Serializable,WrappedObject
public class ScalarAccessorCacheValue extends AccessorCacheValue
AnAccessorCacheValuewhich stores an scalar value- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScalarAccessorCacheValue(Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static AccessorCacheValueforNull()ObjectgetValue()inthashCode()StringtoString()Objectunwrap(ApplicationContext applicationContext)Unwraps the original value.-
Methods inherited from class org.cyclos.impl.utils.cache.AccessorCacheValue
create, create, create
-
-
-
-
Constructor Detail
-
ScalarAccessorCacheValue
public ScalarAccessorCacheValue(Object value)
-
-
Method Detail
-
forNull
public static AccessorCacheValue forNull()
-
getValue
public Object getValue()
-
unwrap
public Object unwrap(ApplicationContext applicationContext)
Description copied from interface:WrappedObjectUnwraps the original value. Needs to run within a transaction
-
-