public class OObjectLazySet<TYPE> extends HashSet<TYPE> implements OLazyObjectSetInterface<TYPE>, OObjectLazyMultivalueElement<Set<TYPE>>, Serializable
Constructor and Description |
---|
OObjectLazySet(Object iSourceRecord,
Set<OIdentifiable> iRecordSource,
boolean orphanRemoval) |
OObjectLazySet(Object iSourceRecord,
Set<OIdentifiable> iRecordSource,
Set<? extends TYPE> iSourceCollection,
boolean orphanRemoval) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(TYPE e) |
boolean |
addAll(Collection<? extends TYPE> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected void |
convertAll() |
protected void |
convertAllInternal() |
protected void |
convertAndDetachAll(boolean nonProxiedInstance,
Map<Object,Object> alreadyDetached,
Map<Object,Object> lazyObjects) |
void |
detach() |
void |
detach(boolean nonProxiedInstance) |
void |
detachAll(boolean nonProxiedInstance,
Map<Object,Object> alreadyDetached,
Map<Object,Object> lazyObjects) |
protected OObjectDatabaseTx |
getDatabase() |
String |
getFetchPlan() |
Set<TYPE> |
getNonOrientInstance() |
Object |
getUnderlying() |
boolean |
isConverted() |
boolean |
isConvertToRecord() |
boolean |
isEmpty() |
Iterator<TYPE> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
setConvertToRecord(boolean convertToRecord) |
void |
setDirty() |
OObjectLazySet<TYPE> |
setFetchPlan(String fetchPlan) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, spliterator
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, spliterator
parallelStream, removeIf, stream
public OObjectLazySet(Object iSourceRecord, Set<OIdentifiable> iRecordSource, boolean orphanRemoval)
public OObjectLazySet(Object iSourceRecord, Set<OIdentifiable> iRecordSource, Set<? extends TYPE> iSourceCollection, boolean orphanRemoval)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
toArray
in interface Collection<TYPE>
toArray
in interface Set<TYPE>
toArray
in class AbstractCollection<TYPE>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<TYPE>
toArray
in interface Set<TYPE>
toArray
in class AbstractCollection<TYPE>
public boolean add(TYPE e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<TYPE>
containsAll
in interface Set<TYPE>
containsAll
in class AbstractCollection<TYPE>
public boolean addAll(Collection<? extends TYPE> c)
addAll
in interface Collection<TYPE>
addAll
in interface Set<TYPE>
addAll
in class AbstractCollection<TYPE>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<TYPE>
retainAll
in interface Set<TYPE>
retainAll
in class AbstractCollection<TYPE>
public void clear()
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<TYPE>
removeAll
in interface Set<TYPE>
removeAll
in class AbstractSet<TYPE>
public String getFetchPlan()
public boolean isConverted()
isConverted
in interface OLazyObjectSetInterface<TYPE>
public OObjectLazySet<TYPE> setFetchPlan(String fetchPlan)
public boolean isConvertToRecord()
public void setConvertToRecord(boolean convertToRecord)
setConvertToRecord
in interface OLazyObjectSetInterface<TYPE>
public String toString()
toString
in class AbstractCollection<TYPE>
public void setDirty()
public void detach()
public void detach(boolean nonProxiedInstance)
detach
in interface OObjectLazyMultivalueElement<Set<TYPE>>
public void detachAll(boolean nonProxiedInstance, Map<Object,Object> alreadyDetached, Map<Object,Object> lazyObjects)
detachAll
in interface OObjectLazyMultivalueElement<Set<TYPE>>
public Set<TYPE> getNonOrientInstance()
getNonOrientInstance
in interface OObjectLazyMultivalueElement<Set<TYPE>>
public Object getUnderlying()
getUnderlying
in interface OObjectLazyMultivalueElement<Set<TYPE>>
protected void convertAll()
protected void convertAllInternal()
protected void convertAndDetachAll(boolean nonProxiedInstance, Map<Object,Object> alreadyDetached, Map<Object,Object> lazyObjects)
protected OObjectDatabaseTx getDatabase()
Copyright © 2009–2020 OrientDB. All rights reserved.