IRole

interface IRole

An IRole is a structural feature of a concept. It can either be an IProperty or an ILink.

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

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.