Package gdv.xport.feld
Class ByteAdresse.Validator
java.lang.Object
gdv.xport.feld.ByteAdresse.Validator
- All Implemented Interfaces:
de.jfachwert.SimpleValidator<Integer>
,Serializable
- Enclosing class:
- ByteAdresse
public static class ByteAdresse.Validator
extends Object
implements de.jfachwert.SimpleValidator<Integer>
- See Also:
-
Field Summary
Fields inherited from interface de.jfachwert.SimpleValidator
logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.jfachwert.SimpleValidator
validateObject, verify
-
Constructor Details
-
Validator
public Validator()
-
-
Method Details
-
validate
Eine gueltige Byte-Adresse liegt zwischen 1 und 256.- Specified by:
validate
in interfacede.jfachwert.SimpleValidator<Integer>
- Parameters:
n
- Adresse, die validiert wird- Returns:
- Zahl selber, wenn sie gueltig ist
-