public final class DtoConverter extends Object
HolderImpl
s. This converter works for finite graph where identity of
graph nodes is determined by their ids. If an object does not have an id, it is considered to be
unique.Constructor and Description |
---|
DtoConverter(ModelInstance modelInstance,
ModelProvider modelProvider)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
convertFromDto(ObjectValue object)
Converts given DTO object to runtime representation.
|
public DtoConverter(ModelInstance modelInstance, ModelProvider modelProvider)
modelInstance
- modelProvider
- NullPointerException
- if modelInstance
or modelProvider
is nullpublic Object convertFromDto(ObjectValue object)
HolderImpl
and
has not null id, the object is resolved to an existing object.object
- NullPointerException
- if cache
is nullCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.