T
- destination typepublic interface ValueWriter<T>
Modifier and Type | Interface and Description |
---|---|
static class |
ValueWriter.Member<T>
A member of a given destination
|
Modifier and Type | Method and Description |
---|---|
ValueWriter.Member<T> |
getMember(Class<T> destinationType,
String memberName)
|
boolean |
isResolveMembersSupport()
Returns whether the value writer is supporting on resolving the members.
|
Collection<String> |
memberNames(Class<T> destinationType)
Returns all member names for the
destinationType object, else null if the destination has no
members. |
void |
setValue(T destination,
Object value,
String memberName)
Returns the value from the
destination object for the memberName . |
void setValue(T destination, Object value, String memberName)
destination
object for the memberName
.IllegalArgumentException
- if the memberName
is invalid for the destination
ValueWriter.Member<T> getMember(Class<T> destinationType, String memberName)
destinationType
- the destination typememberName
- the name of memberCollection<String> memberNames(Class<T> destinationType)
destinationType
object, else null
if the destination has no
members.boolean isResolveMembersSupport()
true
if the value writer is supporting on resolving the members; otherwise, return false
Copyright © 2011–2024. All rights reserved.