public class NewInstanceObjectFinder extends Object implements ObjectFinder
Constructor and Description |
---|
NewInstanceObjectFinder() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getObject(Class<T> domainClass,
Object to,
String... tags)
Try to get the domain object for the given transfer object.
|
public <T> T getObject(Class<T> domainClass, Object to, String... tags) throws JTransfoException
ObjectFinder
Return null when no domain object found or when it is unknown how to create the object.
getObject
in interface ObjectFinder
T
- domain class typedomainClass
- type of class neededto
- transfer object which needs to be convertedtags
- tags which indicate how objects need to be foundJTransfoException
- something went wrong while trying to find objectCopyright © 2022. All rights reserved.