BeeSoft®
Since 1992
 

Content

 Welcome
 Products
       Abeona
       Gaia
             News
             Documentation
                   Introduction
                   Swing support
                   Server application
                   Validation
                   XML
                   Logging
                   Utilities
                   Launcher
             License
             Download
       Hephaistos
       JavaGantt
 Services
       Promote your software
 Contact Us
 Links
      
  GaiaI®
© 2012 BeeSoft ®
 

Validation

Package eu.beesoft.gaia.validation offers a few classes to build your own validation system.

There is a class ValidationError which instance covers one error from validation.

All ValidationError instances from one validation process are held by the instance of ValidationResult class.

The abstract superclass for all validators is class Validator. This class is initialized with message that should be made public when validation fails. And in subclasses is necessary to process method validate (Object).

There is currently just one validator implementation - NotNullValidator - which reports validation error when validated value is null.