Class Node

java.lang.Object
org.json.JSONObject
com.onenetwork.platform.integ.rest.network.Node

public class Node
extends org.json.JSONObject
Represents a single node in a network of nodes connected by Arcs.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String GEO  
    static java.lang.String ID  
    static java.lang.String TITLE  
    static java.lang.String TYPE  

    Fields inherited from class org.json.JSONObject

    NULL
  • Constructor Summary

    Constructors 
    Constructor Description
    Node()  
    Node​(java.lang.String id)  
  • Method Summary

    Modifier and Type Method Description
    Geo getGeo()  
    java.lang.String getId()  
    java.lang.String getTitle()  
    java.lang.String getType()  
    void setGeo​(Geo geo)  
    Node setId​(java.lang.String id)  
    Node setTitle​(java.lang.String title)  
    Node setType​(java.lang.String type)  

    Methods inherited from class org.json.JSONObject

    accumulate, append, asMap, doubleToString, entrySet, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getNumber, getString, has, increment, isDecimalNotation, isEmpty, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optDouble, optDouble, optEnum, optEnum, optFloat, optFloat, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optNumber, optNumber, optQuery, optQuery, optString, optString, put, put, put, put, put, put, put, put, putOnce, putOpt, query, query, quote, quote, remove, similar, stringToNumber, stringToValue, testValidity, toJSONArray, toMap, toString, toString, valueToString, wrap, write, write

    Methods inherited from class java.lang.Object

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