be.objectify.led.factory.object
Class BooleanFactory
java.lang.Object
be.objectify.led.factory.object.AbstractObjectFactory<Boolean>
be.objectify.led.factory.object.BooleanFactory
- All Implemented Interfaces:
- ObjectFactory<Boolean>
public class BooleanFactory
- extends AbstractObjectFactory<Boolean>
Object factory for Boolean instances.
- Author:
- Steve Chaloner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanFactory
public BooleanFactory()
createObject
public Boolean createObject(String propertyName,
String propertyValue)
- Creates an object based on propertyValue. If propertyValue is null
or no object can be based on it, null should be returned.
propertyValue - the value of the property
- Returns:
- an object (probably) based on propertyValue, or null
getBoundClass
public Class<Boolean> getBoundClass()
- Gets the class type this factory produces objects for.
- Returns:
- the class type
Copyright © 2010 Objectify. All Rights Reserved.