be.objectify.led.factory.object
Class ShortFactory

java.lang.Object
  extended by be.objectify.led.factory.object.AbstractObjectFactory<T>
      extended by be.objectify.led.factory.object.AbstractNumberFactory<Short>
          extended by be.objectify.led.factory.object.ShortFactory
All Implemented Interfaces:
ObjectFactory<Short>

public class ShortFactory
extends AbstractNumberFactory<Short>

Object factory for Short instances.

Author:
Steve Chaloner

Constructor Summary
ShortFactory()
           
 
Method Summary
 Class<Short> getBoundClass()
          Gets the class type this factory produces objects for.
 Short parse(String propertyValue)
          Parse the property value to extract an object of the correct type from it.
 
Methods inherited from class be.objectify.led.factory.object.AbstractNumberFactory
createObject
 
Methods inherited from class be.objectify.led.factory.object.AbstractObjectFactory
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortFactory

public ShortFactory()
Method Detail

parse

public Short parse(String propertyValue)
Parse the property value to extract an object of the correct type from it.

Specified by:
parse in class AbstractNumberFactory<Short>
Parameters:
propertyValue - the source value. Must not be null
Returns:
the parsed value

getBoundClass

public Class<Short> getBoundClass()
Gets the class type this factory produces objects for.

Returns:
the class type


Copyright © 2010 Objectify. All Rights Reserved.