com.todoroo.astrid.data
Class RemoteModel

java.lang.Object
  extended by com.todoroo.andlib.data.AbstractModel
      extended by com.todoroo.astrid.data.RemoteModel
All Implemented Interfaces:
android.os.Parcelable, java.lang.Cloneable
Direct Known Subclasses:
TagData, Task, Update, User

public abstract class RemoteModel
extends AbstractModel

A model that is synchronized to a remote server and has a remote id

Author:
Tim Su

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 Property.LongProperty REMOTE_ID_PROPERTY
          remote id property
static java.lang.String REMOTE_ID_PROPERTY_NAME
          remote id property common to all remote models
static Property.LongProperty USER_ID_PROPERTY
          user id property
static Property.StringProperty USER_JSON_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
RemoteModel()
           
 
Method Summary
 
Methods inherited from class com.todoroo.andlib.data.AbstractModel
clear, clearValue, clone, containsNonNullValue, containsValue, describeContents, equals, getDatabaseValues, getDefaultValues, getFlag, getId, 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

REMOTE_ID_PROPERTY_NAME

public static final java.lang.String REMOTE_ID_PROPERTY_NAME
remote id property common to all remote models

See Also:
Constant Field Values

REMOTE_ID_PROPERTY

public static final Property.LongProperty REMOTE_ID_PROPERTY
remote id property


USER_ID_PROPERTY

public static final Property.LongProperty USER_ID_PROPERTY
user id property


USER_JSON_PROPERTY

public static final Property.StringProperty USER_JSON_PROPERTY
user json property

Constructor Detail

RemoteModel

public RemoteModel()