Package | Description |
---|---|
org.g_node.nix | |
org.g_node.nix.base | |
org.g_node.nix.internal | |
org.g_node.nix.valid |
Modifier and Type | Method and Description |
---|---|
Source |
Source.createSource(String name,
String type)
Create a new root source.
|
Source |
Block.createSource(String name,
String type)
Create a new root source.
|
Source |
Source.getSource(long index)
Retrieves a specific source by index.
|
Source |
Group.getSource(long index)
Retrieves an associated source identified by its index.
|
Source |
MultiTag.getSource(long index)
Retrieves an associated source identified by its index.
|
Source |
Block.getSource(long index)
Retrieves a specific root source by index.
|
Source |
DataArray.getSource(long index)
Retrieves an associated source identified by its index.
|
Source |
Tag.getSource(long index)
Retrieves an associated source identified by its index.
|
Source |
Source.getSource(String nameOrId)
Retrieves a specific child source that is a direct descendant.
|
Source |
Group.getSource(String id)
Returns an associated source identified by its id.
|
Source |
MultiTag.getSource(String id)
Returns an associated source identified by its id.
|
Source |
Block.getSource(String nameOrId)
Retrieves a specific root source by its id.
|
Source |
DataArray.getSource(String id)
Returns an associated source identified by its id.
|
Source |
Tag.getSource(String id)
Returns an associated source identified by its id.
|
Modifier and Type | Method and Description |
---|---|
List<Source> |
Source.findSources()
Get all descendant sources of the source recursively.
|
List<Source> |
Block.findSources()
Get all sources in this block recursively.
|
List<Source> |
Source.findSources(int maxDepth)
Get all descendant sources of the source recursively.
|
List<Source> |
Block.findSources(int maxDepth)
Get all sources in this block recursively.
|
List<Source> |
Source.findSources(java.util.function.Predicate<Source> filter)
Get all descendant sources of the source recursively.
|
List<Source> |
Block.findSources(java.util.function.Predicate<Source> filter)
Get all sources in this block recursively.
|
List<Source> |
Source.findSources(java.util.function.Predicate<Source> filter,
int maxDepth)
Get all descendant sources of the source recursively.
|
List<Source> |
Block.findSources(java.util.function.Predicate<Source> filter,
int maxDepth)
Get all sources in this block recursively.
|
List<Source> |
Source.getSources()
Get all direct child sources associated with this source.
|
List<Source> |
Group.getSources()
Get all sources associated with this entity.
|
List<Source> |
MultiTag.getSources()
Get all sources associated with this entity.
|
List<Source> |
Block.getSources()
Get all root sources associated with this block.
|
List<Source> |
DataArray.getSources()
Get all sources associated with this entity.
|
List<Source> |
Tag.getSources()
Get all sources associated with this entity.
|
List<Source> |
Source.getSources(java.util.function.Predicate<Source> filter)
Get all direct child sources associated with this source.
|
List<Source> |
Group.getSources(java.util.function.Predicate<Source> filter)
Get all sources associated with this entity.
|
List<Source> |
Block.getSources(java.util.function.Predicate<Source> filter)
Get all root sources associated with this block.
|
Modifier and Type | Method and Description |
---|---|
void |
Group.addSource(Source source)
Associate a new source with the entity.
|
void |
MultiTag.addSource(Source source)
Associate a new source with the entity.
|
void |
DataArray.addSource(Source source)
Associate a new source with the entity.
|
void |
Tag.addSource(Source source)
Associate a new source with the entity.
|
boolean |
Source.deleteSource(Source source)
Delete a root source and all its child sources from
the source.
|
boolean |
Block.deleteSource(Source source)
Deletes a root source.
|
boolean |
Source.hasSource(Source source)
Checks if this source has a specific source as direct descendant.
|
boolean |
Group.hasSource(Source source)
Checks if a specific source is associated with this entity.
|
boolean |
MultiTag.hasSource(Source source)
Checks if a specific source is associated with this entity.
|
boolean |
Block.hasSource(Source source)
Checks if this block has a specific root source.
|
boolean |
DataArray.hasSource(Source source)
Checks if a specific source is associated with this entity.
|
boolean |
Tag.hasSource(Source source)
Checks if a specific source is associated with this entity.
|
boolean |
Group.removeSource(Source source)
Remove a source from the list of associated sources.
|
boolean |
MultiTag.removeSource(Source source)
Remove a source from the list of associated sources.
|
boolean |
DataArray.removeSource(Source source)
Remove a source from the list of associated sources.
|
boolean |
Tag.removeSource(Source source)
Remove a source from the list of associated sources.
|
Modifier and Type | Method and Description |
---|---|
List<Source> |
Source.findSources(java.util.function.Predicate<Source> filter)
Get all descendant sources of the source recursively.
|
List<Source> |
Block.findSources(java.util.function.Predicate<Source> filter)
Get all sources in this block recursively.
|
List<Source> |
Source.findSources(java.util.function.Predicate<Source> filter,
int maxDepth)
Get all descendant sources of the source recursively.
|
List<Source> |
Block.findSources(java.util.function.Predicate<Source> filter,
int maxDepth)
Get all sources in this block recursively.
|
List<Source> |
Source.getSources(java.util.function.Predicate<Source> filter)
Get all direct child sources associated with this source.
|
List<Source> |
Group.getSources(java.util.function.Predicate<Source> filter)
Get all sources associated with this entity.
|
List<Source> |
Block.getSources(java.util.function.Predicate<Source> filter)
Get all root sources associated with this block.
|
void |
Group.setSources(List<Source> sources)
Set all sources associations for this entity.
|
void |
MultiTag.setSources(List<Source> sources)
Set all sources associations for this entity.
|
void |
DataArray.setSources(List<Source> sources)
Set all sources associations for this entity.
|
void |
Tag.setSources(List<Source> sources)
Set all sources associations for this entity.
|
Modifier and Type | Method and Description |
---|---|
abstract Source |
EntityWithSources.getSource(long index)
Retrieves an associated source identified by its index.
|
abstract Source |
EntityWithSources.getSource(String id)
Returns an associated source identified by its id.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Source> |
EntityWithSources.getSources()
Get all sources associated with this entity.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
EntityWithSources.addSource(Source source)
Associate a new source with the entity.
|
abstract boolean |
EntityWithSources.hasSource(Source source)
Checks if a specific source is associated with this entity.
|
abstract boolean |
EntityWithSources.removeSource(Source source)
Remove a source from the list of associated sources.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
EntityWithSources.setSources(List<Source> sources)
Set all sources associations for this entity.
|
Modifier and Type | Method and Description |
---|---|
List<Source> |
VectorUtils.SourceVector.getSources()
Get source.
|
Constructor and Description |
---|
SourceVector(List<Source> lst)
Set sources.
|
Modifier and Type | Method and Description |
---|---|
static Result |
Validator.validate(Source source)
Source entity validator
Function taking a Source entity and returning
Result object |
Copyright © 2016. All rights reserved.