T
- public class DefaultCreateEntityTransformer<T> extends Object implements CreateEntityTransformer<T>
queryTransformer
(if defined), to fetch T from it.
Constructor and Description |
---|
DefaultCreateEntityTransformer() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.Transformer |
getQueryTransformer()
If defined, will fetch T from query from the input
|
Class<T> |
getType()
if provided and input is null then return instance of type T
|
void |
setQueryTransformer(org.apache.commons.collections.Transformer queryTransformer)
If defined, will fetch T from query from the input
|
void |
setType(Class<T> type)
if provided and input is null then return instance of type T
|
Object |
transform(Object input) |
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public Class<T> getType()
public void setType(Class<T> type)
public org.apache.commons.collections.Transformer getQueryTransformer()
public void setQueryTransformer(org.apache.commons.collections.Transformer queryTransformer)
Copyright © 2018. All rights reserved.