public class DrugEditor
extends java.beans.PropertyEditorSupport
Drug
Constructor and Description |
---|
DrugEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
Gets the drug identifier associated with this property editor.
|
void |
setAsText(java.lang.String text)
Sets the value of the property editor given the drug identifier.
|
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
PropertyEditorSupport.setAsText(java.lang.String)
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
PropertyEditorSupport.getAsText()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.