Class EntityEntry
- java.lang.Object
-
- com.feedzai.commons.sql.abstraction.entry.EntityEntry
-
- All Implemented Interfaces:
Serializable
public class EntityEntry extends Object implements Serializable
Represents an entry, i.e. the columns that are part of an entry.- Since:
- 2.0.0
- Author:
- Rui Vilao (rui.vilao@feedzai.com)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityEntry.BuilderBuilder to create immutableEntityEntryobjects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(String k)Checks if the given key is set in the internal map.booleanequals(Object o)Objectget(String k)Gets the field.Map<String,Object>getMap()Gets the a map representation of thisEntityEntry.inthashCode()EntityEntry.BuildernewBuilder()Returns a new Builder out of thisEntityEntry.StringtoString()
-
-
-
Method Detail
-
containsKey
public boolean containsKey(String k)
Checks if the given key is set in the internal map.- Parameters:
k- The key to check.- Returns:
trueif the internal map contains the key,falseotherwise.- Since:
- 2.0.1
-
newBuilder
public EntityEntry.Builder newBuilder()
Returns a new Builder out of thisEntityEntry.- Returns:
- A new Builder out of this
EntityEntry.
-
getMap
public Map<String,Object> getMap()
Gets the a map representation of thisEntityEntry.- Returns:
- The map representation.
-
-