public class ExtractionResult extends Object
| Constructor and Description |
|---|
ExtractionResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object entity,
String name)
Add a new entity to an extraction collection.
|
List<Object> |
getEntities()
Returns all entities.
|
List<Object> |
getEntities(Class entityClass)
Returns all entities of the given type.
|
List<Object> |
getEntities(String name)
Returns all entities stored in the given collection.
|
List<Object> |
getEntities(String name,
Class entityClass)
Returns all entities of a given type from a particular collection.
|
void |
merge(ExtractionResult extractionResult)
Merges another
ExtractionResult into this one. |
public void add(Object entity, String name)
entity - the entity to add.name - the name of the collection where this entity should be put.public List<Object> getEntities(String name)
name - the collection's namepublic List<Object> getEntities(Class entityClass)
entityClass - the entities type.public List<Object> getEntities(String name, Class entityClass)
name - the collection's nameentityClass - the entities type.public void merge(ExtractionResult extractionResult)
ExtractionResult into this one.extractionResult - the other ExtractionResult to merge.Copyright © 2014. All Rights Reserved.