public class AqdefHierarchy extends Object
This information if contained in K51xx keys. The simplified
characteristics hierarchy from K2030/K2031 keys is also supported,
but is internally transformed to the K51xx structure.
Note that both hierarchy types together are NOT supported.
| Modifier and Type | Class and Description |
|---|---|
static class |
AqdefHierarchy.HierarchyEntry |
| Constructor and Description |
|---|
AqdefHierarchy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
void |
forEachNodeBinding(Consumer<AqdefHierarchy.HierarchyEntry> action) |
void |
forEachNodeDefinition(Consumer<AqdefHierarchy.HierarchyEntry> action) |
Optional<Object> |
getParentIndex(CharacteristicIndex characteristicIndex)
Find index of parent characteristic or group of given characteristic.
|
Optional<Object> |
getParentIndex(GroupIndex groupIndex)
Find index of parent characteristic or group of given group.
|
boolean |
hasChildren(CharacteristicIndex characteristicIndex) |
int |
hashCode() |
boolean |
isEmpty() |
void |
putEntry(AqdefHierarchy.HierarchyEntry entry) |
void |
putEntry(KKey kKey,
Integer index,
Object value) |
public void putEntry(AqdefHierarchy.HierarchyEntry entry)
public void forEachNodeDefinition(Consumer<AqdefHierarchy.HierarchyEntry> action)
public void forEachNodeBinding(Consumer<AqdefHierarchy.HierarchyEntry> action)
public boolean isEmpty()
public boolean hasChildren(CharacteristicIndex characteristicIndex)
public Optional<Object> getParentIndex(CharacteristicIndex characteristicIndex)
characteristicIndex - CharacteristicIndex or GroupIndex of parent, or empty optional if given
characteristic do not have a parentpublic Optional<Object> getParentIndex(GroupIndex groupIndex)
groupIndex - CharacteristicIndex or GroupIndex of parent, or empty optional if given
group do not have a parentCopyright © 2017. All rights reserved.