public interface DefinitionsMap
extends java.util.Map
Modifier and Type | Method and Description |
---|---|
void |
add(DynStruct newDefinition)
Adds a definition to the list
|
void |
addAll(java.util.Map map) |
java.util.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)
|
java.util.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.
|
java.util.Iterator |
iterator()
Returns a list containing definitions (
DynStruct ), which are
disposable. |
java.util.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(java.util.Map userDefs,
java.util.Map hierarchyDefs)
Sets the current user definitions linked to the current hierarchy
definitions.
|
int |
size()
Retrieves the size of the list of elements.
|
void remove(DynStruct definition)
definition
- the definition to be removed.void add(DynStruct newDefinition)
definition
- the definition to be added.void addAll(java.util.Map map)
boolean hasDefinition(DynStruct definition)
definition
- the current definition to be checked.void save()
int size()
size
in interface java.util.Map
void setHierarchyDefinitions(java.util.Map userDefs, java.util.Map hierarchyDefs)
userDefs
- the user DefinitionshierarchyDefs
- the hierarchy Definitionsjava.util.Iterator iterator()
DynStruct
), which are
disposable.DisposableIterator dynFieldsIterator(DynStruct definition)
definition
- the DynStruct definition from which to obtain the associated
DynFields.java.util.List getChildren(DynStruct definition)
DynStruct
s) based
on a given definition.definition
- the DynStruct definition from which to obtain the associated
children.DisposableIterator disposableIterator()
java.util.Iterator parentsIterator(DynStruct childDefinition)
childDefinition
- java.util.Iterator childrenIterator(DynStruct parentDefinition)