|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.PropertyEditorSupport org.openmrs.propertyeditor.ConceptAnswersEditor
public class ConceptAnswersEditor
Handles lists of conceptids that correspond to answers.
Constructor Summary | |
---|---|
ConceptAnswersEditor(java.util.Collection<ConceptAnswer> originalAnswers)
Default constructor taking in the original answers. |
Method Summary | |
---|---|
void |
setAsText(java.lang.String text)
loops over the textbox assigned to this property. |
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 |
---|
public ConceptAnswersEditor(java.util.Collection<ConceptAnswer> originalAnswers)
originalAnswers
- the list on the pojoMethod Detail |
---|
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
text
- list of conceptIds (not conceptAnswerIds)
java.lang.IllegalArgumentException
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |