public class JsonQueryOrderingPropertyConverter extends JsonObjectConverter<QueryOrderingProperty>
Modifier and Type | Field and Description |
---|---|
protected static JsonArrayConverter<List<QueryOrderingProperty>> |
ARRAY_CONVERTER |
static String |
DIRECTION |
protected static JsonQueryOrderingPropertyConverter |
INSTANCE |
static String |
QUERY_PROPERTY |
static String |
QUERY_PROPERTY_FUNCTION |
static String |
RELATION |
static String |
RELATION_CONDITIONS |
Constructor and Description |
---|
JsonQueryOrderingPropertyConverter() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonObject |
toJsonObject(QueryOrderingProperty property) |
QueryOrderingProperty |
toObject(com.google.gson.JsonObject jsonObject) |
toJson
protected static JsonQueryOrderingPropertyConverter INSTANCE
protected static JsonArrayConverter<List<QueryOrderingProperty>> ARRAY_CONVERTER
public static final String RELATION
public static final String QUERY_PROPERTY
public static final String QUERY_PROPERTY_FUNCTION
public static final String DIRECTION
public static final String RELATION_CONDITIONS
public com.google.gson.JsonObject toJsonObject(QueryOrderingProperty property)
toJsonObject
in class JsonObjectConverter<QueryOrderingProperty>
public QueryOrderingProperty toObject(com.google.gson.JsonObject jsonObject)
toObject
in class JsonObjectConverter<QueryOrderingProperty>
Copyright © 2019. All rights reserved.