net.bpelunit.framework.client.eclipse.dialog.validate
Class NotEmptyValidator

java.lang.Object
  extended by net.bpelunit.framework.client.eclipse.dialog.DialogFieldValidator
      extended by 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

Constructor Summary
NotEmptyValidator(String name)
           
 
Method Summary
 String validate(String value)
          Validates the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotEmptyValidator

public NotEmptyValidator(String name)
Method Detail

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.