public abstract class XodusDbo extends java.lang.Object implements ObjectWithId<jetbrains.exodus.entitystore.EntityId>, Mappable<jetbrains.exodus.entitystore.Entity>
| Modifier | Constructor and Description |
|---|---|
protected |
XodusDbo() |
| Modifier and Type | Method and Description |
|---|---|
java.time.Instant |
getCreatedUtc() |
jetbrains.exodus.entitystore.EntityId |
getId() |
java.lang.String |
getIdAsString() |
java.time.Instant |
getUpdatedUtc() |
protected void |
prePersist() |
void |
readFrom(jetbrains.exodus.entitystore.Entity object)
Reads all data from the provided
object to this object |
void |
setId(jetbrains.exodus.entitystore.EntityId id) |
jetbrains.exodus.entitystore.Entity |
writeTo(jetbrains.exodus.entitystore.Entity object)
Writes all data from this object to the provided
object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, deserializeUnsafe, serialize, serializeUnsafepublic jetbrains.exodus.entitystore.EntityId getId()
getId in interface ObjectWithId<jetbrains.exodus.entitystore.EntityId>public void setId(jetbrains.exodus.entitystore.EntityId id)
setId in interface ObjectWithId<jetbrains.exodus.entitystore.EntityId>public java.lang.String getIdAsString()
getIdAsString in interface ObjectWithId<jetbrains.exodus.entitystore.EntityId>public java.time.Instant getCreatedUtc()
getCreatedUtc in interface ObjectWithId<jetbrains.exodus.entitystore.EntityId>public java.time.Instant getUpdatedUtc()
getUpdatedUtc in interface ObjectWithId<jetbrains.exodus.entitystore.EntityId>protected void prePersist()
public jetbrains.exodus.entitystore.Entity writeTo(jetbrains.exodus.entitystore.Entity object)
Mappableobject.
Fields that are null in this object but not null
in the target object should not be overwritten.
public void readFrom(jetbrains.exodus.entitystore.Entity object)
Mappableobject to this object
Fields that are null in the provided object but not null
this object should not be overwritten.