IChildLink

interface IChildLink : ILink

Representation of a parent-child relationship between IConcepts.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val childConcept: IConcept
Link copied to clipboard
abstract val isMultiple: Boolean

Specifies if the parent-child relation ship is 1:n.

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 isOrdered: Boolean

Whether children with this role are returned in a meaningful order and whether they are allowed to be reordered.

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 IChildLink.key(node: INode): String?
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.