Class OViewDocument
java.lang.Object
com.orientechnologies.orient.core.record.ORecordAbstract
com.orientechnologies.orient.core.record.impl.ODocument
com.orientechnologies.orient.core.record.impl.OViewDocument
- All Implemented Interfaces:
ODetachable,OIdentifiable,ORecordElement,OElement,ORecord,ORecordSchemaAware,OSerializableStream,Externalizable,Serializable,Comparable<OIdentifiable>,Iterable<Map.Entry<String,,Object>> Comparator<OIdentifiable>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.db.record.ORecordElement
ORecordElement.STATUS -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.record.impl.ODocument
allowChainedAccess, EMPTY_STRINGS, fields, fieldSize, lazyLoad, ordered, owner, propertyAccess, propertyEncryption, RECORD_TYPE, schema, trackingChangesFields inherited from class com.orientechnologies.orient.core.record.ORecordAbstract
BASE_FORMAT, contentChanged, DEFAULT_FORMAT, dirty, dirtyManager, OLD_FORMAT_WITH_LATE_TYPES, recordFormat, recordId, recordVersion, size, source, status -
Constructor Summary
ConstructorsConstructorDescriptionOViewDocument(ODatabaseDocumentInternal database, int cluster) OViewDocument(OView view) -
Method Summary
Modifier and TypeMethodDescriptionReturns the class name associated to the current record.protected OImmutableClassReturns the schema class object for the record.voidsetProperty(String iFieldName, Object iPropertyValue) sets a property value on current documentMethods inherited from class com.orientechnologies.orient.core.record.impl.ODocument
accessProperty, addOwner, asEdge, asVertex, autoConvertFieldsToClass, autoConvertValues, calculatePropertyNames, checkClass, checkEmbeddable, checkFieldName, checkForFields, clear, clearSource, clearTrackData, clearTransactionTrackData, containsField, convertAllMultiValuesToTrackedVersions, copy, copyTo, deserializeFields, detach, equals, eval, eval, field, field, field, field, field, fieldNames, fields, fields, fields, fieldType, fieldValues, fill, fill, fillClassIfNeed, fromJSON, fromJSON, fromJSON, fromJSON, fromMap, fromStream, fromStream, fromString, getCollectionTimeLine, getDirtyFields, getFilteredEntries, getGlobalPropertyById, getImmutableSchema, getImmutableSchemaClass, getOrCreate, getOriginalValue, getOwner, getOwners, getProperty, getPropertyNames, getRawEntries, getRawProperty, getRecordType, getSchemaType, hashCode, hasOwners, hasProperty, hasSameContentOf, internalReset, isAllowChainedAccess, isEdge, isEmbedded, isEmpty, isLazyLoad, isOrdered, isTrackingChanges, isVertex, iterator, merge, merge, mergeMap, rawContainsField, rawField, rawField, readExternal, removeField, removeOwner, removeProperty, reset, setAllowChainedAccess, setClass, setClassName, setClassNameIfExists, setDirty, setDirtyNoChanged, setFieldType, setLazyLoad, setOrdered, setProperty, setTrackingChanges, setup, toMap, toStream, toStream, toString, toString, track, undo, undo, unload, unTrack, validate, validateEmbedded, validateField, validateFieldsSecurity, validateLink, validateLinkCollection, validateType, writeExternalMethods inherited from class com.orientechnologies.orient.core.record.ORecordAbstract
addIdentityChangeListener, checkForLoading, compare, compareTo, flatCopy, getDatabase, getDatabaseIfDefined, getDatabaseIfDefinedInternal, getDatabaseInternal, getDirtyManager, getIdentity, getInternalStatus, getRecord, getSize, getVersion, isContentChanged, isDirty, onAfterIdentityChanged, onBeforeIdentityChanged, removeIdentityChangeListener, setContentChanged, setDirtyManager, setIdentity, setIdentity, setInternalStatus, setVersion, toJSON, toJSON, toJSON, toJSON, unsetDirtyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface java.util.Comparator
compare, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.orientechnologies.orient.core.db.record.OIdentifiable
getRecordMethods inherited from interface com.orientechnologies.orient.core.record.ORecord
getIdentity, getInternalStatus, getSize, getVersion, isDirty, setInternalStatus, toJSON, toJSON
-
Constructor Details
-
OViewDocument
-
OViewDocument
-
-
Method Details
-
getSchemaClass
Description copied from interface:ORecordSchemaAwareReturns the schema class object for the record.- Specified by:
getSchemaClassin interfaceORecordSchemaAware- Overrides:
getSchemaClassin classODocument- Returns:
OClassinstance or null if the record has no class associated
-
getImmutableSchemaClass
- Overrides:
getImmutableSchemaClassin classODocument
-
getClassName
Description copied from interface:ORecordSchemaAwareReturns the class name associated to the current record. Can be null. Call this method after ato re-associate the class.invalid reference
#reset()- Specified by:
getClassNamein interfaceORecordSchemaAware- Overrides:
getClassNamein classODocument- Returns:
- Class name if any
-
setProperty
Description copied from class:ODocumentsets a property value on current document- Specified by:
setPropertyin interfaceOElement- Overrides:
setPropertyin classODocument- Parameters:
iFieldName- The property nameiPropertyValue- The property value
-