Package org.modelmapper.spi
Interface ValueReader<T>
- Type Parameters:
T- source type
public interface ValueReader<T>
Reads values from a source. Allows for integration with 3rd party libraries.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA member of a given source -
Method Summary
Modifier and TypeMethodDescriptionReturns the value from thesourceobject for thememberName.memberNames(T source) Returns all member names for thesourceobject, elsenullif the source has no members.
-
Method Details
-
get
Returns the value from thesourceobject for thememberName.- Throws:
IllegalArgumentException- if thememberNameis invalid for thesource
-
getMember
- Parameters:
source- the source objectmemberName- the name of member
-
memberNames
Returns all member names for thesourceobject, elsenullif the source has no members.
-