Package com.arcadedb.database
Class MutableEmbeddedDocument
- java.lang.Object
-
- com.arcadedb.database.BaseRecord
-
- com.arcadedb.database.BaseDocument
-
- com.arcadedb.database.MutableDocument
-
- com.arcadedb.database.MutableEmbeddedDocument
-
- All Implemented Interfaces:
Document
,EmbeddedDocument
,Identifiable
,Record
,RecordInternal
,Externalizable
,Serializable
public class MutableEmbeddedDocument extends MutableDocument implements EmbeddedDocument
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.arcadedb.database.MutableDocument
dirty
-
Fields inherited from class com.arcadedb.database.BaseDocument
propertiesStartingPosition, type
-
Fields inherited from class com.arcadedb.database.BaseRecord
buffer, database, rid
-
Fields inherited from interface com.arcadedb.database.Document
RECORD_TYPE
-
Fields inherited from interface com.arcadedb.database.EmbeddedDocument
RECORD_TYPE
-
-
Constructor Summary
Constructors Constructor Description MutableEmbeddedDocument(Database db, DocumentType type, Binary buffer, EmbeddedModifier modifier)
Copy constructor from ImmutableVertex.modify().MutableEmbeddedDocument(Database db, DocumentType type, EmbeddedModifier modifier)
Creation constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte
getRecordType()
int
hashCode()
MutableEmbeddedDocument
modify()
void
reload()
MutableEmbeddedDocument
save()
MutableEmbeddedDocument
save(String bucketName)
-
Methods inherited from class com.arcadedb.database.MutableDocument
checkForLazyLoadingProperties, fromJSON, fromMap, get, getPropertyNames, has, isDirty, merge, newEmbeddedDocument, newEmbeddedDocument, newEmbeddedDocument, remove, set, set, set, setBuffer, setIdentity, toJSON, toMap, toString, unsetDirty
-
Methods inherited from class com.arcadedb.database.BaseDocument
asDocument, asDocument, detach, getBoolean, getByte, getDate, getDecimal, getDouble, getEmbedded, getFloat, getInteger, getLong, getShort, getString, getType, getTypeName, readExternal, writeExternal
-
Methods inherited from class com.arcadedb.database.BaseRecord
asEdge, asEdge, asVertex, asVertex, delete, getBuffer, getDatabase, getIdentity, getRecord, getRecord
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.arcadedb.database.Document
asDocument, asDocument, detach, get, getBoolean, getByte, getDate, getDecimal, getDouble, getEmbedded, getFloat, getInteger, getLong, getPropertyNames, getShort, getString, getType, getTypeName, has, toJSON, toMap
-
Methods inherited from interface com.arcadedb.database.Identifiable
asEdge, asEdge, asVertex, asVertex, getRecord, getRecord
-
Methods inherited from interface com.arcadedb.database.Record
delete, getDatabase, getIdentity
-
Methods inherited from interface com.arcadedb.database.RecordInternal
getBuffer
-
-
-
-
Constructor Detail
-
MutableEmbeddedDocument
public MutableEmbeddedDocument(Database db, DocumentType type, EmbeddedModifier modifier)
Creation constructor.
-
MutableEmbeddedDocument
public MutableEmbeddedDocument(Database db, DocumentType type, Binary buffer, EmbeddedModifier modifier)
Copy constructor from ImmutableVertex.modify().
-
-
Method Detail
-
save
public MutableEmbeddedDocument save()
- Overrides:
save
in classMutableDocument
-
save
public MutableEmbeddedDocument save(String bucketName)
- Overrides:
save
in classMutableDocument
-
reload
public void reload()
- Specified by:
reload
in interfaceRecord
- Overrides:
reload
in classMutableDocument
-
modify
public MutableEmbeddedDocument modify()
- Specified by:
modify
in interfaceDocument
- Overrides:
modify
in classMutableDocument
-
getRecordType
public byte getRecordType()
- Specified by:
getRecordType
in interfaceRecord
- Overrides:
getRecordType
in classBaseDocument
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBaseRecord
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseRecord
-
-