ILink

interface ILink : IRole

Representation of a link between two IConcepts. A link belongs to one concept and targets another. It can be an IChildLink or an IReferenceLink.

Inheritors

Properties

Link copied to clipboard
abstract val isOptional: Boolean

Returns whether this role's value has to be set or not.

Link copied to clipboard
open val name: String
Link copied to clipboard
abstract val targetConcept: IConcept

The concept targeted by this link.

Functions

Link copied to clipboard
abstract fun getConcept(): IConcept

Returns the concept this role belongs to.

Link copied to clipboard
abstract fun getSimpleName(): String

Returns the unqualified name of this role.

Link copied to clipboard
abstract fun getUID(): String

Returns the uid of this role.

Link copied to clipboard
fun IRole.key(node: INode): String

Returns the key of the receiver role for the given transaction.

fun IRole.key(tree: ITree): String

Returns the key of the receiver role for the given tree.