public class ConfigChildSet extends Object
Example. Assume that a class Super has a derived class Derived. Super has a method registerChild(A a) while Derived has a method registerChild(B b). Then the cumulative config children of Derived with role name "child" are (A, child), (B, child). These two go into a ConfigChildSet with common role name "child".
If the method registerChild(B b) would not be in Derived but in Super, then the cumulative config children with role name "child" would be the same for Derived and Super. Therefore only Super would have a ConfigChildSet for this role name, not Derived.
| Modifier and Type | Method and Description |
|---|---|
ConfigChildGroupKind |
getConfigChildGroupKind() |
Stream<ElementRole> |
getElementRoleStream() |
List<ElementRole> |
getFilteredElementRoles(Predicate<ElementChild> selector,
Predicate<ElementChild> rejector) |
Optional<String> |
getGenericElementOptionDefault(Predicate<FrankElement> elementFilter) |
static Set<ElementRole.Key> |
getKey(List<ElementRole> roles) |
static Map<String,List<ConfigChild>> |
getMemberChildren(List<ElementRole> parents,
Predicate<ElementChild> selector,
Predicate<ElementChild> rejector,
Predicate<FrankElement> elementFilter)
Handles generic element option recursion as explained in
org.frankframework.frankdoc.model. |
String |
getRoleName() |
String |
toString() |
public ConfigChildGroupKind getConfigChildGroupKind()
public Stream<ElementRole> getElementRoleStream()
public String getRoleName()
public List<ElementRole> getFilteredElementRoles(Predicate<ElementChild> selector, Predicate<ElementChild> rejector)
public static Map<String,List<ConfigChild>> getMemberChildren(List<ElementRole> parents, Predicate<ElementChild> selector, Predicate<ElementChild> rejector, Predicate<FrankElement> elementFilter)
org.frankframework.frankdoc.model.public static Set<ElementRole.Key> getKey(List<ElementRole> roles)
public Optional<String> getGenericElementOptionDefault(Predicate<FrankElement> elementFilter)
Copyright © 2022 Ibissource.org. All rights reserved.