com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest.converters
Class DateNativeValueConverter

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.alfresco.bpm.rest.converters.DateNativeValueConverter
All Implemented Interfaces:
NativeValueConverter

public class DateNativeValueConverter
extends Object
implements NativeValueConverter

Converts from String to Date and back.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
4.0.0.0

Constructor Summary
DateNativeValueConverter()
           
 
Method Summary
 Object fromJava(Object javaValue)
           
 Object fromNative(Object nativeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateNativeValueConverter

public DateNativeValueConverter()
Method Detail

fromNative

public Object fromNative(Object nativeValue)
                  throws com.wewebu.ow.server.exceptions.OwException
Specified by:
fromNative in interface NativeValueConverter
Throws:
com.wewebu.ow.server.exceptions.OwException

fromJava

public Object fromJava(Object javaValue)
                throws com.wewebu.ow.server.exceptions.OwException
Specified by:
fromJava in interface NativeValueConverter
Throws:
com.wewebu.ow.server.exceptions.OwException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.