|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.myJava.util.errors.ActionReport
public class ActionReport
Classe repr�sentant un rapport d'erreur sur des donn�es.
Elle r�f�rence :
- une collection d'erreurs
- un bool�en indiquant si tout est OK ou non
- Une information compl�mentaire, sous la forme d'une instance "Object"
Constructor Summary | |
---|---|
ActionReport()
Constructeur |
Method Summary | |
---|---|
void |
addError(ActionError err)
Ajout d'une erreur |
void |
addError(int code)
Ajout d'une erreur |
void |
addInformation(ActionInformation inf)
Ajout d'une information |
void |
addInformation(java.lang.Object value)
Ajout d'une information |
void |
addInformation(java.lang.String type,
java.lang.Object value)
Ajout d'une information |
ActionError |
getErrorAt(int i)
Retourne l'erreur � l'index sp�cifi� |
int |
getErrorCount()
Retourne le nombre d'erreurs |
ActionInformation |
getInformationAt(int i)
Retourne l'information � l'index sp�cifi� |
ActionInformation |
getInformationAt(java.lang.String type,
int i)
Retourne l'information � l'index sp�cifi�. |
int |
getInformationCount()
Retourne le nombre d'informations |
int |
getInformationCount(java.lang.String type)
Retourne le nombre d'informations du type sp�cifi� |
boolean |
isDataValid()
Indique le r�sultat de la v�rification |
void |
merge(ActionReport res)
Fusionne les deux resultats. |
java.lang.String |
toString()
Red�finition toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionReport()
Method Detail |
---|
public boolean isDataValid()
public int getErrorCount()
public int getInformationCount()
public int getInformationCount(java.lang.String type)
public ActionError getErrorAt(int i)
public ActionInformation getInformationAt(int i)
public ActionInformation getInformationAt(java.lang.String type, int i)
public void addError(ActionError err)
public void addError(int code)
public void addInformation(ActionInformation inf)
public void addInformation(java.lang.String type, java.lang.Object value)
public void addInformation(java.lang.Object value)
public void merge(ActionReport res)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |