|
||||||||||
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.RemoteModel
com.todoroo.astrid.data.User
public final class User
Data Model which represents a user.
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 android.os.Parcelable.Creator<User> |
CREATOR
|
static Property.StringProperty |
EMAIL
User Email |
static Property.LongProperty |
ID
ID |
static Property.StringProperty |
LAST_ACTIVITY
User last activity string |
static Property.LongProperty |
LAST_ACTIVITY_DATE
User last activity date |
static Property.StringProperty |
NAME
User Name |
static Property.StringProperty |
PICTURE
User picture |
static Property<?>[] |
PROPERTIES
List of all properties for this model |
static Property.LongProperty |
REMOTE_ID
Remote id |
static Table |
TABLE
table for this model |
static Property.StringProperty |
THUMB
User picture thumbnail |
Fields inherited from class com.todoroo.astrid.data.RemoteModel |
---|
REMOTE_ID_PROPERTY, REMOTE_ID_PROPERTY_NAME, USER_ID_PROPERTY, USER_JSON_PROPERTY |
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 | |
---|---|
User()
|
|
User(TodorooCursor<User> 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<User> 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 NAME
public static final Property.StringProperty EMAIL
public static final Property.StringProperty PICTURE
public static final Property.StringProperty THUMB
public static final Property.StringProperty LAST_ACTIVITY
public static final Property.LongProperty LAST_ACTIVITY_DATE
public static final Property.LongProperty REMOTE_ID
public static final Property<?>[] PROPERTIES
public static final android.os.Parcelable.Creator<User> CREATOR
Constructor Detail |
---|
public User()
public User(TodorooCursor<User> cursor)
Method Detail |
---|
public android.content.ContentValues getDefaultValues()
AbstractModel
getDefaultValues
in class AbstractModel
public void readFromCursor(TodorooCursor<User> 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 |