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, supportsCustomEditor
public void setAsText(String writeConcernString)
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.