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

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

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

Given a string array, converts it into an Auditable array with ids equal to that strings.

Version:
$Revision: 1.2 $
Author:
Carlos Sanchez

Constructor Summary
StringArrayToAuditableConverter(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

StringArrayToAuditableConverter

public StringArrayToAuditableConverter(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:
a Set with Auditable objects cloned from the provided at creation time with ids set to values or null if value has zero length
See Also:
Converter.convert(java.lang.Class, java.lang.Object)


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