litesoft
Diff Revisions
625
vs
626
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/shared/ValueValidator.java
|
@@ -1,15 +1,14 @@ |
1 |
|
- |
package com.temp.shared; |
2 |
|
- |
|
3 |
|
- |
import com.temp.shared.externalization.*; |
4 |
|
- |
|
5 |
|
- |
public interface ValueValidator<T> |
6 |
|
- |
{ |
7 |
|
- |
/** |
8 |
|
- |
* Check the 'value' for acceptableness. |
9 |
|
- |
* |
10 |
|
- |
* @param value the value to be checked, null is possible! |
11 |
|
- |
* |
12 |
|
- |
* @return null if the 'value' is acceptable, otherwise the data to generate the Error Text |
13 |
|
- |
*/ |
14 |
|
- |
E13nData checkValue( T value ); |
15 |
|
- |
} |
|
1 |
+ |
package com.temp.shared; |
|
2 |
+ |
|
|
3 |
+ |
import com.temp.shared.externalization.E13nData; |
|
4 |
+ |
|
|
5 |
+ |
public interface ValueValidator<T> { |
|
6 |
+ |
/** |
|
7 |
+ |
* Check the 'value' for acceptableness. |
|
8 |
+ |
* |
|
9 |
+ |
* @param value the value to be checked, null is possible! |
|
10 |
+ |
* |
|
11 |
+ |
* @return null if the 'value' is acceptable, otherwise the data to generate the Error Text |
|
12 |
+ |
*/ |
|
13 |
+ |
E13nData checkValue( T value ); |
|
14 |
+ |
} |