EchoPoint
1.0

echopoint.validation
Interface Validateable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
TextField

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

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

Returns:
the Locale or null if one is not available

getIdentifier

public 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

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

Returns:
the value of the Validateable as a String.

getRuleSet

public 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.

EchoPoint
1.0