public interface InstanceInitializer
SimpleInitializer| Modifier and Type | Method and Description |
|---|---|
<T> Class<T> |
getClass(T entity) |
IndexedTypeIdentifier |
getIndexedTypeIdFromWork(Work work) |
Object[] |
initializeArray(Object[] value) |
<T> Collection<T> |
initializeCollection(Collection<T> value) |
<K,V> Map<K,V> |
initializeMap(Map<K,V> value) |
Object |
unproxy(Object value) |
<T> Class<T> getClass(T entity)
T - the type of the entityentity - an instance or proxy of TObject unproxy(Object value)
value - the object to unproxy<T> Collection<T> initializeCollection(Collection<T> value)
T - the type of the elements in the collectionvalue - the collection to initialize<K,V> Map<K,V> initializeMap(Map<K,V> value)
K - keyV - valuevalue - the map to initializeObject[] initializeArray(Object[] value)
value - the array to initializeIndexedTypeIdentifier getIndexedTypeIdFromWork(Work work)
work - Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.