Class ValueWriter.Member<T>

  • Type Parameters:
    T - destination type
    Enclosing interface:
    ValueWriter<T>

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

      • Member

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

      • getOrigin

        public Class<T> getOrigin()
        The origin value of this member
        Returns:
        the origin value
      • setValue

        public abstract void setValue​(T destination,
                                      Object value)
        Set the value.
        Parameters:
        destination - the destination
        value - the value