Constructor and Description |
---|
BindingWithValueConversion(BindingSide[] sourcePath,
BindingSide destinationMember)
Creates binding from series of bindings from source to destination member.
|
BindingWithValueConversion(BindingSide sourceMember,
BindingSide destinationMember)
Creates Binding from source member to destination member.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setValueAtDestination(Mapper mapper,
Object destination,
Object value)
Sets value at destination.
|
execute, getDestinationMember, getSourcePath
public BindingWithValueConversion(BindingSide[] sourcePath, BindingSide destinationMember)
sourcePath
- series of bindings from source where n+1 binding returns member of object
returned by n-th binding.destinationMember
- destination member.public BindingWithValueConversion(BindingSide sourceMember, BindingSide destinationMember)
sourceMember
- source member.destinationMember
- destination member.protected void setValueAtDestination(Mapper mapper, Object destination, Object value)
setValueAtDestination
in class Binding
mapper
- caller.destination
- destination object.value
- value to set.Copyright © 2014. All rights reserved.