@ThingworxExtensionApiClass(since={6,6}) public interface ISort extends java.util.Comparator<ValueCollection>
Query
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFieldName() |
boolean |
isAscending() |
boolean |
isCaseSensitive() |
void |
resolveFields(DataShapeDefinition fields) |
void |
setAscending(boolean value) |
void |
setFieldName(java.lang.String value) |
java.lang.Object |
toJSON()
Produces JSON representation of this sorter as either JSONObject or JSONArray as most appropriate. |
org.json.JSONArray |
toJSONArray()
Produces JSONArray representation of this sorter. |
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@ThingworxExtensionApiMethod(since={6,6}) java.lang.String getFieldName()
@ThingworxExtensionApiMethod(since={6,6}) void setFieldName(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) boolean isAscending()
@ThingworxExtensionApiMethod(since={6,6}) boolean isCaseSensitive()
@ThingworxExtensionApiMethod(since={6,6}) void setAscending(boolean value)
@ThingworxExtensionApiMethod(since={6,6}) void resolveFields(DataShapeDefinition fields)
@ThingworxExtensionApiMethod(since={6,6}) java.lang.Object toJSON() throws org.json.JSONException
org.json.JSONException
- Upon internal errors@ThingworxExtensionApiMethod(since={6,6}) org.json.JSONArray toJSONArray() throws org.json.JSONException
org.json.JSONException
- Upon internal errors