
public class ODocument extends ORecordAbstract implements Iterable<Map.Entry<String,Object>>, ORecordSchemaAware, ODetachable, Externalizable, OElement
ORecordElement.STATUS| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_allowChainedAccess |
protected Map<String,ODocumentEntry> |
_fields |
protected int |
_fieldSize |
protected boolean |
_lazyLoad |
protected boolean |
_ordered |
protected List<WeakReference<ORecordElement>> |
_owners |
protected OImmutableSchema |
_schema |
protected boolean |
_trackingChanges |
protected static String[] |
EMPTY_STRINGS |
static byte |
RECORD_TYPE |
_contentChanged, _dirty, _dirtyManager, _listeners, _recordFormat, _recordId, _recordVersion, _size, _source, _status| Constructor and Description |
|---|
ODocument()
Internal constructor used on unmarshalling.
|
ODocument(byte[] iSource)
Deprecated.
|
ODocument(InputStream iSource)
Creates a new instance by the raw stream usually read from the database.
|
ODocument(Map<?,Object> iFieldMap)
Fills a document passing a map of key/values where the key is the field name and the value the field's value.
|
ODocument(Object[] iFields)
Fills a document passing the field array in form of pairs of field name and value.
|
ODocument(OClass iClass)
Creates a new instance in memory of the specified schema class.
|
ODocument(ORID iRID)
Creates a new instance in memory linked by the Record Id to the persistent one.
|
ODocument(String iClassName)
Creates a new instance in memory of the specified class.
|
ODocument(String iFieldName,
Object iFieldValue,
Object... iFields)
Fills a document passing the field names/values pair, where the first pair is mandatory.
|
ODocument(String iClassName,
ORID iRID)
Creates a new instance in memory of the specified class, linked by the Record Id to the persistent one.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOwner(ORecordElement iOwner)
Internal.
|
Optional<OEdge> |
asEdge()
Returns an instance of OEdge representing current element
|
Optional<OVertex> |
asVertex()
Returns an instance of OVertex representing current element
|
protected void |
autoConvertFieldsToClass(ODatabaseDocumentInternal database) |
protected void |
autoConvertValues() |
protected void |
checkClass(ODatabaseDocumentInternal database) |
protected String |
checkFieldName(String iFieldName) |
protected boolean |
checkForFields(String... iFields) |
ODocument |
clear()
Clears all the field values and types.
|
protected void |
clearSource() |
protected void |
clearTrackData() |
boolean |
containsField(String iFieldName)
Checks if a field exists.
|
protected void |
convertAllMultiValuesToTrackedVersions()
Converts all non-tracked collections implementations contained in document fields to tracked ones.
|
ODocument |
copy()
Copies the current instance to a new one.
|
ORecordAbstract |
copyTo(ORecordAbstract iDestination)
Copies all the fields into iDestination document.
|
boolean |
deserializeFields(String... iFields) |
boolean |
detach()
Detaches all the connected records.
|
boolean |
equals(Object obj) |
Object |
eval(String iExpression)
Evaluates a SQL expression against current document.
|
Object |
eval(String iExpression,
OCommandContext iContext)
Evaluates a SQL expression against current document by passing a context.
|
<RET> RET |
field(String iFieldName)
Reads the field value.
|
<RET> RET |
field(String iFieldName,
Class<?> iFieldType)
Reads the field value forcing the return type.
|
ODocument |
field(String iFieldName,
Object iPropertyValue)
Writes the field value.
|
ODocument |
field(String iFieldName,
Object iPropertyValue,
OType... iFieldType)
Writes the field value forcing the type.
|
<RET> RET |
field(String iFieldName,
OType iFieldType)
Reads the field value forcing the return type.
|
String[] |
fieldNames()
Returns the set of field names.
|
int |
fields()
Returns the number of fields in memory.
|
ODocument |
fields(Map<String,Object> iMap)
Deprecated.
|
ODocument |
fields(String iFieldName,
Object iFieldValue,
Object... iFields)
Fills a document passing the field names/values.
|
OType |
fieldType(String iFieldName)
Returns the forced field type if any.
|
Object[] |
fieldValues()
Returns the array of field values.
|
protected ORecordAbstract |
fill(ORID iRid,
int iVersion,
byte[] iBuffer,
boolean iDirty) |
protected ORecordAbstract |
fill(ORID iRid,
int iVersion,
byte[] iBuffer,
boolean iDirty,
ODatabaseDocumentInternal db) |
protected void |
fillClassIfNeed(String iClassName) |
ODocument |
fromJSON(InputStream iContentResult) |
ODocument |
fromJSON(String iSource)
Fills the record parsing the content in JSON format.
|
ODocument |
fromJSON(String iSource,
boolean needReload) |
ODocument |
fromJSON(String iSource,
String iOptions) |
ODocument |
fromMap(Map<String,?> iMap)
Fills a document passing the field names/values as a Map String,Object where the keys are the field names and the values are
the field values.
|
ODocument |
fromStream(byte[] iRecordBuffer)
Unmarshalls the object.
|
void |
fromString(String iValue)
Deprecated.
|
String |
getClassName()
Returns the class name associated to the current record.
|
OMultiValueChangeTimeLine<Object,Object> |
getCollectionTimeLine(String iFieldName) |
String[] |
getDirtyFields()
Returns list of changed fields.
|
protected OGlobalProperty |
getGlobalPropertyById(int id) |
protected OImmutableClass |
getImmutableSchemaClass() |
protected OImmutableClass |
getImmutableSchemaClass(ODatabaseDocumentInternal database) |
protected ODocumentEntry |
getOrCreate(String key) |
Object |
getOriginalValue(String iFieldName)
Returns the original value of a field before it has been changed.
|
ORecordElement |
getOwner() |
Iterable<ORecordElement> |
getOwners() |
<RET> RET |
getProperty(String iFieldName)
retrieves a property value from the current document
|
Set<String> |
getPropertyNames()
Returns all the names of defined properties
|
protected Set<Map.Entry<String,ODocumentEntry>> |
getRawEntries() |
protected <RET> RET |
getRawProperty(String iFieldName)
retrieves a property value from the current document, without evaluating it (eg.
|
protected byte |
getRecordType()
Internal.
|
OClass |
getSchemaClass()
Returns the schema class object for the record.
|
Optional<OClass> |
getSchemaType()
Returns the type of current element, ie the class in the schema (if any)
|
int |
hashCode() |
boolean |
hasOwners()
Returns true if the record has some owner.
|
boolean |
hasSameContentOf(ODocument iOther) |
protected void |
internalReset() |
boolean |
isAllowChainedAccess()
Returns the behavior of field() methods allowing access to the sub documents with dot notation ('.').
|
boolean |
isEdge()
return true if the current element is an edge
|
boolean |
isEmbedded() |
boolean |
isEmpty() |
boolean |
isLazyLoad() |
boolean |
isOrdered() |
boolean |
isTrackingChanges() |
boolean |
isVertex()
return true if the current element is a vertex
|
Iterator<Map.Entry<String,Object>> |
iterator()
Returns the iterator fields
|
ODocument |
load(String iFetchPlan)
Loads the record using a fetch plan.
|
ODocument |
load(String iFetchPlan,
boolean iIgnoreCache)
Loads the record using a fetch plan.
|
ODocument |
load(String iFetchPlan,
boolean iIgnoreCache,
boolean loadTombstone)
Deprecated.
|
ODocument |
merge(Map<String,Object> iOther,
boolean iUpdateOnlyMode,
boolean iMergeSingleItemsOfMultiValueFields)
Merge current document with the document passed as parameter.
|
ODocument |
merge(ODocument iOther,
boolean iUpdateOnlyMode,
boolean iMergeSingleItemsOfMultiValueFields)
Merge current document with the document passed as parameter.
|
protected ODocument |
mergeMap(Map<String,ODocumentEntry> iOther,
boolean iUpdateOnlyMode,
boolean iMergeSingleItemsOfMultiValueFields) |
ORecord |
placeholder()
Returns an empty record as place-holder of the current.
|
protected boolean |
rawContainsField(String iFiledName) |
<RET> RET |
rawField(String iFieldName) |
protected void |
rawField(String iFieldName,
Object iFieldValue,
OType iFieldType) |
void |
readExternal(ObjectInput stream) |
ODocument |
reload(String fetchPlan,
boolean ignoreCache) |
Object |
removeField(String iFieldName)
Removes a field.
|
protected void |
removeOwner(ORecordElement iRecordElement) |
<RET> RET |
removeProperty(String iFieldName)
Remove a property
|
ODocument |
reset()
Resets the record values and class type to being reused.
|
ODocument |
save()
Saves in-memory changes to the database.
|
ODocument |
save(String iClusterName)
Saves in-memory changes to the database defining a specific cluster where to save it.
|
ORecordAbstract |
save(String iClusterName,
boolean forceCreate) |
ODocument |
setAllowChainedAccess(boolean _allowChainedAccess)
Change the behavior of field() methods allowing access to the sub documents with dot notation ('.').
|
protected void |
setClass(OClass iClass) |
void |
setClassName(String className)
Sets the class for the current record.
|
void |
setClassNameIfExists(String iClassName)
Sets the class for the current record only if already exists in the schema.
|
ORecordAbstract |
setDirty()
Propagates the dirty status to the owner, if any.
|
void |
setDirtyNoChanged() |
ODocument |
setFieldType(String iFieldName,
OType iFieldType)
Sets the field type.
|
void |
setLazyLoad(boolean iLazyLoad) |
ODocument |
setOrdered(boolean iOrdered) |
void |
setProperty(String iFieldName,
Object iPropertyValue)
sets a property value on current document
|
void |
setProperty(String iPropetyName,
Object iPropertyValue,
OType... iFieldType)
Sets
|
ODocument |
setTrackingChanges(boolean iTrackingChanges)
Enabled or disabled the tracking of changes in the document.
|
protected void |
setup()
Internal.
|
Map<String,Object> |
toMap()
Returns the document as Map String,Object .
|
byte[] |
toStream()
Marshalls the object.
|
protected byte[] |
toStream(boolean iOnlyDelta) |
String |
toString()
Dumps the instance as string.
|
protected String |
toString(Set<ORecord> inspected) |
protected void |
track(OIdentifiable id) |
ODocument |
undo()
Rollbacks changes to the loaded version without reloading the document.
|
ODocument |
undo(String field) |
ODocument |
unload()
Unloads current record.
|
protected void |
unTrack(OIdentifiable id) |
void |
validate()
Validates the record following the declared constraints defined in schema such as mandatory, notNull, min, max, regexp, etc.
|
protected static void |
validateEmbedded(OProperty p,
Object fieldValue) |
protected static void |
validateField(ODocument iRecord,
OImmutableProperty p) |
protected static void |
validateLink(OProperty p,
Object fieldValue,
boolean allowNull) |
protected static void |
validateLinkCollection(OProperty property,
Iterable<Object> values,
ODocumentEntry value) |
protected static void |
validateType(OProperty p,
Object value) |
void |
writeExternal(ObjectOutput stream) |
addIdentityChangeListener, addListener, checkForLoading, compare, compareTo, delete, flatCopy, getDatabase, getDatabaseIfDefined, getDatabaseIfDefinedInternal, getDatabaseInternal, getDirtyManager, getIdentity, getInternalStatus, getRecord, getSize, getVersion, invokeListenerEvent, isContentChanged, isDirty, isLocked, load, lock, lockingStrategy, onAfterIdentityChanged, onBeforeIdentityChanged, reload, reload, reload, removeIdentityChangeListener, removeListener, save, setContentChanged, setDirtyManager, setIdentity, setIdentity, setInternalStatus, setVersion, toJSON, toJSON, toJSON, toJSON, unlock, unsetDirtyclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratordelete, getDatabase, getIdentity, getSize, getVersion, isDirty, load, reload, reload, save, toJSON, toJSONgetInternalStatus, setInternalStatusgetRecord, isLocked, lock, lockingStrategy, unlockcompareTocompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final byte RECORD_TYPE
protected static final String[] EMPTY_STRINGS
protected int _fieldSize
protected Map<String,ODocumentEntry> _fields
protected boolean _trackingChanges
protected boolean _ordered
protected boolean _lazyLoad
protected boolean _allowChainedAccess
protected transient List<WeakReference<ORecordElement>> _owners
protected OImmutableSchema _schema
public ODocument()
@Deprecated public ODocument(byte[] iSource)
save()
is called.iSource - Raw streampublic ODocument(InputStream iSource) throws IOException
save()
is called.iSource - Raw stream as InputStreamIOExceptionpublic ODocument(ORID iRID)
save() is called.iRID - Record Idpublic ODocument(String iClassName, ORID iRID)
save() is called.iClassName - Class nameiRID - Record Idpublic ODocument(String iClassName)
save() is called.iClassName - Class namepublic ODocument(OClass iClass)
save() is
called. The database reference is taken from the thread local.iClass - OClass instancepublic ODocument(Object[] iFields)
iFields - Array of field pairspublic ODocument(Map<?,Object> iFieldMap)
iFieldMap - Map of Object/Objectpublic Optional<OVertex> asVertex()
OElementpublic Optional<OEdge> asEdge()
OElementpublic boolean isVertex()
OElementpublic boolean isEdge()
OElementpublic Optional<OClass> getSchemaType()
OElementgetSchemaType in interface OElementpublic Set<String> getPropertyNames()
OElementgetPropertyNames in interface OElementpublic <RET> RET getProperty(String iFieldName)
getProperty in interface OElementRET - iFieldName - The field name, it can contain any character (it's not evaluated as an expression, as in #eval()protected <RET> RET getRawProperty(String iFieldName)
RET - iFieldName - The field name, it can contain any character (it's not evaluated as an expression, as in #eval()public void setProperty(String iFieldName, Object iPropertyValue)
setProperty in interface OElementiFieldName - The property nameiPropertyValue - The property valuepublic void setProperty(String iPropetyName, Object iPropertyValue, OType... iFieldType)
setProperty in interface OElementiPropetyName - The property nameiPropertyValue - The property valueiFieldType - Forced type (not auto-determined)public <RET> RET removeProperty(String iFieldName)
OElementremoveProperty in interface OElementiFieldName - the property nameprotected static void validateField(ODocument iRecord, OImmutableProperty p) throws OValidationException
OValidationExceptionprotected static void validateLinkCollection(OProperty property, Iterable<Object> values, ODocumentEntry value)
public ODocument copy()
public ORecordAbstract copyTo(ORecordAbstract iDestination)
copyTo in class ORecordAbstractpublic ORecord placeholder()
public boolean detach()
detach in interface ODetachabledetach in interface ORecorddetach in class ORecordAbstractpublic ODocument load(String iFetchPlan)
doc.load( "*:3" ); // LOAD THE DOCUMENT BY EARLY FETCHING UP TO 3rd
LEVEL OF CONNECTIONS
iFetchPlan - Fetch plan to usepublic ODocument load(String iFetchPlan, boolean iIgnoreCache)
doc.load( "*:3", true ); // LOAD THE DOCUMENT BY EARLY FETCHING UP TO
3rd LEVEL OF CONNECTIONS IGNORING THE CACHE
iIgnoreCache - Ignore the cache or use it@Deprecated public ODocument load(String iFetchPlan, boolean iIgnoreCache, boolean loadTombstone)
public ODocument reload(String fetchPlan, boolean ignoreCache)
reload in class ORecordAbstractpublic boolean hasSameContentOf(ODocument iOther)
public byte[] toStream()
OSerializableStreamtoStream in interface OSerializableStreamtoStream in class ORecordAbstractOSerializableStream.fromStream(byte[])public Map<String,Object> toMap()
public String toString()
toString in class ORecordAbstract@Deprecated public void fromString(String iValue)
record.reset();
record.setClassName("Account");
record.fromString(new String("Account@id:" + data.getCyclesDone() + ",name:'Luca',surname:'Garulli',birthDate:" +
date.getTime()
+ ",salary:" + 3000f + i));
record.save();
iValue - String representation of the record.public String[] fieldNames()
fieldNames in interface ORecordSchemaAwarepublic Object[] fieldValues()
fieldValues in interface ORecordSchemaAwarepublic <RET> RET rawField(String iFieldName)
public Object eval(String iExpression)
long amountPlusVat = doc.eval("amount * 120 /
100");iExpression - SQL expression to evaluate.OQueryParsingException - in case the expression is not validpublic Object eval(String iExpression, OCommandContext iContext)
OCommandContext context = new OBasicCommandContext().setVariable("vat", 20); long amountPlusVat
= doc.eval("amount * (100+$vat) / 100", context); iExpression - SQL expression to evaluate.OQueryParsingException - in case the expression is not validpublic <RET> RET field(String iFieldName)
field in interface ORecordSchemaAwareiFieldName - field namepublic <RET> RET field(String iFieldName, Class<?> iFieldType)
iFieldName - field nameiFieldType - Forced type.public <RET> RET field(String iFieldName, OType iFieldType)
field in interface ORecordSchemaAwareiFieldName - field nameiFieldType - Forced type.public ODocument field(String iFieldName, Object iPropertyValue)
field in interface ORecordSchemaAwareiFieldName - field name. If contains dots (.) the change is applied to the nested documents in chain. To disable this
feature call setAllowChainedAccess(boolean) to false.iPropertyValue - field valuepublic ODocument fields(String iFieldName, Object iFieldValue, Object... iFields)
@Deprecated public ODocument fields(Map<String,Object> iMap)
fromMap(Map)public ODocument fromMap(Map<String,?> iMap)
public ODocument field(String iFieldName, Object iPropertyValue, OType... iFieldType)
if there's a schema definition for the specified field, the value will be converted to respect the schema definition if needed. if the type defined in the schema support less precision than the iPropertyValue provided, the iPropertyValue will be converted following the java casting rules with possible precision loss.
field in interface ORecordSchemaAwareiFieldName - field name. If contains dots (.) the change is applied to the nested documents in chain. To disable this
feature call setAllowChainedAccess(boolean) to false.iPropertyValue - field value.iFieldType - Forced type (not auto-determined)public Object removeField(String iFieldName)
removeField in interface ORecordSchemaAwareiFieldName - Field namepublic ODocument merge(ODocument iOther, boolean iUpdateOnlyMode, boolean iMergeSingleItemsOfMultiValueFields)
iOther - Other ODocument instance to mergeiUpdateOnlyMode - if true, the other document properties will always be added or overwritten. If
false, the missed properties in the "other" document will be removed by original
documentiMergeSingleItemsOfMultiValueFields - If true, merges single items of multi field fields (collections, maps, arrays, etc)public ODocument merge(Map<String,Object> iOther, boolean iUpdateOnlyMode, boolean iMergeSingleItemsOfMultiValueFields)
iOther - Other ODocument instance to mergeiUpdateOnlyMode - if true, the other document properties will always be added or overwritten. If
false, the missed properties in the "other" document will be removed by original
documentiMergeSingleItemsOfMultiValueFields - If true, merges single items of multi field fields (collections, maps, arrays, etc)public String[] getDirtyFields()
field(String, Object) method for example.public Object getOriginalValue(String iFieldName)
iFieldName - Property name to retrieve the original valuepublic OMultiValueChangeTimeLine<Object,Object> getCollectionTimeLine(String iFieldName)
public boolean containsField(String iFieldName)
containsField in interface ORecordSchemaAwareiFieldName - Field namepublic boolean hasOwners()
public ORecordElement getOwner()
getOwner in interface ORecordElementgetOwner in class ORecordAbstractpublic Iterable<ORecordElement> getOwners()
public ORecordAbstract setDirty()
setDirty in interface ORecordElementsetDirty in class ORecordAbstractpublic void setDirtyNoChanged()
setDirtyNoChanged in interface ORecordElementsetDirtyNoChanged in class ORecordAbstractpublic ODocument fromStream(byte[] iRecordBuffer)
OSerializableStreamfromStream in interface OSerializableStreamfromStream in class ORecordAbstractiRecordBuffer - byte array representation of the objectpublic OType fieldType(String iFieldName)
iFieldName - name of field to checkpublic ODocument unload()
ORecordunload in interface ORecordunload in class ORecordAbstractpublic ODocument clear()
Clears all the field values and types. Clears only record content, but saves its identity.
The following code will clear all data from specified document.
doc.clear(); doc.save(); clear in interface ORecordclear in class ORecordAbstractreset()public ODocument reset()
Resets the record values and class type to being reused. It's like you create a ODocument from scratch. This method is handy when you want to insert a bunch of documents and don't want to strain GC.
The following code will create a new document in database.
doc.clear(); doc.save();
IMPORTANT! This can be used only if no transactions are begun.
reset in interface ORecordreset in class ORecordAbstractIllegalStateException - if transaction is begun.clear()public ODocument undo()
isTrackingChanges() and setTrackingChanges(boolean) methods.public boolean isLazyLoad()
public void setLazyLoad(boolean iLazyLoad)
public boolean isTrackingChanges()
public ODocument setTrackingChanges(boolean iTrackingChanges)
OClassIndexManager to determine what fields are changed to update indexes.iTrackingChanges - True to enable it, otherwise falseprotected void clearTrackData()
public boolean isOrdered()
public ODocument setOrdered(boolean iOrdered)
public boolean equals(Object obj)
equals in interface Comparator<OIdentifiable>equals in class ORecordAbstractpublic int hashCode()
hashCode in class ORecordAbstractpublic int fields()
fields in interface ORecordSchemaAwarepublic boolean isEmpty()
public ODocument fromJSON(String iSource, String iOptions)
fromJSON in class ORecordAbstractpublic ODocument fromJSON(String iSource)
ORecordfromJSON in interface ORecordfromJSON in class ORecordAbstractiSource - Object content in JSON formatpublic ODocument fromJSON(InputStream iContentResult) throws IOException
fromJSON in class ORecordAbstractIOExceptionpublic ODocument fromJSON(String iSource, boolean needReload)
fromJSON in class ORecordAbstractpublic boolean isEmbedded()
public ODocument setFieldType(String iFieldName, OType iFieldType)
iFieldName - Field nameiFieldType - Type to set between OType enumeration valuespublic ODocument save()
ORecordsave in interface ORecordsave in class ORecordAbstractpublic ODocument save(String iClusterName)
ORecordsave in interface ORecordsave in class ORecordAbstractpublic ORecordAbstract save(String iClusterName, boolean forceCreate)
save in interface ORecordsave in class ORecordAbstractpublic boolean deserializeFields(String... iFields)
public void writeExternal(ObjectOutput stream) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput stream) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic boolean isAllowChainedAccess()
public ODocument setAllowChainedAccess(boolean _allowChainedAccess)
public void setClassNameIfExists(String iClassName)
ORecordSchemaAwaresetClassNameIfExists in interface ORecordSchemaAwareiClassName - Class name to setpublic OClass getSchemaClass()
ORecordSchemaAwaregetSchemaClass in interface ORecordSchemaAwareOClass instance or null if the record has no class associatedpublic String getClassName()
ORecordSchemaAware#reset() to re-associate
the class.getClassName in interface ORecordSchemaAwarepublic void setClassName(String className)
ORecordSchemaAwaresetClassName in interface ORecordSchemaAwareclassName - Class name to setpublic void validate()
throws OValidationException
validate in interface ORecordSchemaAwareOValidationException - if the document breaks some validation constraints defined in the schemaOPropertyprotected ODocument mergeMap(Map<String,ODocumentEntry> iOther, boolean iUpdateOnlyMode, boolean iMergeSingleItemsOfMultiValueFields)
protected ORecordAbstract fill(ORID iRid, int iVersion, byte[] iBuffer, boolean iDirty)
fill in class ORecordAbstractprotected ORecordAbstract fill(ORID iRid, int iVersion, byte[] iBuffer, boolean iDirty, ODatabaseDocumentInternal db)
fill in class ORecordAbstractprotected void clearSource()
clearSource in class ORecordAbstractprotected OGlobalProperty getGlobalPropertyById(int id)
protected void fillClassIfNeed(String iClassName)
protected OImmutableClass getImmutableSchemaClass()
protected OImmutableClass getImmutableSchemaClass(ODatabaseDocumentInternal database)
protected ODocumentEntry getOrCreate(String key)
protected boolean rawContainsField(String iFiledName)
protected void autoConvertValues()
protected byte[] toStream(boolean iOnlyDelta)
protected byte getRecordType()
getRecordType in class ORecordAbstractprotected void addOwner(ORecordElement iOwner)
protected void removeOwner(ORecordElement iRecordElement)
protected void convertAllMultiValuesToTrackedVersions()
OTrackedMultiValueprotected void internalReset()
protected boolean checkForFields(String... iFields)
protected void setup()
setup in class ORecordAbstractprotected void setClass(OClass iClass)
protected Set<Map.Entry<String,ODocumentEntry>> getRawEntries()
protected void autoConvertFieldsToClass(ODatabaseDocumentInternal database)
protected void checkClass(ODatabaseDocumentInternal database)
protected void track(OIdentifiable id)
track in class ORecordAbstractprotected void unTrack(OIdentifiable id)
unTrack in class ORecordAbstractCopyright © 2009–2025 OrientDB. All rights reserved.