org.openmrs.propertyeditor
Class ConceptSetsEditor

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

public class ConceptSetsEditor
extends java.beans.PropertyEditorSupport

Turns a list of concept ids "123 1234 1235" into a List of ConceptSets


Constructor Summary
ConceptSetsEditor(java.util.Collection<ConceptSet> conceptSets)
          Default constructor taking in the current sets on a concept
 
Method Summary
 void setAsText(java.lang.String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, 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

ConceptSetsEditor

public ConceptSetsEditor(java.util.Collection<ConceptSet> conceptSets)
Default constructor taking in the current sets on a concept

Parameters:
conceptSets - the current object on the concept
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)

OpenMRS-1.7.x

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