helix.util.ui.parameters
Class NotEmptyConstraint
java.lang.Object
|
+--helix.util.ui.parameters.NotEmptyConstraint
- All Implemented Interfaces:
- Constraints
- public class NotEmptyConstraint
- extends Object
- implements Constraints
Constraint ensure that the value is a String which is not empty.
Created: Thu Oct 9 09:27:18 2003
- Version:
- $Id: NotEmptyConstraint.java,v 1.1 2003/10/09 07:36:11 ciron Exp $
- Author:
- Pierre-Emmanuel Ciron
NotEmptyConstraint
public NotEmptyConstraint()
isValid
public boolean isValid(Object value)
- Description copied from interface:
Constraints
- Does ...
- Specified by:
isValid
in interface Constraints
- Parameters:
value
-
- Returns:
getErrorMessage
public String getErrorMessage()
- Description copied from interface:
Constraints
- Does ...
- Specified by:
getErrorMessage
in interface Constraints
- Returns: