EntityDefinition

data class EntityDefinition(val description: String, val labels: Set<String>, val properties: List<PropertyDefinition>, val creationPermitted: Boolean = true)

Simple entity definition for a knowledge graph schema.

Parameters

description

a human-readable description of the entity type

labels

a set of labels or types that this entity belongs to

properties

a list of properties that this entity has

creationPermitted

if false new entities of this type cannot be created

Constructors

Link copied to clipboard
constructor(description: String, labels: Set<String>, properties: List<PropertyDefinition>, creationPermitted: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String