echopoint.validation
Interface Validateable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractDateTimeField, ClientDatePicker, ComboBox, DateField, NumberFormatField, PasswordField, RecallComboBox, SpinField, TextField, TimeField

public interface Validateable
extends java.io.Serializable

A Validateable is something that has a ValidationRuleSet of ValidationRules associated with it and one that can have returns its value as a String.


Method Summary
 java.lang.Object getIdentifier()
          This returns the identifier used when evaluating this Validateable.
 java.util.Locale getLocale()
          Returns the locale to use with this Validateable.
 ValidationRuleSet getRuleSet()
          This returns the ValidationRuleSet that can be used to validate this Validateable.
 java.lang.String getText()
          This returns the value of the Validateable as a String.
 

Method Detail

getLocale

java.util.Locale getLocale()
Returns the locale to use with this Validateable.

Returns:
the Locale or null if one is not available

getIdentifier

java.lang.Object getIdentifier()
This returns the identifier used when evaluating this Validateable. It can be used to distinguish this Validateable from another.

Returns:
the identifier used when evaluating this Validateable.

getText

java.lang.String getText()
This returns the value of the Validateable as a String.

Returns:
the value of the Validateable as a String.

getRuleSet

ValidationRuleSet getRuleSet()
This returns the ValidationRuleSet that can be used to validate this Validateable.

Returns:
the ValidationRuleSet that can be used to validate this Validateable.