org.openmrs.propertyeditor
Class PersonEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.openmrs.propertyeditor.PersonEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class PersonEditor
extends java.beans.PropertyEditorSupport

Allows for serializing/deserializing a Person object to a string so that Spring knows how to pass a Person back and forth through an html form or other medium

See Also:
Person

Constructor Summary
PersonEditor()
           
 
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

PersonEditor

public PersonEditor()
Method Detail

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
See Also:
PropertyEditorSupport.setAsText(java.lang.String)

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport
See Also:
PropertyEditorSupport.getAsText()

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change