Interface JsonApiData

All Known Implementing Classes:
AbstractJsonApiData, ArmStatusJson, ChannelJson, EventJson, EventStationJson, EventVectorJson, MagnitudeJson, NetworkJson, OriginJson, PerusalJson, SodConfigJson, StationJson, TauPJson, WaveformJson

public interface JsonApiData
  • Method Details

    • getType

      java.lang.String getType()
    • getId

      java.lang.String getId()
    • encodeAttributes

      void encodeAttributes​(org.json.JSONWriter out) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • hasRelationships

      boolean hasRelationships()
    • encodeRelationships

      void encodeRelationships​(org.json.JSONWriter out) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • hasLinks

      boolean hasLinks()
    • encodeLinks

      void encodeLinks​(org.json.JSONWriter out) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • included

      java.util.List<JsonApiData> included()