@Embeddable public class ObjectMap<K extends Serializable> extends Object implements at.chrl.nutils.interfaces.INestedMap<Map<ObjectMapKey<?>,K>,ObjectMapKey<?>,K>
| Constructor and Description |
|---|
ObjectMap()
Default constructor
|
ObjectMap(int initCapacity)
constructor with initialize capacity
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(javax.persistence.EntityManager em,
ObjectMapKey<T> key)
Returns persisted object instance by given
EntityManager |
<T> T |
get(org.hibernate.Session session,
ObjectMapKey<T> key)
Returns persisted object instance by fiven
Session |
<T> T |
get(SessionTemplate st,
ObjectMapKey<T> key)
Returns persisted object instance by given
SessionTemplate |
Map<ObjectMapKey<?>,K> |
getNestedMap() |
<T extends ObjectMapable<K>> |
put(ObjectMapKey<T> key,
T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuescompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ObjectMap()
public ObjectMap(int initCapacity)
initCapacity - public Map<ObjectMapKey<?>,K> getNestedMap()
getNestedMap in interface at.chrl.nutils.interfaces.INestedMap<Map<ObjectMapKey<?>,K extends Serializable>,ObjectMapKey<?>,K extends Serializable>INestedMap.getNestedMap()public <T extends ObjectMapable<K>> T put(ObjectMapKey<T> key, T value)
public <T> T get(javax.persistence.EntityManager em,
ObjectMapKey<T> key)
EntityManagerem - key - public <T> T get(org.hibernate.Session session,
ObjectMapKey<T> key)
Sessionsession - key - public <T> T get(SessionTemplate st, ObjectMapKey<T> key)
SessionTemplatest - key - Copyright © 2014–2015. All rights reserved.