- get(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
- get(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the value object associated with a key.
- getBoolean(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the boolean value associated with an index.
- getBoolean(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the boolean value associated with a key.
- getBooleanField(Persistable, int, boolean) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getByteField(Persistable, int, byte) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getCause() - Method in exception org.datanucleus.api.rest.orgjson.JSONException
-
- getCharField(Persistable, int, char) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getDouble(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the double value associated with an index.
- getDouble(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the double value associated with a key.
- getDoubleField(Persistable, int, double) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getExecutionContext(Persistable) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getFloatField(Persistable, int, float) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getIdentityForURLToken(AbstractClassMetaData, String, PersistenceNucleusContext) - Static method in class org.datanucleus.api.rest.RESTUtils
-
- getInt(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the int value associated with an index.
- getInt(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the int value associated with a key.
- getIntField(Persistable, int, int) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getJSONArray(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the JSONArray associated with an index.
- getJSONArray(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the JSONArray value associated with a key.
- getJSONArrayFromCollection(Collection, ExecutionContext) - Static method in class org.datanucleus.api.rest.RESTUtils
-
Method to convert the provided POJO into its equivalent JSONObject.
- getJSONObject(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the JSONObject associated with an index.
- getJSONObject(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the JSONObject value associated with a key.
- getJSONObjectFromPOJO(Object, ExecutionContext) - Static method in class org.datanucleus.api.rest.RESTUtils
-
Method to convert the provided POJO into its equivalent JSONObject.
- getLong(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the long value associated with an index.
- getLong(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the long value associated with a key.
- getLongField(Persistable, int, long) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getNames(JSONObject) - Static method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an array of field names from a JSONObject.
- getNames(Object) - Static method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an array of field names from an Object.
- getNonPersistableObjectFromJSONObject(JSONObject, Class, NucleusContext) - Static method in class org.datanucleus.api.rest.RESTUtils
-
Deserialise from JSON to an object.
- getObject() - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getObjectField(Persistable, int, Object) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getObjectFromJSONObject(JSONObject, String, ExecutionContext) - Static method in class org.datanucleus.api.rest.RESTUtils
-
Method to convert the provided JSONObject into its equivalent object.
- getObjectId(Persistable) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getShortField(Persistable, int, short) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getString(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the string associated with an index.
- getString(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get the string associated with a key.
- getStringField(Persistable, int, String) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getTransactionalObjectId(Persistable) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- getVersion(Persistable) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- join(String) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Make a string from the contents of this JSONArray.
- JSONArray - Class in org.datanucleus.api.rest.orgjson
-
A JSONArray is an ordered sequence of values.
- JSONArray() - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
Construct an empty JSONArray.
- JSONArray(JSONTokener) - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
Construct a JSONArray from a JSONTokener.
- JSONArray(String) - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
Construct a JSONArray from a source JSON text.
- JSONArray(Collection) - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
Construct a JSONArray from a Collection.
- JSONArray(Collection, boolean) - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
- JSONArray(Object) - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
- JSONArray(Object, boolean) - Constructor for class org.datanucleus.api.rest.orgjson.JSONArray
-
- JSONException - Exception in org.datanucleus.api.rest.orgjson
-
The JSONException is thrown by the JSON.org classes then things are amiss.
- JSONException(String) - Constructor for exception org.datanucleus.api.rest.orgjson.JSONException
-
Constructs a JSONException with an explanatory message.
- JSONException(Throwable) - Constructor for exception org.datanucleus.api.rest.orgjson.JSONException
-
- JSONObject - Class in org.datanucleus.api.rest.orgjson
-
A JSONObject is an unordered collection of name/value pairs.
- JSONObject() - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct an empty JSONObject.
- JSONObject(JSONObject, String[]) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from a subset of another JSONObject.
- JSONObject(JSONTokener) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from a JSONTokener.
- JSONObject(Map) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from a Map.
- JSONObject(Map, boolean) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from a Map.
- JSONObject(Object) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from an Object using bean getters.
- JSONObject(Object, boolean) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from an Object using bean getters.
- JSONObject(Object, String[]) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from an Object, using reflection to find the public members.
- JSONObject(String) - Constructor for class org.datanucleus.api.rest.orgjson.JSONObject
-
Construct a JSONObject from a source JSON text string.
- JSONString - Interface in org.datanucleus.api.rest.orgjson
-
The JSONString
interface allows a toJSONString()
method so that a class can
change the behavior of JSONObject.toString()
, JSONArray.toString()
, and
JSONWriter.value(
Object)
.
- JSONTokener - Class in org.datanucleus.api.rest.orgjson
-
A JSONTokener takes a source string and extracts characters and tokens from it.
- JSONTokener(Reader) - Constructor for class org.datanucleus.api.rest.orgjson.JSONTokener
-
Construct a JSONTokener from a string.
- JSONTokener(String) - Constructor for class org.datanucleus.api.rest.orgjson.JSONTokener
-
Construct a JSONTokener from a string.
- names() - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Produce a JSONArray containing the names of the elements of this JSONObject.
- next() - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Get the next character in the source string.
- next(char) - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Consume the next character, and check that it matches a specified character.
- next(int) - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Get the next n characters.
- nextClean() - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Get the next char in the string, skipping whitespace.
- nextString(char) - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Return the characters up to the next close quote character.
- nextTo(char) - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Get the text up but not including the specified character or the end of line, whichever comes first.
- nextTo(String) - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Get the text up but not including one of the specified delimiter characters or the end of line,
whichever comes first.
- nextValue() - Method in class org.datanucleus.api.rest.orgjson.JSONTokener
-
Get the next value.
- NULL - Static variable in class org.datanucleus.api.rest.orgjson.JSONObject
-
It is sometimes more convenient and less ambiguous to have a NULL
object than to use
Java's null
value.
- numberToString(Number) - Static method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Produce a string from a Number.
- opt(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional object value associated with an index.
- opt(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional value associated with a key.
- optBoolean(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(int, boolean) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional boolean associated with a key.
- optBoolean(String, boolean) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional boolean associated with a key.
- optDouble(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional double value associated with an index.
- optDouble(int, double) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional double value associated with an index.
- optDouble(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a
number.
- optDouble(String, double) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional double associated with a key, or the defaultValue if there is no such key or if its
value is not a number.
- optInt(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional int value associated with an index.
- optInt(int, int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional int value associated with an index.
- optInt(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional int value associated with a key, or zero if there is no such key or if the value is not
a number.
- optInt(String, int) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional int value associated with a key, or the default if there is no such key or if the value
is not a number.
- optJSONArray(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional JSONArray associated with an index.
- optJSONArray(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional JSONArray associated with a key.
- optJSONObject(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional JSONObject associated with an index.
- optJSONObject(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional JSONObject associated with a key.
- optLong(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional long value associated with an index.
- optLong(int, long) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional long value associated with an index.
- optLong(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional long value associated with a key, or zero if there is no such key or if the value is
not a number.
- optLong(String, long) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional long value associated with a key, or the default if there is no such key or if the
value is not a number.
- optString(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional string value associated with an index.
- optString(int, String) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Get the optional string associated with an index.
- optString(String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional string associated with a key.
- optString(String, String) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Get an optional string associated with a key.
- org.datanucleus.api.rest - package org.datanucleus.api.rest
-
- org.datanucleus.api.rest.fieldmanager - package org.datanucleus.api.rest.fieldmanager
-
- org.datanucleus.api.rest.orgjson - package org.datanucleus.api.rest.orgjson
-
Repackaging of "org.json" and was subject to the following license.
- preSerialize(Persistable) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedBooleanField(Persistable, int, boolean) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedByteField(Persistable, int, byte) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedCharField(Persistable, int, char) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedDoubleField(Persistable, int, double) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedFloatField(Persistable, int, float) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedIntField(Persistable, int, int) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedLongField(Persistable, int, long) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedObjectField(Persistable, int, Object) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedShortField(Persistable, int, short) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- providedStringField(Persistable, int, String) - Method in class org.datanucleus.api.rest.DummyStateManager
-
- put(boolean) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Append a boolean value.
- put(Collection) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
- put(double) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Append a double value.
- put(int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Append an int value.
- put(long) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Append an long value.
- put(Map) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
- put(Object) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Append an object value.
- put(int, boolean) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put or replace a boolean value in the JSONArray.
- put(int, Collection) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
- put(int, double) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put or replace a double value.
- put(int, int) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put or replace an int value.
- put(int, long) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put or replace a long value.
- put(int, Map) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
- put(int, Object) - Method in class org.datanucleus.api.rest.orgjson.JSONArray
-
Put or replace an object value in the JSONArray.
- put(String, Collection) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a
Collection.
- put(String, boolean) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/boolean pair in the JSONObject.
- put(String, double) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/double pair in the JSONObject.
- put(String, int) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/int pair in the JSONObject.
- put(String, long) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/long pair in the JSONObject.
- put(String, Map) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a
Map.
- put(String, Object) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/value pair in the JSONObject.
- putOnce(String, Object) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only
if there is not already a member with that name.
- putOpt(String, Object) - Method in class org.datanucleus.api.rest.orgjson.JSONObject
-
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.