com.funambol.storage
Class Serialized

java.lang.Object
  extended by com.funambol.storage.Serialized

public class Serialized
extends java.lang.Object

Container class contains deserialized object an related index on the recordstore


Constructor Summary
Serialized(java.io.DataInputStream in, Serializable s, int index)
           
 
Method Summary
 Serializable getObject()
          Object content getter
 int getObjectId()
          Object content getter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serialized

public Serialized(java.io.DataInputStream in,
                  Serializable s,
                  int index)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getObject

public Serializable getObject()
Object content getter

Returns:
Serializable object

getObjectId

public int getObjectId()
Object content getter

Returns:
Object related index


Copyright © 2001-2009 Funambol.