net.bpelunit.framework.client.eclipse.dialog.validate
Class NotEmptyValidator
java.lang.Object
net.bpelunit.framework.client.eclipse.dialog.DialogFieldValidator
net.bpelunit.framework.client.eclipse.dialog.validate.NotEmptyValidator
public class NotEmptyValidator
- extends DialogFieldValidator
A validator which simply checks whether the given value is empty.
- Version:
- $Id$
- Author:
- Philip Mayer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotEmptyValidator
public NotEmptyValidator(String name)
validate
public String validate(String value)
- Description copied from class:
DialogFieldValidator
- Validates the given value. Must return an error message in case the value is wrong, or null
in case everything is okay.
- Specified by:
validate in class DialogFieldValidator
- Returns:
Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.