SuggestedRelationship

data class SuggestedRelationship(val sourceId: String, val targetId: String, val type: String, val description: String? = null) : RelationshipInstance

Constructors

Link copied to clipboard
constructor(sourceId: String, targetId: String, type: String, description: String? = null)

Properties

Link copied to clipboard
open override val description: String? = null
Link copied to clipboard
open override val sourceId: String
Link copied to clipboard
open override val targetId: String
Link copied to clipboard
open override val type: String

The type of the relationship, e.g. "FALLS_UNDER"

Functions

Link copied to clipboard
fun isValid(schema: <Error class: unknown class>, sourceEntity: <Error class: unknown class>, targetEntity: <Error class: unknown class>): Boolean