FileDocCategorySizeDatePackage
StructuredCollectionCacheEntry.javaAPI DocHibernate 3.2.5704Sun Feb 13 05:47:02 GMT 2005org.hibernate.cache.entry

StructuredCollectionCacheEntry

public class StructuredCollectionCacheEntry extends Object implements CacheEntryStructure
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectdestructure(java.lang.Object item, org.hibernate.engine.SessionFactoryImplementor factory)

		List list = (List) item;
		return new CollectionCacheEntry( list.toArray( new Serializable[list.size()] ) );
	
public java.lang.Objectstructure(java.lang.Object item)

		CollectionCacheEntry entry = (CollectionCacheEntry) item;
		return Arrays.asList( entry.getState() );