|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StackMobModel | |
|---|---|
| com.stackmob.sdk.callback | |
| com.stackmob.sdk.model | |
| Uses of StackMobModel in com.stackmob.sdk.callback |
|---|
| Classes in com.stackmob.sdk.callback with type parameters of type StackMobModel | |
|---|---|
class |
StackMobQueryCallback<T extends StackMobModel>
|
| Uses of StackMobModel in com.stackmob.sdk.model |
|---|
| Classes in com.stackmob.sdk.model with type parameters of type StackMobModel | |
|---|---|
class |
StackMobModelQuery<T extends StackMobModel>
|
| Subclasses of StackMobModel in com.stackmob.sdk.model | |
|---|---|
class |
StackMobUser
|
| Methods in com.stackmob.sdk.model with type parameters of type StackMobModel | ||
|---|---|---|
static
|
StackMobModel.newFromJson(Class<T> classOfT,
String json)
Create a new instance of the specified model class from a json string. |
|
static
|
StackMobModel.query(Class<T> theClass,
StackMobQuery q,
StackMobQueryCallback<T> callback)
Run a query on the server to get all the instances of your model within certain constraints |
|
| Methods in com.stackmob.sdk.model that return StackMobModel | |
|---|---|
protected static StackMobModel |
StackMobModel.getExistingModel(Collection<? extends StackMobModel> oldList,
com.google.gson.JsonElement json)
Finds a model with the same id as the json |
| Methods in com.stackmob.sdk.model that return types with arguments of type StackMobModel | |
|---|---|
protected Collection<StackMobModel> |
StackMobModel.getFieldAsCollection(Field field)
Turns a field which is either an Array or Collection of StackMobModels and turns in into a collection |
protected static List<StackMobModel> |
StackMobModel.updateModelListFromJson(com.google.gson.JsonArray array,
Collection<? extends StackMobModel> existingModels,
Class<? extends StackMobModel> modelClass)
|
| Method parameters in com.stackmob.sdk.model with type arguments of type StackMobModel | |
|---|---|
protected static StackMobModel |
StackMobModel.getExistingModel(Collection<? extends StackMobModel> oldList,
com.google.gson.JsonElement json)
Finds a model with the same id as the json |
protected void |
StackMobModel.setActualClass(Class<? extends StackMobModel> actualClass)
|
protected void |
StackMobModel.setFieldFromList(Field field,
List<? extends StackMobModel> list,
Class<? extends StackMobModel> modelClass)
Sets a field which is either an Array or Collection of StackMobModels using a list |
protected void |
StackMobModel.setFieldFromList(Field field,
List<? extends StackMobModel> list,
Class<? extends StackMobModel> modelClass)
Sets a field which is either an Array or Collection of StackMobModels using a list |
protected static List<StackMobModel> |
StackMobModel.updateModelListFromJson(com.google.gson.JsonArray array,
Collection<? extends StackMobModel> existingModels,
Class<? extends StackMobModel> modelClass)
|
protected static List<StackMobModel> |
StackMobModel.updateModelListFromJson(com.google.gson.JsonArray array,
Collection<? extends StackMobModel> existingModels,
Class<? extends StackMobModel> modelClass)
|
| Constructor parameters in com.stackmob.sdk.model with type arguments of type StackMobModel | |
|---|---|
StackMobModel(Class<? extends StackMobModel> actualClass)
|
|
StackMobModel(String id,
Class<? extends StackMobModel> actualClass)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||