org.modeshape.jdbc
Interface Transform

All Known Implementing Classes:
BlobTransform, BooleanTransform, DateTransform, DecimalTransform, DoubleTransform, LongTransform, StringTransform, TimeStampTransform, UUIDTransform

public interface Transform


Method Summary
 Object transform(Value value)
          This method transforms a value of the source type into a value of the target type.
 

Method Detail

transform

Object transform(Value value)
                 throws ValueFormatException,
                        RepositoryException
This method transforms a value of the source type into a value of the target type.

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-2010 JBoss, a division of Red Hat. All Rights Reserved.