public class BeanMongoDBObject extends Object implements com.mongodb.DBObject
Constructor and Description |
---|
BeanMongoDBObject(Bean bean)
Creates an instance wrapping a bean.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsField(String name) |
boolean |
containsKey(String name)
Deprecated.
Use containsField()
|
Object |
get(String name) |
boolean |
isPartialObject() |
Set<String> |
keySet() |
void |
markAsPartialObject() |
Object |
put(String name,
Object value) |
void |
putAll(com.mongodb.DBObject object) |
void |
putAll(Map map) |
Object |
removeField(String name) |
Map |
toMap() |
public BeanMongoDBObject(Bean bean)
bean
- the bean to wrap, not nullpublic boolean containsField(String name)
containsField
in interface com.mongodb.DBObject
@Deprecated public boolean containsKey(String name)
containsKey
in interface com.mongodb.DBObject
public Object put(String name, Object value)
put
in interface com.mongodb.DBObject
public void putAll(com.mongodb.DBObject object)
putAll
in interface com.mongodb.DBObject
public Object removeField(String name)
removeField
in interface com.mongodb.DBObject
public boolean isPartialObject()
isPartialObject
in interface com.mongodb.DBObject
public void markAsPartialObject()
markAsPartialObject
in interface com.mongodb.DBObject
Copyright © 2007–2013 Joda.org. All rights reserved.