Package com.solibri.smc.api.checking
Interface CheckingNode
-
- All Known Implementing Classes:
ConcurrentRule
,OneByOneRule
public interface CheckingNode
CheckingNode is a node in a checking definition structure. In reality a checking node is always either aRuleset
or aRule
. CheckingNode interface provides methods related to getting information about the structure of the checking definition, such as finding out what is the parent node of the given node, if one exists.- Since:
- 9.12.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CheckingNode>
getChildren()
Returns the children of this node.String
getName()
Returns the name of this checking node.Optional<CheckingNode>
getParent()
Returns the parent of this node, if one exists.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of this checking node. Note that the name might be translated into different languages and should not be used as an identifier as multiple rulesets or rules with the same name might exist.- Returns:
- the name
- Since:
- 9.12.0
-
getParent
Optional<CheckingNode> getParent()
Returns the parent of this node, if one exists. Root nodes of a ruleset hierarchy do not have a parent, but all others do have a parent ruleset, or a parent rule.- Returns:
- the parent node
- Since:
- 9.12.0
-
getChildren
List<CheckingNode> getChildren()
Returns the children of this node.- Returns:
- the child nodes
- Since:
- 9.12.0
-
-