Package io.ran
Class ObjectMap
- All Implemented Interfaces:
ObjectMapColumnizer
,ObjectMapHydrator
,Serializable
,Cloneable
,Map<Token,
Object>
- Direct Known Subclasses:
UncheckedObjectMap
public class ObjectMap
extends HashMap<Token,Object>
implements ObjectMapHydrator, ObjectMapColumnizer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBigDecimal
(Property<?> key) getBigDecimal
(String key) getBigInteger
(Property<?> key) getBoolean
(Property<?> key) byte[]
getCharacter
(Property<?> key) <T> Collection<T>
getCollection
(Property<?> key, Class<T> elementType, Class<? extends Collection<T>> collectionClass) <T extends Enum<T>>
TgetInstant
(Property<?> key) getInstant
(String key) getInteger
(Property<?> key) getInteger
(String key) getLocalDate
(Property<?> key) getLocalDateTime
(Property<?> key) getLocalTime
(Property<?> key) getZonedDateTime
(Property<?> key) getZonedDateTime
(String key) void
void
void
void
void
void
void
void
void
void
void
void
set
(Property<?> key, BigDecimal value) void
set
(Property<?> key, BigInteger value) void
void
void
set
(Property<?> key, LocalDateTime value) void
void
set
(Property<?> key, ZonedDateTime value) void
set
(Property<?> key, Collection<?> value) void
void
void
void
void
void
void
set
(String key, BigDecimal value) void
void
set
(String key, ZonedDateTime value) void
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
ObjectMap
public ObjectMap()
-
-
Method Details
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
set
- Specified by:
set
in interfaceObjectMapColumnizer
-
getString
- Specified by:
getString
in interfaceObjectMapHydrator
-
getCharacter
- Specified by:
getCharacter
in interfaceObjectMapHydrator
-
getZonedDateTime
- Specified by:
getZonedDateTime
in interfaceObjectMapHydrator
-
getInstant
- Specified by:
getInstant
in interfaceObjectMapHydrator
-
getLocalDateTime
- Specified by:
getLocalDateTime
in interfaceObjectMapHydrator
-
getLocalDate
- Specified by:
getLocalDate
in interfaceObjectMapHydrator
-
getLocalTime
- Specified by:
getLocalTime
in interfaceObjectMapHydrator
-
getInteger
- Specified by:
getInteger
in interfaceObjectMapHydrator
-
getShort
- Specified by:
getShort
in interfaceObjectMapHydrator
-
getLong
- Specified by:
getLong
in interfaceObjectMapHydrator
-
getUUID
- Specified by:
getUUID
in interfaceObjectMapHydrator
-
getDouble
- Specified by:
getDouble
in interfaceObjectMapHydrator
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceObjectMapHydrator
-
getBigInteger
- Specified by:
getBigInteger
in interfaceObjectMapHydrator
-
getFloat
- Specified by:
getFloat
in interfaceObjectMapHydrator
-
getBoolean
- Specified by:
getBoolean
in interfaceObjectMapHydrator
-
getByte
- Specified by:
getByte
in interfaceObjectMapHydrator
-
getBytes
- Specified by:
getBytes
in interfaceObjectMapHydrator
-
getEnum
- Specified by:
getEnum
in interfaceObjectMapHydrator
-
getCollection
public <T> Collection<T> getCollection(Property<?> key, Class<T> elementType, Class<? extends Collection<T>> collectionClass) - Specified by:
getCollection
in interfaceObjectMapHydrator
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
getString
-
getZonedDateTime
-
getInstant
-
getInteger
-
getLong
-
getUUID
-
getDouble
-
getBigDecimal
-
getFloat
-