public abstract class AbstractValueModifier<T> extends AbstractModifier
| Constructor and Description |
|---|
AbstractValueModifier(T value,
java.lang.String command) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getCommand() |
protected T |
getValue() |
com.mongodb.DBObject |
toModifierObject(java.lang.String propertyName)
Returns the query representation of the
Modifier. |
toStringpublic AbstractValueModifier(T value, java.lang.String command)
protected T getValue()
protected java.lang.String getCommand()
public com.mongodb.DBObject toModifierObject(java.lang.String propertyName)
AbstractModifierModifier.
Most of the time this will be a DBObject, but
it can be anything accepted by the MongoDB java driver.toModifierObject in interface ModifiertoModifierObject in class AbstractModifierObjectCopyright © 2013. All Rights Reserved.