org.modeshape.jdbc.types

## Class DateTransform

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

- All Implemented Interfaces:
    Transform

      public class DateTransform
      extends Object
      implements Transform

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DateTransform()`

  - ### 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

    - #### DateTransform

          public DateTransform()

  - ### 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.