be.objectify.led.validation
Interface ValidationFunction


public interface ValidationFunction

Functional objects are used to validate property values.

Author:
Steve Chaloner

Method Summary
 void validate(String propertyName, String propertyValue)
          Validates the property value.
 

Method Detail

validate

void validate(String propertyName,
              String propertyValue)
              throws ValidationException
Validates the property value.

Parameters:
propertyName - the name of the property
propertyValue - the value of the property
Throws:
ValidationException - if the value isn't valid


Copyright © 2010 Objectify. All Rights Reserved.