public final class ReferenceMapper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReferenceMapper.Builder |
Modifier and Type | Method and Description |
---|---|
static ReferenceMapper.Builder |
builder() |
List<StringReplacementTask> |
getReplacementTasks()
Returns the string replacement tasks corresponding to the contained key mappings.
|
com.edorasware.commons.core.entity.GlobalId |
map(com.edorasware.commons.core.entity.GlobalId id)
Maps an old work object ID to the new equivalent.
|
String |
map(String id)
Maps an old ID string to the new equivalent.
|
String |
toString() |
public com.edorasware.commons.core.entity.GlobalId map(com.edorasware.commons.core.entity.GlobalId id)
id
- the old global IDpublic String map(String id)
id
- the old ID stringpublic List<StringReplacementTask> getReplacementTasks()
public static ReferenceMapper.Builder builder()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.