public class ValueMapper extends Object
| Constructor and Description |
|---|
ValueMapper(WeakObjectRegistry objectRegistry)
Initializes an instance.
|
public ValueMapper(WeakObjectRegistry objectRegistry)
objectRegistry - used to retrieve observable objects from the model registry.public Object map(Value message) throws ObjectToIdMappingException
message - the message to mapObjectToIdMappingException - When the value described it he message is unknown in the MetaModel.public Value map(Object value, boolean isObservable) throws ObjectToIdMappingException
Value messages.value - The observed value to map.isObservable - If the value is an observable object or a simple objectObjectToIdMappingException - When value wraps an observable object which has not been assigned an id yet.Copyright © 2015 Saxonia Systems AG. All Rights Reserved.