net.sf.oness.common.webapp.controller.util
Class StringToAuditableConverter

java.lang.Object
  extended bynet.sf.oness.common.webapp.controller.util.StringToAuditableConverter
All Implemented Interfaces:
org.apache.commons.beanutils.Converter

public class StringToAuditableConverter
extends java.lang.Object
implements org.apache.commons.beanutils.Converter

Given a string, converts it into an Auditable with id equal to that string.

Version:
$Revision: 1.2 $
Author:
Carlos Sanchez

Constructor Summary
StringToAuditableConverter(net.sf.oness.common.model.auditing.Auditable auditableValue)
          Deprecated.  
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringToAuditableConverter

public StringToAuditableConverter(net.sf.oness.common.model.auditing.Auditable auditableValue)
Deprecated. 
Parameters:
auditableValue - an object of the destination class
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value)
Deprecated. 
Specified by:
convert in interface org.apache.commons.beanutils.Converter
Returns:
an Auditable object cloned from the provided at creation time with id set to value or null if value can't be parsed as a Long
See Also:
Converter.convert(java.lang.Class, java.lang.Object)


Copyright © 2003-2005 ONess Project. All Rights Reserved.