be.objectify.led.factory.object
Class AbstractObjectFactory<T>
java.lang.Object
be.objectify.led.factory.object.AbstractObjectFactory<T>
- All Implemented Interfaces:
- ObjectFactory<T>
- Direct Known Subclasses:
- AbstractNumberFactory, BooleanFactory, CharacterFactory, EnumFactory, ListFactory, MapFactory, SetFactory, StringFactory
public abstract class AbstractObjectFactory<T>
- extends Object
- implements ObjectFactory<T>
- Author:
- Steve Chaloner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractObjectFactory
public AbstractObjectFactory()
validate
public void validate(String propertyName,
String propertyValue,
ValidationFunction... validationFunctions)
throws ValidationException
- Default implementation of validate() does nothing.
- Specified by:
validate in interface ObjectFactory<T>
- Parameters:
propertyName - the name of the propertypropertyValue - the value from the @{link PropertyContext}validationFunctions - functions to validate the property value
- Throws:
ValidationException - if the property value isn't valid
Copyright © 2010 Objectify. All Rights Reserved.