it.openutils.spring.editors
Class GenericSetPropertyEditor<T>

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by it.openutils.spring.editors.GenericSetPropertyEditor<T>
All Implemented Interfaces:
java.beans.PropertyEditor

public class GenericSetPropertyEditor<T>
extends java.beans.PropertyEditorSupport

Version:
$Id: GenericSetPropertyEditor.java 194 2007-02-02 09:48:16Z fcarone $
Author:
fgiust

Constructor Summary
GenericSetPropertyEditor(java.lang.Object dao, java.lang.String propertyName, java.lang.Class<T> propertyType)
          ProfiloPropertyEditor.
 
Method Summary
 java.lang.String getAsText()
          
 void setAsText(java.lang.String text)
          
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericSetPropertyEditor

public GenericSetPropertyEditor(java.lang.Object dao,
                                java.lang.String propertyName,
                                java.lang.Class<T> propertyType)
ProfiloPropertyEditor.

Parameters:
dao - generic DAO
propertyName - property name
propertyType - property type
Method Detail

getAsText

public java.lang.String getAsText()

Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException


Copyright © 2007 Openmind. All Rights Reserved.