org.greenrobot.greendao.annotation.Id Java Examples

The following examples show how to use org.greenrobot.greendao.annotation.Id. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Annotation.java    From android-app with GNU General Public License v3.0 5 votes vote down vote up
public static Collection<Long> getAnnotationIdsByArticleIds(
        Collection<Long> articleIds, AnnotationDao dao) {
    List<Long> ids = new ArrayList<>();
    try (Cursor cursor = getAnnotationByArticlesQueryBuilder(articleIds, dao).buildCursor().query()) {
        while (cursor.moveToNext()) {
            ids.add(cursor.getLong(cursor.getColumnIndex(AnnotationDao.Properties.Id.columnName)));
        }
    }
    return ids;
}
 
Example #2
Source File: IsFirstEnterApp.java    From KUtils with Apache License 2.0 4 votes vote down vote up
@Generated(hash = 1032443511)
public IsFirstEnterApp(Long Id, boolean isFirstEnterApp) {
    this.Id = Id;
    this.isFirstEnterApp = isFirstEnterApp;
}
 
Example #3
Source File: IsFirstEnterApp.java    From KUtils with Apache License 2.0 4 votes vote down vote up
public Long getId() {
    return this.Id;
}
 
Example #4
Source File: IsFirstEnterApp.java    From KUtils with Apache License 2.0 4 votes vote down vote up
public void setId(Long Id) {
    this.Id = Id;
}
 
Example #5
Source File: IsFirstEnterApp.java    From KUtils-master with Apache License 2.0 4 votes vote down vote up
@Generated(hash = 1032443511)
public IsFirstEnterApp(Long Id, boolean isFirstEnterApp) {
    this.Id = Id;
    this.isFirstEnterApp = isFirstEnterApp;
}
 
Example #6
Source File: IsFirstEnterApp.java    From KUtils-master with Apache License 2.0 4 votes vote down vote up
public Long getId() {
    return this.Id;
}
 
Example #7
Source File: IsFirstEnterApp.java    From KUtils-master with Apache License 2.0 4 votes vote down vote up
public void setId(Long Id) {
    this.Id = Id;
}