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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Eine gueltige Byte-Adresse liegt zwischen 1 und 256.

    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

    isVald, validateObject, verify
  • Constructor Details

    • Validator

      public Validator()
  • Method Details

    • validate

      public Integer validate(Integer n)
      Eine gueltige Byte-Adresse liegt zwischen 1 und 256.
      Specified by:
      validate in interface de.jfachwert.SimpleValidator<Integer>
      Parameters:
      n - Adresse, die validiert wird
      Returns:
      Zahl selber, wenn sie gueltig ist