当前位置: 首页>>代码示例>>Java>>正文


Java Generated类代码示例

本文整理汇总了Java中org.greenrobot.greendao.annotation.Generated的典型用法代码示例。如果您正苦于以下问题:Java Generated类的具体用法?Java Generated怎么用?Java Generated使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Generated类属于org.greenrobot.greendao.annotation包,在下文中一共展示了Generated类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getHelpful

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
/** To-one relationship, resolved on first access. */
@Generated(hash = 2081731991)
public BookHelpfulBean getHelpful() {
    String __key = this._id;
    if (helpful__resolvedKey == null || helpful__resolvedKey != __key) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        BookHelpfulBeanDao targetDao = daoSession.getBookHelpfulBeanDao();
        BookHelpfulBean helpfulNew = targetDao.load(__key);
        synchronized (this) {
            helpful = helpfulNew;
            helpful__resolvedKey = __key;
        }
    }
    return helpful;
}
 
开发者ID:newbiechen1024,项目名称:NovelReader,代码行数:19,代码来源:BookReviewBean.java

示例2: NotNullThing

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 1109392169)
public NotNullThing(Long id, boolean nullableBoolean, int nullableInteger,
                    Boolean nullableWrappedBoolean, Integer nullableWrappedInteger,
                    boolean notNullBoolean, int notNullInteger,
                    @NotNull Boolean notNullWrappedBoolean,
                    @NotNull Integer notNullWrappedInteger) {
    this.id = id;
    this.nullableBoolean = nullableBoolean;
    this.nullableInteger = nullableInteger;
    this.nullableWrappedBoolean = nullableWrappedBoolean;
    this.nullableWrappedInteger = nullableWrappedInteger;
    this.notNullBoolean = notNullBoolean;
    this.notNullInteger = notNullInteger;
    this.notNullWrappedBoolean = notNullWrappedBoolean;
    this.notNullWrappedInteger = notNullWrappedInteger;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:17,代码来源:NotNullThing.java

示例3: Grade

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 568899968)
public Grade(Long id, Long subjectId, Long userId, String subject, String value,
             String color, String symbol, String description, String weight,
             String date, String teacher, String semester, boolean isNew,
             boolean read) {
    this.id = id;
    this.subjectId = subjectId;
    this.userId = userId;
    this.subject = subject;
    this.value = value;
    this.color = color;
    this.symbol = symbol;
    this.description = description;
    this.weight = weight;
    this.date = date;
    this.teacher = teacher;
    this.semester = semester;
    this.isNew = isNew;
    this.read = read;
}
 
开发者ID:wulkanowy,项目名称:wulkanowy,代码行数:21,代码来源:Grade.java

示例4: Accounting

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 2109571958)
public Accounting(Long id, int atype, double amount, String etype, String memo,
                  Date created, Date rdate, Date modified, int month, String sid,
                  long timestamp, int recyle, boolean synced) {
    this.id = id;
    this.atype = atype;
    this.amount = amount;
    this.etype = etype;
    this.memo = memo;
    this.created = created;
    this.rdate = rdate;
    this.modified = modified;
    this.month = month;
    this.sid = sid;
    this.timestamp = timestamp;
    this.recyle = recyle;
    this.synced = synced;
}
 
开发者ID:LingjuAI,项目名称:AssistantBySDK,代码行数:19,代码来源:Accounting.java

示例5: BookTb

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 710856636)
public BookTb(String id, String name, String coverUrl, String describe, String author,
        boolean isFinished, int readNumber, long latestReadTimestamp,
        Integer latestReadSection, String latestReadSectionId, int latestReadPage,
        boolean hasUpdate, Integer sectionCount, int sort, long createTimestamp,
        long updateTimestamp) {
    this.id = id;
    this.name = name;
    this.coverUrl = coverUrl;
    this.describe = describe;
    this.author = author;
    this.isFinished = isFinished;
    this.readNumber = readNumber;
    this.latestReadTimestamp = latestReadTimestamp;
    this.latestReadSection = latestReadSection;
    this.latestReadSectionId = latestReadSectionId;
    this.latestReadPage = latestReadPage;
    this.hasUpdate = hasUpdate;
    this.sectionCount = sectionCount;
    this.sort = sort;
    this.createTimestamp = createTimestamp;
    this.updateTimestamp = updateTimestamp;
}
 
开发者ID:z-chu,项目名称:FriendBook,代码行数:24,代码来源:BookTb.java

示例6: User

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 837043814)
public User(Long id, String userId, String account, String password,
        String name, String gender, String nickname, String mobilePhone,
        String birth, String avatarUrl, String area, String point,
        String signature, String token) {
    this.id = id;
    this.userId = userId;
    this.account = account;
    this.password = password;
    this.name = name;
    this.gender = gender;
    this.nickname = nickname;
    this.mobilePhone = mobilePhone;
    this.birth = birth;
    this.avatarUrl = avatarUrl;
    this.area = area;
    this.point = point;
    this.signature = signature;
    this.token = token;
}
 
开发者ID:RockyQu,项目名称:MVVMFrames,代码行数:21,代码来源:User.java

示例7: getMovie

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
/** To-one relationship, resolved on first access. */
@Generated(hash = 1289461985)
public MovieOverviewModel getMovie() {
    long __key = this.movieId;
    if (movie__resolvedKey == null || !movie__resolvedKey.equals(__key)) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        MovieOverviewModelDao targetDao = daoSession.getMovieOverviewModelDao();
        MovieOverviewModel movieNew = targetDao.load(__key);
        synchronized (this) {
            movie = movieNew;
            movie__resolvedKey = __key;
        }
    }
    return movie;
}
 
