|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.api.dml.TermErrors
public final class TermErrors
Result of the validation: DFTerm.validate(com.im.df.api.ddl.DFDataTree). Holds zero or more errors.
| Constructor Summary | |
|---|---|
TermErrors()
Create new TermErrors instance |
|
| Method Summary | |
|---|---|
void |
addError(DFTerm term,
String error)
Add a new error to this object |
int |
getErrorsCount()
Get the number of errors. |
List<String> |
getErrorsFor(DFTerm term)
Get the error for the given term. |
List<DFTerm> |
getWrongTerms()
Return list of all incorrect terms. |
boolean |
hasErrors()
Test if there are any errors? |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TermErrors()
| Method Detail |
|---|
public boolean hasErrors()
public List<DFTerm> getWrongTerms()
getErrorsFor(DFTerm).
If everything is correct, then returns empty List.
public List<String> getErrorsFor(DFTerm term)
List. Never returns null.
term - The term
public void addError(DFTerm term,
String error)
term - The term which is incorrecterror - The error messagepublic int getErrorsCount()
public String toString()
toString in class Object
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||