Class ValueReader.Member<T>

  • Type Parameters:
    T - source type
    Enclosing interface:
    ValueReader<T>

    public abstract static class ValueReader.Member<T>
    extends Object
    A member of a given source
    • Constructor Detail

      • Member

        public Member​(Class<?> valueType)
        Creates a member contains nested value
        Parameters:
        valueType - the value type
    • Method Detail

      • getOrigin

        public T getOrigin()
        The origin value of this member
        Returns:
        the origin value
      • get

        public abstract Object get​(T source,
                                   String memberName)
        Get the member from the source with given member name.
        Parameters:
        source - the source
        memberName - the member name
        Returns:
        the member of the source