Package com.mongodb
Class BasicDBList
- java.lang.Object
 - 
- java.util.AbstractCollection<E>
 - 
- java.util.AbstractList<E>
 - 
- java.util.ArrayList<java.lang.Object>
 - 
- org.bson.types.BasicBSONList
 - 
- com.mongodb.BasicDBList
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 DBObject,java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<java.lang.Object>,java.util.Collection<java.lang.Object>,java.util.List<java.lang.Object>,java.util.RandomAccess,BSONObject
@Deprecated(since="2021-05-27") public class BasicDBList extends BasicBSONList implements DBObject
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.An implementation of List that reflects the way BSON lists work.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BasicDBList()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectcopy()Deprecated.Copies this instance into a new Object.booleanisPartialObject()Deprecated.WhetherDBObject.markAsPartialObject()was ever called only matters if you are going to upsert and do not want to risk losing fields.voidmarkAsPartialObject()Deprecated.If this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.- 
Methods inherited from class org.bson.types.BasicBSONList
containsField, containsKey, get, keySet, put, put, putAll, putAll, removeField, toMap 
- 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize 
- 
Methods inherited from interface org.bson.BSONObject
containsField, containsKey, get, keySet, put, putAll, putAll, removeField, toMap 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isPartialObject
public boolean isPartialObject()
Deprecated.Description copied from interface:DBObjectWhetherDBObject.markAsPartialObject()was ever called only matters if you are going to upsert and do not want to risk losing fields.- Specified by:
 isPartialObjectin interfaceDBObject- Returns:
 - true if this has been marked as a partial object
 
 
- 
markAsPartialObject
public void markAsPartialObject()
Deprecated.Description copied from interface:DBObjectIf this object was retrieved with only some fields (using a field filter) this method will be called to mark it as such.- Specified by:
 markAsPartialObjectin interfaceDBObject
 
- 
copy
public java.lang.Object copy()
Deprecated.Copies this instance into a new Object.- Returns:
 - a new BasicDBList with the same values as this instance
 
 
 - 
 
 -