Class Query

    • Constructor Summary

      Constructors 
      Constructor Description
      Query​(android.content.Context context, QueryType type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected android.content.Context getContext()
      Get the saved application context
      java.lang.String getID()
      Get the ID of the query
      QueryType getType()
      Get the type of the query
      JSONObject toJSON()
      Serialize this query to json
      Child would typicaly extends this method to provide extra data
      • Methods inherited from class java.lang.Object

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

      • Query

        public Query​(android.content.Context context,
                     QueryType type)
        Parameters:
        context -
        type -
    • Method Detail

      • getID

        public java.lang.String getID()
        Get the ID of the query
        Returns:
      • getType

        public QueryType getType()
        Get the type of the query
        Returns:
      • getContext

        protected android.content.Context getContext()
        Get the saved application context
        Returns:
      • toJSON

        public JSONObject toJSON()
                          throws JSONException
        Serialize this query to json
        Child would typicaly extends this method to provide extra data
        Returns:
        Throws:
        JSONException