Class SearchResult

java.lang.Object
com.arubanetworks.meridian.search.SearchResult
All Implemented Interfaces:
Serializable

public class SearchResult extends Object implements Serializable
Encapsulates an individual item in a SearchResponse.
See Also:
  • Method Details

    • fromJSONObject

      public static SearchResult fromJSONObject(JSONObject json, EditorKey appKey) throws JSONException
      Constructs a SearchResult from json.
      Throws:
      JSONException - if JSON is malformed
    • getType

      public SearchResult.ResultType getType()
      Get the type of this result.
    • getPlacemark

      public Placemark getPlacemark()
      Get the placemark associated with this result.
    • getTag

      public TagBeacon getTag()
      Get the asset tag for this result.
    • getMap

      public MapInfo getMap()
      Get the map info for this result.
    • getTagLabel

      public String getTagLabel()
      Get the tag label for this result.
    • getTagLabelId

      public String getTagLabelId()
      Get the tag label Id for this result.