Class AbstractJsonApiData

java.lang.Object
edu.sc.seis.sod.web.jsonapi.AbstractJsonApiData
All Implemented Interfaces:
JsonApiData
Direct Known Subclasses:
ArmStatusJson, ChannelJson, EventJson, EventStationJson, EventVectorJson, MagnitudeJson, NetworkJson, OriginJson, PerusalJson, SodConfigJson, StationJson, TauPJson, WaveformJson

public abstract class AbstractJsonApiData
extends java.lang.Object
implements JsonApiData
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String baseUrl  
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractJsonApiData​(java.lang.String baseUrl)  
  • Method Summary

    Modifier and Type Method Description
    static void doKeyValue​(org.json.JSONWriter out, java.lang.String key, java.lang.Object value)  
    void encodeAttributes​(org.json.JSONWriter out)  
    void encodeLinks​(org.json.JSONWriter out)  
    void encodeRelationships​(org.json.JSONWriter out)  
    java.lang.String getBaseUrl()  
    boolean hasLinks()  
    boolean hasRelationships()  
    java.util.List<JsonApiData> included()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface edu.sc.seis.sod.web.jsonapi.JsonApiData

    getId, getType