org.org.usurper.handlers.defaults
Class DoublePropertyTypeHandler

java.lang.Object
  extended by org.org.usurper.handlers.basic.AbstractPropertyTypeHandler
      extended by org.org.usurper.handlers.defaults.DoublePropertyTypeHandler
All Implemented Interfaces:
IHandler

public class DoublePropertyTypeHandler
extends AbstractPropertyTypeHandler

This handler returns a random Double value.
It handles the Double type and the primitive double type.

Author:
pagregoire

Constructor Summary
DoublePropertyTypeHandler()
          Instantiates a new double property type handler.
 
Method Summary
 java.lang.Object handle(HandledBeanProperty handledBeanProperty)
          This method allows the generation of a properties' value.
 java.lang.Object handle(HandledConstructorArg handledConstructorArg)
          This method allows the generation of a constructor argument.
 
Methods inherited from class org.org.usurper.handlers.basic.AbstractPropertyTypeHandler
getHandledTypes, setHandledTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoublePropertyTypeHandler

public DoublePropertyTypeHandler()
Instantiates a new double property type handler.

Method Detail

handle

public java.lang.Object handle(HandledBeanProperty handledBeanProperty)
Description copied from interface: IHandler
This method allows the generation of a properties' value.

Parameters:
handledBeanProperty - The bean property's info
Returns:
the generated value.
See Also:
org.org.zepag.vogenerator.handlers.AbstractPropertyTypeHandler#handle()

handle

public java.lang.Object handle(HandledConstructorArg handledConstructorArg)
Description copied from interface: IHandler
This method allows the generation of a constructor argument.

Parameters:
handledConstructorArg - The constructor's arg's info
Returns:
the generated value.
See Also:
org.org.zepag.vogenerator.handlers.AbstractPropertyTypeHandler#handle()


Copyright © 2008. All Rights Reserved.