org.org.usurper.handlers.sql
Class TimestampPropertyTypeHandler

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

public class TimestampPropertyTypeHandler
extends AbstractPropertyTypeHandler

This handler returns a random java.sql.Timestamp value.
It handles the java.sql.Timestamp type.

Author:
pagregoire

Constructor Summary
TimestampPropertyTypeHandler()
          Instantiates a new timestamp 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

TimestampPropertyTypeHandler

public TimestampPropertyTypeHandler()
Instantiates a new timestamp 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.