Package com.mongodb

Class BasicDBList

    • Constructor Detail

      • BasicDBList

        public BasicDBList()
    • Method Detail

      • isPartialObject

        public boolean isPartialObject()
        Description copied from interface: DBObject
        Whether DBObject.markAsPartialObject() was ever called only matters if you are going to upsert and do not want to risk losing fields.
        Specified by:
        isPartialObject in interface DBObject
        Returns:
        true if this has been marked as a partial object
      • markAsPartialObject

        public void markAsPartialObject()
        Description copied from interface: DBObject
        If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.
        Specified by:
        markAsPartialObject in interface DBObject
      • copy

        public Object copy()
        Copies this instance into a new Object.
        Returns:
        a new BasicDBList with the same values as this instance