org.gvsig.tools.persistence
Interface PersistentContext

All Known Subinterfaces:
PersistentContextServices
All Known Implementing Classes:
DefaultPersistentContext

public interface PersistentContext


Method Summary
 void addError(Throwable cause)
          Add a error to the list of errors of the context.
 PersistenceException getErrors()
          Get all errors collected to the moment in this context.
 Iterator iterator()
          Return an iterator over the states stored in this context.
 

Method Detail

iterator

Iterator iterator()
Return an iterator over the states stored in this context.

Returns:
iterator of PersistentState

addError

void addError(Throwable cause)
Add a error to the list of errors of the context.

Parameters:
cause -

getErrors

PersistenceException getErrors()
Get all errors collected to the moment in this context.

Returns:
a PersistentException with al errors.


Copyright © 2004-2011 gvSIG. All Rights Reserved.