public class ORecordLazyList extends ORecordTrackedList implements ORecordLazyMultiValue
ORecordElement.STATUS
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoConvertToRecord |
protected ORecordMultiValueHelper.MULTIVALUE_CONTENT_TYPE |
contentType |
protected boolean |
marshalling |
protected byte |
recordType |
protected boolean |
ridOnly |
changeListeners, genericClass, sourceRecord
modCount
Constructor and Description |
---|
ORecordLazyList() |
ORecordLazyList(ODocument iSourceRecord) |
ORecordLazyList(ODocument iSourceRecord,
Collection<? extends OIdentifiable> iOrigin) |
replace
addChangeListener, getGenericClass, getInternalStatus, getOwner, removeAll, removeRecordChangeListener, reset, returnOriginalState, setInternalStatus
addAll, clone, ensureCapacity, forEach, removeIf, removeRange, replaceAll, retainAll, sort, spliterator, subList, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
protected final byte recordType
protected ORecordMultiValueHelper.MULTIVALUE_CONTENT_TYPE contentType
protected boolean autoConvertToRecord
protected boolean marshalling
protected boolean ridOnly
public ORecordLazyList()
public ORecordLazyList(ODocument iSourceRecord)
public ORecordLazyList(ODocument iSourceRecord, Collection<? extends OIdentifiable> iOrigin)
public boolean addAll(Collection<? extends OIdentifiable> c)
addAll
in interface Collection<OIdentifiable>
addAll
in interface List<OIdentifiable>
addAll
in class OTrackedList<OIdentifiable>
public boolean isEmpty()
isEmpty
in interface Collection<OIdentifiable>
isEmpty
in interface List<OIdentifiable>
isEmpty
in class ArrayList<OIdentifiable>
public Iterator<OIdentifiable> rawIterator()
rawIterator
in interface ORecordLazyMultiValue
rawIterator
in class ORecordTrackedList
public OIdentifiable rawGet(int index)
public OLazyIterator<OIdentifiable> iterator()
iterator
in interface Iterable<OIdentifiable>
iterator
in interface Collection<OIdentifiable>
iterator
in interface List<OIdentifiable>
iterator
in class ArrayList<OIdentifiable>
public ListIterator<OIdentifiable> listIterator()
listIterator
in interface List<OIdentifiable>
listIterator
in class ArrayList<OIdentifiable>
public ListIterator<OIdentifiable> listIterator(int index)
listIterator
in interface List<OIdentifiable>
listIterator
in class ArrayList<OIdentifiable>
public boolean contains(Object o)
contains
in interface Collection<OIdentifiable>
contains
in interface List<OIdentifiable>
contains
in class ArrayList<OIdentifiable>
public boolean add(OIdentifiable e)
add
in interface Collection<OIdentifiable>
add
in interface List<OIdentifiable>
add
in class OTrackedList<OIdentifiable>
public void add(int index, OIdentifiable e)
add
in interface List<OIdentifiable>
add
in class OTrackedList<OIdentifiable>
public OIdentifiable set(int index, OIdentifiable e)
set
in interface List<OIdentifiable>
set
in class OTrackedList<OIdentifiable>
public OIdentifiable get(int index)
get
in interface List<OIdentifiable>
get
in class ArrayList<OIdentifiable>
public int indexOf(Object o)
indexOf
in interface List<OIdentifiable>
indexOf
in class ArrayList<OIdentifiable>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<OIdentifiable>
lastIndexOf
in class ArrayList<OIdentifiable>
public OIdentifiable remove(int iIndex)
remove
in interface List<OIdentifiable>
remove
in class OTrackedList<OIdentifiable>
public boolean remove(Object iElement)
remove
in interface Collection<OIdentifiable>
remove
in interface List<OIdentifiable>
remove
in class OTrackedList<OIdentifiable>
public void clear()
clear
in interface Collection<OIdentifiable>
clear
in interface List<OIdentifiable>
clear
in class OTrackedList<OIdentifiable>
public int size()
size
in interface OSizeable
size
in interface Collection<OIdentifiable>
size
in interface List<OIdentifiable>
size
in class ArrayList<OIdentifiable>
public <RET> RET setDirty()
ORecordElement
setDirty
in interface ORecordElement
setDirty
in class OTrackedList<OIdentifiable>
public void setDirtyNoChanged()
setDirtyNoChanged
in interface ORecordElement
setDirtyNoChanged
in class OTrackedList<OIdentifiable>
public Object[] toArray()
toArray
in interface Collection<OIdentifiable>
toArray
in interface List<OIdentifiable>
toArray
in class ArrayList<OIdentifiable>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<OIdentifiable>
toArray
in interface List<OIdentifiable>
toArray
in class ArrayList<OIdentifiable>
public void convertLinks2Records()
ORecordLazyMultiValue
OAutoConvertToRecord.setAutoConvertToRecord(boolean)
convertLinks2Records
in interface ORecordLazyMultiValue
public boolean convertRecords2Links()
ORecordLazyMultiValue
convertRecords2Links
in interface ORecordLazyMultiValue
public boolean isAutoConvertToRecord()
isAutoConvertToRecord
in interface OAutoConvertToRecord
public void setAutoConvertToRecord(boolean convertToDocument)
setAutoConvertToRecord
in interface OAutoConvertToRecord
public String toString()
toString
in class AbstractCollection<OIdentifiable>
public byte getRecordType()
public ORecordLazyList copy(ODocument iSourceRecord)
public boolean lazyLoad(boolean iInvalidateStream)
public boolean detach()
ODetachable
detach
in interface ODetachable
public void fireCollectionChangedEvent(OMultiValueChangeEvent<Integer,OIdentifiable> event)
fireCollectionChangedEvent
in interface OTrackedMultiValue<Integer,OIdentifiable>
fireCollectionChangedEvent
in class OTrackedList<OIdentifiable>
public boolean clearDeletedRecords()
Copyright © 2009–2020 OrientDB. All rights reserved.