OgmMappedEntity

open class OgmMappedEntity(val id: String, val uri: String? = null, val chunks: List<MappedChunk> = emptyList()) : RetrievableEntity

Superclass for all entities that are mapped using Neo4j OGM.

Inheritors

Constructors

Link copied to clipboard
constructor(id: String, uri: String? = null, chunks: List<MappedChunk> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: String

Embabel id. Will be synthetic.

Link copied to clipboard
open override val metadata: Map<String, Any?>
Link copied to clipboard
@get:ApiStatus.Experimental
open val neighbors: Map<String, Collection<Retrievable>>

Neighbors of this retrievable object. Allows navigation of a graph

Link copied to clipboard
open override val uri: String? = null

URI for the content. May be a URL. Not generated by Embabel, but from the source.

Functions

Link copied to clipboard
open override fun embeddableValue(): String

Embedding value of this retrievable object.

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String
Link copied to clipboard
open override fun labels(): <Error class: unknown class>

Labels of the entity. In Neo, this might include multiple labels. In a relational database, this might be a single table name.

Link copied to clipboard

Properties to persist Subclasses can add their own properties but must call super to include these.

Link copied to clipboard
open override fun toString(): String