public interface IdGenerator
Modifier and Type | Method and Description |
---|---|
String |
generateId(Collection<String> scopeIds,
Bundle bundle)
Generate an ID given an array of scope IDs.
|
String |
getIdBase(Bundle bundle)
Return the base data for the id, sans scoping.
|
com.google.common.collect.ListMultimap<String,String> |
handleIdCollision(Collection<String> scopeIds,
Bundle bundle) |
com.google.common.collect.ListMultimap<String,String> handleIdCollision(Collection<String> scopeIds, Bundle bundle)
scopeIds
- The entity's parent scope identifiersbundle
- The entity's bundle dataString generateId(Collection<String> scopeIds, Bundle bundle)
scopeIds
- An array of scope ids, ordered parent-to-child.bundle
- The entity's bundle dataCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.