public interface Model
| Modifier and Type | Method and Description | 
|---|---|
String | 
getBucket()
The datastore bucket associated with this model. 
 | 
String | 
getCompoundId()  | 
ModelController | 
getController()
The controller used to save/retrieve/update this model. 
 | 
Boolean | 
getDeleted()
Return true if the model is soft delete, false by default. 
 | 
Long | 
getId()
The primary key of the item. 
 | 
Boolean | 
getIsNewInsert()
Temporary Marker to indicate that this model should be inserted, not updated 
 | 
Long | 
getLastModifiedMillis()
When this model was last changed. 
 | 
Model | 
setBucket(String bucket)  | 
void | 
setDeleted(Boolean deleted)  | 
<Y extends Model> | 
setId(Long id)  | 
void | 
setIsNewInsert(Boolean isNewInsert)  | 
<Y extends Model> | 
setLastModifiedMillis(Long millis)  | 
ModelController getController()
Boolean getDeleted()
void setDeleted(Boolean deleted)
Boolean getIsNewInsert()
void setIsNewInsert(Boolean isNewInsert)
String getCompoundId()
Long getLastModifiedMillis()
<Y extends Model> Y setLastModifiedMillis(Long millis)
Copyright © 2016. All rights reserved.