com.funambol.syncml.spds
Class ItemMap

java.lang.Object
  extended by com.funambol.syncml.spds.ItemMap
All Implemented Interfaces:
com.funambol.storage.Serializable

public class ItemMap
extends java.lang.Object
implements com.funambol.storage.Serializable

The serializable object used to persist mapping informations


Constructor Summary
ItemMap()
           
ItemMap(java.lang.String sourceName)
           
ItemMap(java.lang.String sourceName, java.util.Hashtable mappings)
           
 
Method Summary
 void deserialize(java.io.DataInputStream in)
          The interface method use by the store to deserialize this object
 java.util.Hashtable getMappings()
          Accessor method
 java.lang.String getSourceName()
          Accessor method
 void serialize(java.io.DataOutputStream out)
          The interface method use by the store to serialize this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemMap

public ItemMap()

ItemMap

public ItemMap(java.lang.String sourceName)

ItemMap

public ItemMap(java.lang.String sourceName,
               java.util.Hashtable mappings)
Method Detail

serialize

public void serialize(java.io.DataOutputStream out)
               throws java.io.IOException
The interface method use by the store to serialize this object

Specified by:
serialize in interface com.funambol.storage.Serializable
Parameters:
out - is where the object is serialized
Throws:
java.io.IOException

deserialize

public void deserialize(java.io.DataInputStream in)
                 throws java.io.IOException
The interface method use by the store to deserialize this object

Specified by:
deserialize in interface com.funambol.storage.Serializable
Parameters:
in - is where the object is read
Throws:
java.io.IOException

getMappings

public java.util.Hashtable getMappings()
Accessor method

Returns:
Hashtable related mappings

getSourceName

public java.lang.String getSourceName()
Accessor method

Returns:
sourceName of the related source


Copyright © 2006 Funambol.