edu.ksu.cis.projects.bogor.module
Interface IMessageStore

All Known Implementing Classes:
DefaultMessageStore

public interface IMessageStore

Version:
CVS $Revision: 1.3 $ $Date: 2004/12/18 22:36:33 $
Author:
Matt Hoosier

Method Summary
 FileMessage getError(int index)
           
 int getErrorCount()
           
 List<FileMessage> getErrors()
          Fetch a shallow-cloned copy of the underlying error messages.
 FileMessage getWarning(int index)
           
 int getWarningCount()
           
 List<FileMessage> getWarnings()
          Fetch a shallow-cloned copy of the underlying warnings messages.
 void merge(IMessageStore other)
          Destructively insert the contents of the second message collection into this one.
 void removeError(int index)
           
 void removeWarning(int index)
           
 

Method Detail

getErrorCount

int getErrorCount()

getError

FileMessage getError(int index)

removeError

void removeError(int index)

getErrors

List<FileMessage> getErrors()
Fetch a shallow-cloned copy of the underlying error messages.


getWarningCount

int getWarningCount()

getWarning

FileMessage getWarning(int index)

removeWarning

void removeWarning(int index)

getWarnings

List<FileMessage> getWarnings()
Fetch a shallow-cloned copy of the underlying warnings messages.


merge

void merge(IMessageStore other)
Destructively insert the contents of the second message collection into this one.