PropertyEdge

open class PropertyEdge<T : Node> : Persistable

This class represents an edge between two Node objects in a Neo4J graph. It can be used to store additional information that relate to the relationship between the two nodes that belong to neither of the two nodes directly.

An example would be the name (in this case a) of an argument between a CallExpression (foo) and its argument (a Literal of 2) in languages that support keyword arguments, such as Python:

foo("bar", a = 2)

Constructors

Link copied to clipboard
fun <T : Node> PropertyEdge(start: Node, end: T)
Link copied to clipboard
fun <T : Node> PropertyEdge(propertyEdge: PropertyEdge<T>)
Link copied to clipboard
fun <T : Node> PropertyEdge(start: Node, end: T, properties: MutableMap<Properties, Any?>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addProperties(propertyMap: Map<Properties, Any?>?)
Link copied to clipboard
fun addProperty(property: Properties, value: Any?)

Adds a property to a PropertyEdge If the object is not a built-in type you must provide a serializer and deserializer in the PropertyEdgeConverter

Link copied to clipboard

Checks if the properties of the edge contain the given properties with the specified values.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getProperty(property: Properties): Any?
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Properties

Link copied to clipboard
var end: T
Link copied to clipboard
var start: Node