Runtime components : Core components : Typed data : Concepts : Validators : Validation hierarchy
  
Validation hierarchy
The hierarchy of validator classes mirrors the hierarchy of property descriptor classes. In the same way that AbstractPropertyDescriptor is the parent for all property descriptors, AbstractValidator is the parent for all property descriptors and implements the Validation interface. Validators for simple types inherit directly from this abstract super class in a similar way that simple property descriptor classes inherit directly from AbstractPropertyDescriptor. The toolkit provides validators for basic types such as String, Integer, and Float (StringValidator, IntegerValidator, and FloatValidator). These classes are sample implementations of validator for simple types. Depending on application requirements, you may need to extend them or replace them with another implementation.
Validators for compound business objects extending DataCollection (that is, from either KeyedCollection or IndexedCollection) should extend the KCollValidator and IcollValidator provided by the toolkit. These classes extend AbstractValidator. The following diagram shows the relationships between the classes in the converter hierarchy:
This graphic is described in the surrounding text.
Go up to
Validators