Class TableJSONObject

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

public class TableJSONObject
extends org.json.JSONObject
A JSONObject used by reports to describe the table of the report including the record definition. Note: The setPageSize method is used to inform the client about the page size and can not be used to change the actually page size of the report.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String COLUMNS  
    static java.lang.String FIELDS  
    static java.lang.String PAGE_SIZE  
    static java.lang.String SORTING  

    Fields inherited from class org.json.JSONObject

    NULL
  • Constructor Summary

    Constructors 
    Constructor Description
    TableJSONObject()  
    TableJSONObject​(org.json.JSONObject jsonObject)  
  • Method Summary

    Modifier and Type Method Description
    org.json.JSONArray getColumns()  
    org.json.JSONArray getFields()  
    int getPageSize()  
    org.json.JSONArray getSorting()  
    void setColumns​(org.json.JSONArray value)  
    void setFields​(org.json.JSONArray value)  
    void setPageSize​(int pageSize)  
    void setSorting​(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

    Methods inherited from class java.lang.Object

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