HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.common
Interface ICustomPropertyValidator


public interface ICustomPropertyValidator

Validation interface used by Component and Widget in the studio GUI if they do not override the ICustomPropertySupplier.getCustomComposite() function. This validates a user specified setting for a Component's or Widget's individual custom property. Passed to the HCustomProperty in its constructor.

See Also:
ICustomPropertySupplier, HCustomProperty

Field Summary
static String COPYRIGHT
          The HsrCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file.
 
Method Summary
 String getErrorMessage(String key, String value, ResourceBundle bundle)
          Returns a String error message for the specified key and value.
 boolean validateValue(String key, String value, Properties settings)
          Returns a boolean value which states whether the value of the specified key is valid.
 

Field Detail

COPYRIGHT

static final String COPYRIGHT
The HsrCopyright.COPYRIGHT field will be updated each release, thereby "magically" updating this class file.

See Also:
Constant Field Values
Method Detail

validateValue

boolean validateValue(String key,
                      String value,
                      Properties settings)
Returns a boolean value which states whether the value of the specified key is valid.

Parameters:
settings - key/value combination of other keys in the set - this is helpful when value validity is based on other values
key - String key to be validated
value - String value to be validated

getErrorMessage

String getErrorMessage(String key,
                       String value,
                       ResourceBundle bundle)
Returns a String error message for the specified key and value. A ResourceBundle


HATS 7.5.1 (201005110649)