public class SQLDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<SQLDataSetDef>
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_SOURCE |
static String |
DB_SCHEMA |
static String |
DB_SQL |
static String |
DB_TABLE |
static SQLDefJSONMarshaller |
INSTANCE |
| Constructor and Description |
|---|
SQLDefJSONMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(SQLDataSetDef def,
JsonObject json)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
|
void |
toJson(SQLDataSetDef dataSetDef,
JsonObject json)
Writes into the given json object the status of the data set def instance.
|
public static SQLDefJSONMarshaller INSTANCE
public static final String DATA_SOURCE
public static final String DB_SCHEMA
public static final String DB_TABLE
public static final String DB_SQL
public void fromJson(SQLDataSetDef def, JsonObject json)
DataSetDefJSONMarshallerExtfromJson in interface DataSetDefJSONMarshallerExt<SQLDataSetDef>public void toJson(SQLDataSetDef dataSetDef, JsonObject json)
DataSetDefJSONMarshallerExttoJson in interface DataSetDefJSONMarshallerExt<SQLDataSetDef>Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.