SimpleReferenceLink

class SimpleReferenceLink @JvmOverloads constructor(simpleName: String, val isOptional: Boolean, var targetConcept: IConcept, uid: String? = null) : IReferenceLink

Constructors

Link copied to clipboard
constructor(simpleName: String, isOptional: Boolean, targetConcept: IConcept, uid: String? = null)

Properties

Link copied to clipboard
open override 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
Link copied to clipboard
open override var targetConcept: IConcept

The concept targeted by this link.

Functions

Link copied to clipboard
open override fun getConcept(): IConcept

Returns the concept this role belongs to.

Link copied to clipboard
open override fun getSimpleName(): String

Returns the unqualified name of this role.

Link copied to clipboard
open override 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.