|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.validator.UniqueValidator<E>
public class UniqueValidator<E>
Validator implementation that requires each argument
of consecutive calls to the valid() method to be unique.
Created: 20.11.2007 09:55:16
| Constructor Summary | |
|---|---|
UniqueValidator()
|
|
| Method Summary | |
|---|---|
void |
reset()
|
java.lang.String |
toString()
|
boolean |
valid(E object)
Checks if an object is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueValidator()
| Method Detail |
|---|
public boolean valid(E object)
Validator
valid in interface Validator<E>object - the object to validate
public void reset()
reset in interface Resettablepublic 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 | |||||||||