com.fuse.storage
Interface FUSEDataObject

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
SQLDataObject
All Known Implementing Classes:
Access, FUSEUser, SQLAccess, SQLFUSEUser

public interface FUSEDataObject
extends java.io.Serializable

FUSEDataObject represents persistent data. If FUSEDataObjects are cacheable, they should provide their own unique cache key.


Method Summary
 java.lang.String getCacheKey()
          Returns the cache key of this object or null if the object is not cacheable.
 java.lang.String getType()
          Returns the type of this object
 

Method Detail

getType

java.lang.String getType()
Returns the type of this object


getCacheKey

java.lang.String getCacheKey()
Returns the cache key of this object or null if the object is not cacheable. NOTE that the cache key must be unique only between objects of same class: the database cache implementation should differ between classes.