Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.temp.shared;

import org.litesoft.core.util.externalization.E13nData;

public interface ValueValidator<T> {
    /**
     * Check the 'value' for acceptableness.
     *
     * @param value the value to be checked, null is possible!
     *
     * @return null if the 'value' is acceptable, otherwise the data to generate the Error Text
     */
    E13nData checkValue( T value );

    public static final ValueValidator<?>[] EMPTY_ARRAY = new ValueValidator<?>[0];
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/shared/ValueValidator.java

Diff revisions: vs.
Revision Author Commited Message
724 Diff Diff GeorgeS picture GeorgeS Mon 11 Jun, 2012 00:47:26 +0000
628 Diff Diff GeorgeS picture GeorgeS Fri 13 Apr, 2012 03:53:33 +0000
626 Diff Diff GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000
600 Diff Diff GeorgeS picture GeorgeS Sun 05 Feb, 2012 18:55:58 +0000

Sync-n

594 GeorgeS picture GeorgeS Sat 21 Jan, 2012 00:40:54 +0000