开发者ID:tgbMedia,项目名称:Android-app,代码行数:19,代码来源:KeywordModel.java

示例8: getGenres

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
/**
 * To-many relationship, resolved on first access (and after reset).
 * Changes to to-many relations are not persisted, make changes to the target entity.
 */
@Generated(hash = 1620741698)
public List<GenreModel> getGenres() {
    if (genres == null) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        GenreModelDao targetDao = daoSession.getGenreModelDao();
        List<GenreModel> genresNew = targetDao._queryMovieOverviewModel_Genres(id);
        synchronized (this) {
            if (genres == null) {
                genres = genresNew;
            }
        }
    }
    return genres;
}
 
开发者ID:tgbMedia,项目名称:Android-app,代码行数:22,代码来源:MovieOverviewModel.java

示例9: CollBookBean

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 757968961)
public CollBookBean(String _id, String title, String author, String shortIntro, String cover,
        boolean hasCp, int latelyFollower, double retentionRatio, String updated, String lastRead,
        int chaptersCount, String lastChapter, boolean isUpdate, boolean isLocal) {
    this._id = _id;
    this.title = title;
    this.author = author;
    this.shortIntro = shortIntro;
    this.cover = cover;
    this.hasCp = hasCp;
    this.latelyFollower = latelyFollower;
    this.retentionRatio = retentionRatio;
    this.updated = updated;
    this.lastRead = lastRead;
    this.chaptersCount = chaptersCount;
    this.lastChapter = lastChapter;
    this.isUpdate = isUpdate;
    this.isLocal = isLocal;
}
 
开发者ID:newbiechen1024,项目名称:NovelReader,代码行数:20,代码来源:CollBookBean.java

示例10: getMeasure

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
/** To-one relationship, resolved on first access. */
@Generated(hash = 1530824084)
public Measure getMeasure() {
    long __key = this.measure_id;
    if (measure__resolvedKey == null || !measure__resolvedKey.equals(__key)) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        MeasureDao targetDao = daoSession.getMeasureDao();
        Measure measureNew = targetDao.load(__key);
        synchronized (this) {
            measure = measureNew;
            measure__resolvedKey = __key;
        }
    }
    return measure;
}
 
开发者ID:kflauri2312lffds,项目名称:Android_watch_magpie,代码行数:19,代码来源:Alertes.java

示例11: getDayList

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
/**
 * To-many relationship, resolved on first access (and after reset).
 * Changes to to-many relations are not persisted, make changes to the target entity.
 */
@Generated(hash = 300459794)
public List<Day> getDayList() {
    if (dayList == null) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        DayDao targetDao = daoSession.getDayDao();
        List<Day> dayListNew = targetDao._queryAccount_DayList(id);
        synchronized (this) {
            if (dayList == null) {
                dayList = dayListNew;
            }
        }
    }
    return dayList;
}
 
开发者ID:wulkanowy,项目名称:wulkanowy,代码行数:22,代码来源:Account.java

示例12: getCast

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
/**
 * To-many relationship, resolved on first access (and after reset).
 * Changes to to-many relations are not persisted, make changes to the target entity.
 */
@Generated(hash = 150995885)
public List<CastRelationModel> getCast() {
    if (cast == null) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        CastRelationModelDao targetDao = daoSession.getCastRelationModelDao();
        List<CastRelationModel> castNew = targetDao._queryMovieOverviewModel_Cast(id);
        synchronized (this) {
            if (cast == null) {
                cast = castNew;
            }
        }
    }
    return cast;
}
 
开发者ID:tgbMedia,项目名称:Android-app,代码行数:22,代码来源:MovieOverviewModel.java

示例13: Question

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 103353390)
public Question(Long id, String questionText, String imgUrl, String createdAt,
                String updatedAt) {
    this.id = id;
    this.questionText = questionText;
    this.imgUrl = imgUrl;
    this.createdAt = createdAt;
    this.updatedAt = updatedAt;
}
 
开发者ID:MindorksOpenSource,项目名称:android-mvp-interactor-architecture,代码行数:10,代码来源:Question.java

示例14: MoneyItem

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 673340660)
public MoneyItem(Long id, @NotNull String name, @NotNull String description, @NotNull Date date, double amount, @NotNull Long categoryID, @NotNull Long locationID) {
    this.id = id;
    this.name = name;
    this.description = description;
    this.date = date;
    this.amount = amount;
    this.categoryID = categoryID;
    this.locationID = locationID;
}
 
开发者ID:alewin,项目名称:moneytracking,代码行数:11,代码来源:MoneyItem.java

示例15: Subject

import org.greenrobot.greendao.annotation.Generated; //导入依赖的package包/类
@Generated(hash = 396325764)
public Subject(Long id, Long userId, String name, String predictedRating,
               String finalRating, String semester) {
    this.id = id;
    this.userId = userId;
    this.name = name;
    this.predictedRating = predictedRating;
    this.finalRating = finalRating;
    this.semester = semester;
}
 
开发者ID:wulkanowy,项目名称:wulkanowy,代码行数:11,代码来源:Subject.java


注:本文中的org.greenrobot.greendao.annotation.Generated类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。