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,
ModelProviderClientService modelProviderService)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
convertFromDto(ObjectValue object)
Converts given DTO object to runtime representation.
|
public DtoConverter(ModelInstance modelInstance, ModelProviderClientService modelProviderService)
modelInstance
- modelProviderService
- NullPointerException
- if modelInstance
or modelProviderService
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-2018 Whitestein Technologies. All Rights Reserved.