public class WriteConcernPropertyEditor extends PropertyEditorSupport
WriteConcern. If it is a well know String as identified by the
WriteConcern.valueOf(String), use the well known WriteConcern value, otherwise pass the string as is
to the constructor of the write concern. There is no support for other constructor signatures when parsing from a
string value.| Constructor and Description |
|---|
WriteConcernPropertyEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAsText(String writeConcernString)
Parse a string to a List
|
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic void setAsText(@Nullable String writeConcernString)
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.