Package com.openfin.desktop.fdc3
Class Context
- java.lang.Object
-
- org.json.JSONObject
-
- com.openfin.desktop.fdc3.Context
-
public class Context extends org.json.JSONObjectContext can be summarised as: Having a unique type identifier, used for routing. Optionally providing a name. Optionally providing a map of equivalent identifiers. Any other properties or metadata.- Author:
- Anthony
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContextfromJson(org.json.JSONObject jsonObject)java.lang.StringgetName()java.lang.StringgetType()voidsetId(org.json.JSONObject id)-
Methods inherited from class org.json.JSONObject
accumulate, append, clear, 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
-
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getName
public java.lang.String getName()
-
setId
public void setId(org.json.JSONObject id)
-
fromJson
public static Context fromJson(org.json.JSONObject jsonObject)
-
-