Class Queryable.IntrospectionConsumer<O>

    • Method Summary

      Modifier and Type Method Description
      <R> R get​(O instance, QueryParameter queryParameter, Queryable.DataSource<O> dataSource)
      Get naming information from an instance.
      <R> R getParameter​(java.lang.Integer place)
      This method must returns the parameter for the place indicated as parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IntrospectionConsumer

        public IntrospectionConsumer()
    • Method Detail

      • get

        public <R> R get​(O instance,
                         QueryParameter queryParameter,
                         Queryable.DataSource<O> dataSource)
        Get naming information from an instance.
        Type Parameters:
        R - Expected response type.
        Parameters:
        instance - Data source.
        queryParameter - Query parameter.
        dataSource - Data source
        Returns:
        Return the data storage in the data source indexed by the parameter name.
      • getParameter

        public <R> R getParameter​(java.lang.Integer place)
        Description copied from interface: Queryable.Consumer
        This method must returns the parameter for the place indicated as parameter.
        Type Parameters:
        R - Expected result type.
        Parameters:
        place - Place value.
        Returns:
        Returns the value for the specific place.