toggle menu
modelix.core
8.16.0
common
switch theme
search in API
model-api-gen-runtime
/
org.modelix.metamodel
/
ChildAccessor
Child
Accessor
abstract
class
ChildAccessor
<
ChildT
:
ITypedNode
>
(
parent
:
INode
,
role
:
IChildLink
,
childConcept
:
IConcept
,
val
childType
:
KClass
<
ChildT
>
)
:
Iterable
<
ChildT
>
Inheritors
ChildListAccessor
SingleChildAccessor
Members
Members & Extensions
Constructors
Child
Accessor
Link copied to clipboard
constructor
(
parent
:
INode
,
role
:
IChildLink
,
childConcept
:
IConcept
,
childType
:
KClass
<
ChildT
>
)
Properties
child
Type
Link copied to clipboard
val
childType
:
KClass
<
ChildT
>
Functions
add
New
Link copied to clipboard
fun
addNew
(
index
:
Int
=
-1
)
:
ChildT
fun
<
NewNodeT
:
ChildT
>
addNew
(
concept
:
INonAbstractConcept
<
NewNodeT
>
)
:
NewNodeT
fun
<
NewNodeT
:
ChildT
>
addNew
(
index
:
Int
=
-1
,
concept
:
INonAbstractConcept
<
NewNodeT
>
)
:
NewNodeT
filter
Loaded
Link copied to clipboard
fun
<
ChildT
:
ITypedNode
>
ChildAccessor
<
ChildT
>
.
filterLoaded
(
)
:
List
<
ChildT
>
get
Size
Link copied to clipboard
fun
getSize
(
)
:
Int
is
Empty
Link copied to clipboard
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
ChildT
>
of
Type
Link copied to clipboard
@
JvmName
(
name
=
"typedNodesOfType"
)
inline
fun
<
NodeT
:
ITypedNode
>
Iterable
<
ITypedNode
>
.
ofType
(
)
:
List
<
NodeT
>
@
JvmName
(
name
=
"nodesOfType"
)
inline
fun
<
NodeT
:
ITypedNode
>
Iterable
<
INode
>
.
ofType
(
)
:
List
<
NodeT
>
remove
Link copied to clipboard
fun
remove
(
child
:
TypedNodeImpl
)
remove
Unwrapped
Link copied to clipboard
fun
removeUnwrapped
(
child
:
INode
)
untyped
Nodes
Link copied to clipboard
fun
untypedNodes
(
)
:
Iterable
<
INode
>