@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface Id
Modifier and Type | Optional Element and Description |
---|---|
boolean |
autoincrement
Specifies that id should be auto-incremented (works only for Long/long fields)
Autoincrement on SQLite introduces additional resources usage and usually can be avoided
|
public abstract boolean autoincrement
Available under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.