| Modifier and Type | Field and Description |
|---|---|
protected String |
property |
protected int |
sqlType |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSetter(String property,
int sqlType) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
convertJsonValue(com.google.gson.JsonElement element) |
String |
getProperty() |
protected com.google.common.base.Optional<? extends com.google.gson.JsonElement> |
getValid(com.google.gson.JsonObject json) |
int |
set(com.google.gson.JsonObject json,
PreparedStatement statement,
int index) |
protected final String property
protected final int sqlType
protected AbstractSetter(String property, int sqlType)
public int set(com.google.gson.JsonObject json,
PreparedStatement statement,
int index)
throws SQLException
set in interface SetterSQLExceptionpublic String getProperty()
getProperty in interface Setterprotected com.google.common.base.Optional<? extends com.google.gson.JsonElement> getValid(com.google.gson.JsonObject json)
protected abstract Object convertJsonValue(com.google.gson.JsonElement element)
Copyright © 2025. All rights reserved.