| Package | Description |
|---|---|
| org.xmcda |
| Modifier and Type | Class and Description |
|---|---|
class |
CriteriaHierarchy
A hierarchy of criteria.
|
| Modifier and Type | Method and Description |
|---|---|
static CriterionHierarchyNode |
Factory.criterionHierarchyNode(Criterion criterion) |
CriterionHierarchyNode |
CriterionHierarchyNode.deepCopy()
Returns a deep copy of this node.
|
CriterionHierarchyNode |
CriterionHierarchyNode.getChild(Criterion aCriterion)
Returns the child node for the supplied criterion.
|
CriterionHierarchyNode |
CriterionHierarchyNode.getChild(String aCriterionID)
Returns the child node with the supplied criterion ID.
|
| Modifier and Type | Method and Description |
|---|---|
Set<CriterionHierarchyNode> |
CriterionHierarchyNode.getChildren()
Returns the children of this node.
|
Set<CriterionHierarchyNode> |
CriteriaHierarchy.getRootNodes()
Returns the root nodes of this hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CriterionHierarchyNode.addChild(CriterionHierarchyNode aNode)
Adds a child to this node if its criterion is not already registered as a child.
|
boolean |
CriteriaHierarchy.addRoot(CriterionHierarchyNode rootNode)
Adds a root node to this hierarchy if its criterion is not already registered in an registered root node.
|
boolean |
CriterionHierarchyNode.removeChild(CriterionHierarchyNode aChild)
Removes a child from this node's children.
|
boolean |
CriteriaHierarchy.removeRoot(CriterionHierarchyNode rootNode)
Removes a root node from this node's children.
This is an alias to removeChild(CriterionHierarchyNode). |
Copyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.