Class JacksonDBObject<T>

  • All Implemented Interfaces:
    com.mongodb.DBObject, Serializable, Cloneable, Map<String,​Object>, org.bson.BSONObject, org.bson.conversions.Bson

    public class JacksonDBObject<T>
    extends com.mongodb.BasicDBObject
    A Jackson DBObject. Extends BasicDBObject so that it can hold error code fields and similar.
    Since:
    1.1.2
    Author:
    James Roper
    See Also:
    Serialized Form
    • Constructor Detail

      • JacksonDBObject

        public JacksonDBObject()
      • JacksonDBObject

        public JacksonDBObject​(T object,
                               Class<?> view)
    • Method Detail

      • getObject

        public T getObject()
      • setObject

        public void setObject​(T object)
      • getView

        public Class<?> getView()
      • setView

        public void setView​(Class<?> view)