org.apache.wsrp4j.persistence
Interface PersistentDataObject

All Known Subinterfaces:
PersistentDataObjectXML
All Known Implementing Classes:
PersistentDataObjectImpl

public interface PersistentDataObject

This class is the generic interface for the PersistentDataObject implementations used to store and retrieve objects from a persistent store.

Version:
$Id: PersistentDataObject.java,v 1.5 2005/08/10 14:59:57 cziegeler Exp $
Author:
Ralf Altrichter

Method Summary
 void addObject(java.lang.Object object)
          Add an element to the internal map
 void clear()
          Clear the internal object collection
 java.lang.Object getLastElement()
          Returns the last element added
 java.util.Iterator getObjects()
          Returns all objects in the object map as an iterator
 PersistentInformation getPersistentInformation()
          Get the PersistentInformation for this PersistentDataObject
 void setPersistentInformation(PersistentInformation persistentInfo)
          Sets the PersistentInformation object for this PersistentDataObject
 

Method Detail

setPersistentInformation

public void setPersistentInformation(PersistentInformation persistentInfo)
Sets the PersistentInformation object for this PersistentDataObject

Parameters:
persistentInfo -
See Also:
PersistentInformation

getPersistentInformation

public PersistentInformation getPersistentInformation()
Get the PersistentInformation for this PersistentDataObject

Returns:
PersistentInformation
See Also:
PersistentInformation

clear

public void clear()
Clear the internal object collection


getObjects

public java.util.Iterator getObjects()
Returns all objects in the object map as an iterator

Returns:
Iterator

addObject

public void addObject(java.lang.Object object)
Add an element to the internal map

Parameters:
object - Object as element

getLastElement

public java.lang.Object getLastElement()
Returns the last element added

Returns:
Object as last element


--