org.modeshape.jdbc.types

## Class TimeStampTransform

- java.lang.Object
- - org.modeshape.jdbc.types.TimeStampTransform

- All Implemented Interfaces:
    Transform

      public class TimeStampTransform
      extends Object
      implements Transform

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimeStampTransform()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `transform(Value value)` This method transforms a value of the source type into a value of the target type.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TimeStampTransform

          public TimeStampTransform()

  - ### Method Detail

    - #### transform

          public Object transform(Value value)
                           throws ValueFormatException,
                                  RepositoryException

      Description copied from interface: `Transform`
      This method transforms a value of the source type into a value of the target type.
      Specified by:
        `transform` in interface `Transform`
      Parameters:
        `value` - Incoming value of source type
      Returns:
        Outgoing value of target type
      Throws:
        `ValueFormatException` - if value is an incorrect input type
        `RepositoryException` - if unable to obtain value from repository the transformation fails

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.