Class FormJSONObject
java.lang.Object
org.json.JSONObject
com.onenetwork.platform.integ.rest.json.FormJSONObject
public class FormJSONObject
extends org.json.JSONObject
a JSONObject used by reports to describe available filters
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COLUMN_COUNT
static java.lang.String
DYNAMIC_FIELDS
static java.lang.String
STATIC_FIELDS
-
Constructor Summary
Constructors Constructor Description FormJSONObject()
FormJSONObject(org.json.JSONObject jsonObject)
-
Method Summary
Modifier and Type Method Description int
getColumnCount()
org.json.JSONArray
getDynamicFields()
Gets the array of dynamic fieldsorg.json.JSONArray
getStaticFields()
Gets the array of static fieldsvoid
setColumnCount(int value)
void
setDynamicFields(org.json.JSONArray value)
void
setStaticFields(org.json.JSONArray value)
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
-
Field Details
-
STATIC_FIELDS
public static final java.lang.String STATIC_FIELDS- See Also:
- Constant Field Values
-
DYNAMIC_FIELDS
public static final java.lang.String DYNAMIC_FIELDS- See Also:
- Constant Field Values
-
COLUMN_COUNT
public static final java.lang.String COLUMN_COUNT- See Also:
- Constant Field Values
-
-
Constructor Details
-
FormJSONObject
public FormJSONObject() -
FormJSONObject
public FormJSONObject(org.json.JSONObject jsonObject)
-
-
Method Details
-
setStaticFields
public void setStaticFields(org.json.JSONArray value) -
getStaticFields
public org.json.JSONArray getStaticFields()Gets the array of static fields- Returns:
- An JSONArray of FilterJSONObjects which are all static fields
-
setDynamicFields
public void setDynamicFields(org.json.JSONArray value) -
getDynamicFields
public org.json.JSONArray getDynamicFields()Gets the array of dynamic fields- Returns:
- An JSONArray of FilterJSONObjects which are all dynamic fields
-
getColumnCount
public int getColumnCount() -
setColumnCount
public void setColumnCount(int value)
-