|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.todoroo.andlib.data.AbstractModel
com.todoroo.astrid.data.StoreObject
public class StoreObject
Data Model which represents a piece of data unrelated to a task
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.todoroo.andlib.data.AbstractModel |
|---|
AbstractModel.ContentValuesSavingVisitor |
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
android.os.Parcelable.Creator<T> |
| Field Summary | |
|---|---|
static android.net.Uri |
CONTENT_URI
content uri for this model |
static Property.LongProperty |
ID
ID |
static Property.StringProperty |
ITEM
Store Item Key |
static Property<?>[] |
PROPERTIES
List of all properties for this model |
static Table |
TABLE
table for this model |
static Property.StringProperty |
TYPE
Store Type Key |
static Property.StringProperty |
VALUE1
Store Value Column 1 |
static Property.StringProperty |
VALUE2
Store Value Column 2 |
static Property.StringProperty |
VALUE3
Store Value Column 3 |
static Property.StringProperty |
VALUE4
Store Value Column 4 |
static Property.StringProperty |
VALUE5
Store Value Column 5 |
| Fields inherited from class com.todoroo.andlib.data.AbstractModel |
|---|
ID_PROPERTY, NO_ID |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
StoreObject()
|
|
StoreObject(TodorooCursor<StoreObject> cursor)
|
|
| Method Summary | |
|---|---|
android.content.ContentValues |
getDefaultValues()
Get the default values for this object |
long |
getId()
Utility method to get the identifier of the model, if it exists. |
void |
readFromCursor(TodorooCursor<StoreObject> cursor)
|
| Methods inherited from class com.todoroo.andlib.data.AbstractModel |
|---|
clear, clearValue, clone, containsNonNullValue, containsValue, describeContents, equals, getDatabaseValues, getFlag, getMergedValues, getSetValues, getTransitory, getValue, hashCode, isModified, isSaved, markSaved, mergeWith, putTransitory, setFlag, setId, setValue, writeToParcel |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Table TABLE
public static final android.net.Uri CONTENT_URI
public static final Property.LongProperty ID
public static final Property.StringProperty TYPE
public static final Property.StringProperty ITEM
public static final Property.StringProperty VALUE1
public static final Property.StringProperty VALUE2
public static final Property.StringProperty VALUE3
public static final Property.StringProperty VALUE4
public static final Property.StringProperty VALUE5
public static final Property<?>[] PROPERTIES
| Constructor Detail |
|---|
public StoreObject()
public StoreObject(TodorooCursor<StoreObject> cursor)
| Method Detail |
|---|
public android.content.ContentValues getDefaultValues()
AbstractModel
getDefaultValues in class AbstractModelpublic void readFromCursor(TodorooCursor<StoreObject> cursor)
public long getId()
AbstractModel
getId in class AbstractModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||