public final class Transformers extends Object
Modifier and Type | Field and Description |
---|---|
static AliasToEntityMapResultTransformer |
ALIAS_TO_ENTITY_MAP
Each row of results is a <tt>Map</tt> from alias to values/entities
|
static ToListResultTransformer |
TO_LIST
Each row of results is a <tt>List</tt>
|
Modifier and Type | Method and Description |
---|---|
static ResultTransformer |
aliasToBean(Class target)
Creates a resulttransformer that will inject aliased values into
instances of Class via property methods or fields.
|
public static final AliasToEntityMapResultTransformer ALIAS_TO_ENTITY_MAP
Each row of results is a <tt>Map</tt> from alias to values/entities
public static final ToListResultTransformer TO_LIST
Each row of results is a <tt>List</tt>
public static ResultTransformer aliasToBean(Class target)
Creates a resulttransformer that will inject aliased values into instances of Class via property methods or fields.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.