| Package | Description | 
|---|---|
| eu.ehri.project.exceptions | |
| eu.ehri.project.persistence | 
 Classes dealing with persistence of
 relational item data in sub-tree format. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ErrorSet | 
ValidationError.getErrorSet()  | 
| Constructor and Description | 
|---|
ValidationError(Bundle bundle,
               ErrorSet errorSet)  | 
| Modifier and Type | Method and Description | 
|---|---|
ErrorSet | 
ErrorSet.Builder.build()  | 
static ErrorSet | 
ErrorSet.fromError(String key,
         String error)
Factory constructor. 
 | 
ErrorSet | 
ErrorSet.removeDataValue(String key)  | 
ErrorSet | 
ErrorSet.replaceRelations(com.google.common.collect.Multimap<String,ErrorSet> relations)  | 
ErrorSet | 
ErrorSet.withDataValue(String key,
             Object err)
Set a value in the bundle's data. 
 | 
ErrorSet | 
ErrorSet.withRelation(String relation,
            ErrorSet other)
Add a bundle for a particular relation. 
 | 
ErrorSet | 
ErrorSet.withRelations(com.google.common.collect.Multimap<String,ErrorSet> newRelations)
Add entire set of relations. 
 | 
ErrorSet | 
ErrorSet.withRelations(String relation,
             List<ErrorSet> others)
Set bundles for a particular relation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.common.collect.Multimap<String,ErrorSet> | 
ErrorSet.getRelations()
Get the bundle's relation bundles. 
 | 
List<ErrorSet> | 
ErrorSet.getRelations(String relation)
Get a set of relations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ErrorSet | 
ErrorSet.withRelation(String relation,
            ErrorSet other)
Add a bundle for a particular relation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ErrorSet | 
ErrorSet.replaceRelations(com.google.common.collect.Multimap<String,ErrorSet> relations)  | 
ErrorSet | 
ErrorSet.withRelations(com.google.common.collect.Multimap<String,ErrorSet> newRelations)
Add entire set of relations. 
 | 
ErrorSet | 
ErrorSet.withRelations(String relation,
             List<ErrorSet> others)
Set bundles for a particular relation. 
 | 
| Constructor and Description | 
|---|
ErrorSet(com.google.common.collect.Multimap<String,String> errors,
        com.google.common.collect.Multimap<String,ErrorSet> relations)
Constructor. 
 | 
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.