public interface ObjectFinder
This is typically used to get the base object from the database.
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.
|
<T> T getObject(Class<T> domainClass, Object to, String... tags) throws JTransfoException
Return null when no domain object found or when it is unknown how to create the object.
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.