public static class EntityEntry.Builder extends Object implements Builder<EntityEntry>, Serializable
EntityEntry
objects.Constructor and Description |
---|
EntityEntry.Builder() |
Modifier and Type | Method and Description |
---|---|
EntityEntry |
build()
Builds the final immutable instance.
|
Object |
get(String key)
Gets the value given the pair.
|
EntityEntry.Builder |
set(Map<String,Object> map)
Adds all the entries in given map to the entity entry.
|
EntityEntry.Builder |
set(String k,
Object v)
Adds the specified key/value pair.
|
public EntityEntry.Builder set(String k, Object v)
k
- The key.v
- The value.public EntityEntry.Builder set(Map<String,Object> map)
map
- The map to add.public Object get(String key)
key
- The key.public EntityEntry build()
Builder
build
in interface Builder<EntityEntry>
Copyright © 2014 Feedzai. All Rights Reserved.