public interface DefinitionsMap extends Map
Modifier and Type | Method and Description |
---|---|
void |
add(DynStruct newDefinition)
Adds a definition to the list
|
void |
addAll(Map map) |
Iterator |
childrenIterator(DynStruct parentDefinition)
Returns a list iteration containing the current children element
definitions of a given parentDefinition.
|
DisposableIterator |
disposableIterator()
Returns a disposable list iteration containing the current elements of
the list.
|
DisposableIterator |
dynFieldsIterator(DynStruct definition)
|
List |
getChildren(DynStruct definition)
Returns a list containing children definitions (
DynStruct s) based
on a given definition. |
boolean |
hasDefinition(DynStruct definition)
Determines if this definition is already included.
|
Iterator |
iterator()
Returns a list containing definitions (
DynStruct ), which are
disposable. |
Iterator |
parentsIterator(DynStruct childDefinition)
Returns a list iteration containing the current parent element
definitions of a given childDefinition.
|
void |
remove(DynStruct definition)
Removes a definition from the list
|
void |
save()
Saves the current Metadata elements of the list.
|
void |
setHierarchyDefinitions(Map userDefs,
Map hierarchyDefs)
Sets the current user definitions linked to the current hierarchy
definitions.
|
int |
size()
Retrieves the size of the list of elements.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, values
void remove(DynStruct definition)
definition
- the definition to be removed.void add(DynStruct newDefinition)
definition
- the definition to be added.void addAll(Map map)
boolean hasDefinition(DynStruct definition)
definition
- the current definition to be checked.void save()
void setHierarchyDefinitions(Map userDefs, Map hierarchyDefs)
userDefs
- the user DefinitionshierarchyDefs
- the hierarchy DefinitionsIterator iterator()
DynStruct
), which are
disposable.DisposableIterator dynFieldsIterator(DynStruct definition)
definition
- the DynStruct definition from which to obtain the associated
DynFields.List getChildren(DynStruct definition)
DynStruct
s) based
on a given definition.definition
- the DynStruct definition from which to obtain the associated
children.DisposableIterator disposableIterator()
Iterator parentsIterator(DynStruct childDefinition)
childDefinition
-