IDeprecatedNodeDefaults

Properties

Link copied to clipboard
abstract val allChildren: Iterable<INode>

Iterable over all child nodes of this node.

Link copied to clipboard
abstract val concept: IConcept?

Concept, of which this node is instance of, or null if the node is not instance of any concept.

Link copied to clipboard
abstract val isValid: Boolean
Link copied to clipboard
abstract val parent: INode?

Parent node of this node if it exists, or null if this node has no parent node.

Link copied to clipboard

Reference targeting this node.

Link copied to clipboard
open override val roleInParent: String?

Role of this node in its parent node if it exists,or null otherwise.

Functions

Link copied to clipboard
open override fun addNewChild(role: String?, index: Int, concept: IConcept?): INode
open override fun addNewChild(role: String?, index: Int, concept: IConceptReference?): INode

Adds a new child node to this node.

abstract override fun addNewChild(role: IChildLink, index: Int, concept: IConcept?): INode
abstract override fun addNewChild(role: IChildLink, index: Int, concept: IConceptReference?): INode
Link copied to clipboard
fun INode.addNewChild(role: String?, index: Int): INode
fun INode.addNewChild(role: String?, concept: IConcept?): INode
fun INode.addNewChild(role: IChildLink, index: Int): INode
fun INode.addNewChild(role: IChildLink, index: Int, concept: IConcept?): INode
Link copied to clipboard
open fun addNewChildren(role: String?, index: Int, concepts: List<IConceptReference?>): List<INode>
open fun addNewChildren(link: IChildLink, index: Int, concepts: List<IConceptReference?>): List<INode>
Link copied to clipboard
Link copied to clipboard
open fun getAllChildrenAsFlow(): Flow<INode>
Link copied to clipboard
Link copied to clipboard
fun INode?.getAncestor(concept: IConcept?, includeSelf: Boolean): INode?
Link copied to clipboard
fun INode.getAncestors(includeSelf: Boolean = false): Sequence<INode>
Link copied to clipboard
abstract fun getArea(): IArea

Returns the area of which this node is part of.

Link copied to clipboard
open override fun getChildren(role: String?): Iterable<INode>

Returns children of this node for the given role.

abstract override fun getChildren(link: IChildLink): Iterable<INode>
Link copied to clipboard
Link copied to clipboard
open fun getChildrenAsFlow(role: IChildLink): Flow<INode>
Link copied to clipboard
Link copied to clipboard

Returns a concept reference to the concept of which this node is instance of.

Link copied to clipboard
abstract override fun getContainmentLink(): IChildLink?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDescendantsAsFlow(includeSelf: Boolean = false): Flow<INode>
Link copied to clipboard
Link copied to clipboard
open fun getParentAsFlow(): Flow<INode>
Link copied to clipboard
abstract override fun getPropertyLinks(): List<IProperty>
Link copied to clipboard
open override fun getPropertyRoles(): List<String>

Returns all property roles of this node.

Link copied to clipboard
open override fun getPropertyValue(role: String): String?

Returns the value of the given property role for this node.

abstract override fun getPropertyValue(property: IProperty): String?
Link copied to clipboard
Link copied to clipboard
open fun getPropertyValueAsFlow(role: IProperty): Flow<String?>
Link copied to clipboard
abstract override fun getReferenceLinks(): List<IReferenceLink>
Link copied to clipboard
open override fun getReferenceRoles(): List<String>

Returns all reference roles of this node.

Link copied to clipboard
open override fun getReferenceTarget(role: String): INode?

Returns the target of the given reference role for this node.

abstract override fun getReferenceTarget(link: IReferenceLink): INode?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getReferenceTargetRef(role: String): INodeReference?

Returns a node reference to the target of the reference.

abstract override fun getReferenceTargetRef(role: IReferenceLink): INodeReference?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun INode.index(): Int
Link copied to clipboard

Resolves whether the child link is ordered or not.

Link copied to clipboard
fun INode.isInstanceOf(superConcept: IConcept?): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun moveChild(role: String?, index: Int, child: INode)

Moves a node to this node's children with the given role and index. The child node can originate from a different parent.

abstract override fun moveChild(role: IChildLink, index: Int, child: INode)
Link copied to clipboard
fun INode.moveChild(role: IChildLink, index: Int, child: INode)
Link copied to clipboard
Link copied to clipboard
abstract fun removeChild(child: INode)

Removes the given node from this node's children.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setPropertyValue(role: String, value: String?)

Sets the value of the given property role for this node to the specified role.

abstract override fun setPropertyValue(property: IProperty, value: String?)
Link copied to clipboard
fun INode.setPropertyValue(property: IProperty, value: String?)
Link copied to clipboard
open override fun setReferenceTarget(role: String, target: INode?)

Sets the target of the given role reference for this node to the specified target node.

open override fun setReferenceTarget(role: String, target: INodeReference?)

Sets the target of the given role reference for this node to the node referenced by the specified target reference.

abstract override fun setReferenceTarget(link: IReferenceLink, target: INode?)
abstract override fun setReferenceTarget(role: IReferenceLink, target: INodeReference?)
Link copied to clipboard
Link copied to clipboard
open fun tryGetConcept(): IConcept?
Link copied to clipboard

Attempts to resolve the child link.

Link copied to clipboard

Attempts to resolve the property.

Link copied to clipboard

Attempts to resolve the reference link.

Link copied to clipboard
open override fun usesRoleIds(): Boolean
Link copied to clipboard