N
- the type of child node an instance usespublic interface MutableOutlineNode<N extends MutableOutlineNode<N>> extends OutlineNode<N>
OutlineNode
s which are mutable. Mutable outline nodes support
the modification of their description, child list, instructions and properties.Modifier and Type | Method and Description |
---|---|
List<N> |
getChildren()
Returns this node's direct children in a list which allows for modifications.
|
MutableOutline<N> |
getOutline()
Return the
MutableOutline to which this node belongs. |
Map<String,Object> |
getProperties()
Return a map of user properties.
|
void |
setDescription(String description)
Set the human-readable description for this node.
|
void |
setInstructionChain(InstructionChain newChain)
Replace this node's
InstructionChain with the given one. |
getDescription, getInstructionChain, getParent
void setInstructionChain(InstructionChain newChain)
InstructionChain
with the given one.newChain
- An InstructionChain
holding the Instruction
s to be used by this
node in the future.void setDescription(String description)
description
- the new description stringMutableOutline<N> getOutline()
MutableOutline
to which this node belongs.getOutline
in interface OutlineNode<N extends MutableOutlineNode<N>>
MutableOutline
List<N> getChildren()
getChildren
in interface OutlineNode<N extends MutableOutlineNode<N>>
Map<String,Object> getProperties()
OutlineNode
's presentation or in other ways further augment its data.
The map returned by this method is mutable. There are no guarantees regarding the thread-safety of the returned map, unless otherwise specified by implementors.
getProperties
in interface OutlineNode<N extends MutableOutlineNode<N>>
getProperties
in interface PropertiesProvider
Copyright © 2024 levigo holding gmbh. All rights reserved.