Package x
Class XSystemDataModel
java.lang.Object
x.XSystemDataModel
Test class. This file is not formally a member of the org.json library. It is
just a casual test tool.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic Stringdbgroup : (For driver that supported only) 1 = log authenlogging, clientstatistic, logging, processlogging, logichistory 2 = logic customdatamodel, customdataview, connectionpool, programlogic 3 = resource filepool, systemproperty, textcontent, textresource, virtualhost 4 = user userprofile, userrole 5 = security clientcredential, authorizcode, accesstoken, authorizscope 6 = separate data group 0 or None = pool data groupstatic Stringstatic Stringstatic th.co.skylogicsystem.skyframework.core.utils.cache.CacheUtilitystatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDatabaseJSONModel(String dataModelStr) Get JSON Model from database data model.static th.co.skylogicsystem.skyframework.core.utils.web.json.JSONObjectgetDatabaseJSONObject(String dataModelStr) Get JSON Object by data model.static StringgetJSONModel(String dataModelStr) Get JSON Model by data model.static th.co.skylogicsystem.skyframework.core.utils.web.json.JSONObjectgetJSONObject(String dataModelStr) Get JSON Object by data model.static StringgetTable(th.co.skylogicsystem.skyframework.core.utils.web.json.JSONObject dataModelStr) Get table name from data model.static XDataModeljsonToXDataModel(String jsonModel) SkyLogic JSON data to Class XData model.static XDataModeljsonToXDataModel(String jsonModel, String dataModelName) SkyLogic JSON data to Class XData model.
-
Field Details
-
cacheUtility
public static th.co.skylogicsystem.skyframework.core.utils.cache.CacheUtility cacheUtility -
authenlogging
dbgroup : (For driver that supported only) 1 = log authenlogging, clientstatistic, logging, processlogging, logichistory 2 = logic customdatamodel, customdataview, connectionpool, programlogic 3 = resource filepool, systemproperty, textcontent, textresource, virtualhost 4 = user userprofile, userrole 5 = security clientcredential, authorizcode, accesstoken, authorizscope 6 = separate data group 0 or None = pool data group -
clientstatistic
-
customdatamodel
-
customdataview
-
connectionpool
-
filepool
-
logging
-
logichistory
-
processlogging
-
programlogic
-
systemproperty
-
textcontent
-
textresource
-
userprofile
-
userrole
-
virtualhost
-
clientcredential
-
authorizcode
-
accesstoken
-
authorizscope
-
-
Constructor Details
-
XSystemDataModel
public XSystemDataModel()
-
-
Method Details
-
getJSONObject
public static th.co.skylogicsystem.skyframework.core.utils.web.json.JSONObject getJSONObject(String dataModelStr) Get JSON Object by data model. -
getJSONModel
Get JSON Model by data model. -
getDatabaseJSONObject
public static th.co.skylogicsystem.skyframework.core.utils.web.json.JSONObject getDatabaseJSONObject(String dataModelStr) Get JSON Object by data model. -
getDatabaseJSONModel
Get JSON Model from database data model.- Throws:
Exception
-
getTable
public static String getTable(th.co.skylogicsystem.skyframework.core.utils.web.json.JSONObject dataModelStr) Get table name from data model. -
jsonToXDataModel
SkyLogic JSON data to Class XData model.- Throws:
DinoQException
-
jsonToXDataModel
public static XDataModel jsonToXDataModel(String jsonModel, String dataModelName) throws DinoQException SkyLogic JSON data to Class XData model.- Throws:
DinoQException
-