public interface InstanceInitializer
SimpleInitializer
Modifier and Type | Method and Description |
---|---|
<T> Class<T> |
getClass(T entity) |
Class<?> |
getClassFromWork(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 initializeCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved