类org.greenrobot.greendao.annotation.Generated源码实例Demo

下面列出了怎么用org.greenrobot.greendao.annotation.Generated的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: CineLog   文件: LocalKino.java
/**
 * To-one relationship, resolved on first access.
 */
@Generated(hash = 1387996076)
public TmdbKino getKino() {
    long __key = this.tmdb_id;
    if (kino__resolvedKey == null || !kino__resolvedKey.equals(__key)) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        TmdbKinoDao targetDao = daoSession.getTmdbKinoDao();
        TmdbKino kinoNew = targetDao.load(__key);
        synchronized (this) {
            kino = kinoNew;
            kino__resolvedKey = __key;
        }
    }
    return kino;
}
 
源代码2 项目: a   文件: SearchBookBean.java
@Generated(hash = 337890066)
public SearchBookBean(String noteUrl, String coverUrl, String name, String author, String tag, String kind,
                      String origin, String lastChapter, String introduce, String chapterUrl, Long addTime, Long upTime,
                      String variable) {
    this.noteUrl = noteUrl;
    this.coverUrl = coverUrl;
    this.name = name;
    this.author = author;
    this.tag = tag;
    this.kind = kind;
    this.origin = origin;
    this.lastChapter = lastChapter;
    this.introduce = introduce;
    this.chapterUrl = chapterUrl;
    this.addTime = addTime;
    this.upTime = upTime;
    this.variable = variable;
}
 
源代码3 项目: HaoReader   文件: BookShelfBean.java
@Generated(hash = 228430457)
public BookShelfBean(String noteUrl, Integer durChapter, Integer durChapterPage, Long finalDate, Boolean hasUpdate, Integer newChapters,
                     String tag, Integer serialNumber, Long finalRefreshData, Integer group, String durChapterName, String lastChapterName,
                     Integer chapterListSize, Boolean updateOff, String variableString) {
    this.noteUrl = noteUrl;
    this.durChapter = durChapter;
    this.durChapterPage = durChapterPage;
    this.finalDate = finalDate;
    this.hasUpdate = hasUpdate;
    this.newChapters = newChapters;
    this.tag = tag;
    this.serialNumber = serialNumber;
    this.finalRefreshData = finalRefreshData;
    this.group = group;
    this.durChapterName = durChapterName;
    this.lastChapterName = lastChapterName;
    this.chapterListSize = chapterListSize;
    this.updateOff = updateOff;
    this.variableString = variableString;
}
 
源代码4 项目: v9porn   文件: V9PornItem.java
/**
 * To-one relationship, resolved on first access.
 */
@Generated(hash = 1066672592)
public VideoResult getVideoResult() {
    long __key = this.videoResultId;
    if (videoResult__resolvedKey == null || !videoResult__resolvedKey.equals(__key)) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        VideoResultDao targetDao = daoSession.getVideoResultDao();
        VideoResult videoResultNew = targetDao.load(__key);
        synchronized (this) {
            videoResult = videoResultNew;
            videoResult__resolvedKey = __key;
        }
    }
    return videoResult;
}
 
源代码5 项目: PocketEOS-Android   文件: UserBean.java
@Generated(hash = 223952739)
public UserBean(Long id, String wallet_uid, String wallet_name, String wallet_img,
        String wallet_weixin, String wallet_qq, String wallet_main_account,
        String wallet_main_account_img, String wallet_phone, String wallet_shapwd,
        String password_check, String account_info) {
    this.id = id;
    this.wallet_uid = wallet_uid;
    this.wallet_name = wallet_name;
    this.wallet_img = wallet_img;
    this.wallet_weixin = wallet_weixin;
    this.wallet_qq = wallet_qq;
    this.wallet_main_account = wallet_main_account;
    this.wallet_main_account_img = wallet_main_account_img;
    this.wallet_phone = wallet_phone;
    this.wallet_shapwd = wallet_shapwd;
    this.password_check = password_check;
    this.account_info = account_info;
}
 
源代码6 项目: DevUtils   文件: Note.java
/**
 * 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 = 465103477)
public List<NotePicture> getPictures() {
    if (pictures == null) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        NotePictureDao targetDao = daoSession.getNotePictureDao();
        List<NotePicture> picturesNew = targetDao._queryNote_Pictures(id);
        synchronized (this) {
            if (pictures == null) {
                pictures = picturesNew;
            }
        }
    }
    return pictures;
}
 
源代码7 项目: v9porn   文件: VideoResult.java
@Generated(hash = 1557299270)
public VideoResult(Long id, String videoUrl, String videoId, String ownerId, String authorId,
        String thumbImgUrl, String videoName, String ownerName, String addDate,
        String userOtherInfo, String uvId, int uid) {
    this.id = id;
    this.videoUrl = videoUrl;
    this.videoId = videoId;
    this.ownerId = ownerId;
    this.authorId = authorId;
    this.thumbImgUrl = thumbImgUrl;
    this.videoName = videoName;
    this.ownerName = ownerName;
    this.addDate = addDate;
    this.userOtherInfo = userOtherInfo;
    this.uvId = uvId;
    this.uid = uid;
}
 
源代码8 项目: v9porn   文件: V9PornItem.java
@Generated(hash = 247502747)
public V9PornItem(Long id, String viewKey, String title, String imgUrl, String duration, String info, long videoResultId, int downloadId, int progress, long speed,
                  int soFarBytes, int totalFarBytes, int status, Date addDownloadDate, Date finishedDownloadDate, Date viewHistoryDate) {
    this.id = id;
    this.viewKey = viewKey;
    this.title = title;
    this.imgUrl = imgUrl;
    this.duration = duration;
    this.info = info;
    this.videoResultId = videoResultId;
    this.downloadId = downloadId;
    this.progress = progress;
    this.speed = speed;
    this.soFarBytes = soFarBytes;
    this.totalFarBytes = totalFarBytes;
    this.status = status;
    this.addDownloadDate = addDownloadDate;
    this.finishedDownloadDate = finishedDownloadDate;
    this.viewHistoryDate = viewHistoryDate;
}
 
源代码9 项目: v9porn   文件: V9PornItem.java
/**
 * To-one relationship, resolved on first access.
 */
@Generated(hash = 1066672592)
public VideoResult getVideoResult() {
    long __key = this.videoResultId;
    if (videoResult__resolvedKey == null || !videoResult__resolvedKey.equals(__key)) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        VideoResultDao targetDao = daoSession.getVideoResultDao();
        VideoResult videoResultNew = targetDao.load(__key);
        synchronized (this) {
            videoResult = videoResultNew;
            videoResult__resolvedKey = __key;
        }
    }
    return videoResult;
}
 
源代码10 项目: CineLog   文件: SerieEpisode.java
/** To-one relationship, resolved on first access. */
@Generated(hash = 1090761680)
public TmdbSerie getSerie() {
    long __key = this.tmdb_id;
    if (serie__resolvedKey == null || !serie__resolvedKey.equals(__key)) {
        final DaoSession daoSession = this.daoSession;
        if (daoSession == null) {
            throw new DaoException("Entity is detached from DAO context");
        }
        TmdbSerieDao targetDao = daoSession.getTmdbSerieDao();
        TmdbSerie serieNew = targetDao.load(__key);
        synchronized (this) {
            serie = serieNew;
            serie__resolvedKey = __key;
        }
    }
    return serie;
}
 
源代码11 项目: Upchain-wallet   文件: ETHWallet.java
@Generated(hash = 1331046581)
public ETHWallet(Long id, String address, String name, String password,
        String keystorePath, String mnemonic, boolean isCurrent,
        boolean isBackup) {
    this.id = id;
    this.address = address;
    this.name = name;
    this.password = password;
    this.keystorePath = keystorePath;
    this.mnemonic = mnemonic;
    this.isCurrent = isCurrent;
    this.isBackup = isBackup;
}
 
源代码12 项目: CineLog   文件: WishlistSerie.java
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 128553479)
public void delete() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.delete(this);
}
 
源代码13 项目: a   文件: BookInfoBean.java
@Generated(hash = 906814482)
public BookInfoBean(String name, String tag, String noteUrl, String chapterUrl, long finalRefreshData, String coverUrl, String author, String introduce,
                    String origin, String charset, String bookSourceType) {
    this.name = name;
    this.tag = tag;
    this.noteUrl = noteUrl;
    this.chapterUrl = chapterUrl;
    this.finalRefreshData = finalRefreshData;
    this.coverUrl = coverUrl;
    this.author = author;
    this.introduce = introduce;
    this.origin = origin;
    this.charset = charset;
    this.bookSourceType = bookSourceType;
}
 
源代码14 项目: a   文件: RecommendBookListBean.java
@Generated(hash = 1332384894)
public RecommendBookListBean(Long id, String name, String author, String url,
        int num) {
    this.id = id;
    this.name = name;
    this.author = author;
    this.url = url;
    this.num = num;
}
 
源代码15 项目: CineLog   文件: LocalKino.java
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 128553479)
public void delete() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.delete(this);
}
 
源代码16 项目: a   文件: RecommendIndexBean.java
@Generated(hash = 1628495135)
public RecommendIndexBean(Long id, String title, String author, String url) {
    this.id = id;
    this.title = title;
    this.author = author;
    this.url = url;
}
 
源代码17 项目: HaoReader   文件: ReplaceRuleBean.java
@Generated(hash = 62660570)
public ReplaceRuleBean(Long id, String replaceSummary, String regex, String replacement,
        String useTo, Boolean enable, int serialNumber, Boolean isRegex) {
    this.id = id;
    this.replaceSummary = replaceSummary;
    this.regex = regex;
    this.replacement = replacement;
    this.useTo = useTo;
    this.enable = enable;
    this.serialNumber = serialNumber;
    this.isRegex = isRegex;
}
 
源代码18 项目: CineLog   文件: SerieReview.java
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 128553479)
public void delete() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.delete(this);
}
 
源代码19 项目: a   文件: BookSpecStyleBean.java
@Generated(hash = 82595838)
public BookSpecStyleBean(Long id, String bookName, String bookAuthor,
        String styleJson) {
    this.id = id;
    this.bookName = bookName;
    this.bookAuthor = bookAuthor;
    this.styleJson = styleJson;
}
 
源代码20 项目: a   文件: RecommendBookBean.java
@Generated(hash = 571999590)
public RecommendBookBean(Long id, String title, String comment, String author,
        String star, String wordCount, String chapterNum, String status) {
    this.id = id;
    this.title = title;
    this.comment = comment;
    this.author = author;
    this.star = star;
    this.wordCount = wordCount;
    this.chapterNum = chapterNum;
    this.status = status;
}
 
源代码21 项目: a   文件: BookContentBean.java
@Generated(hash = 695554675)
public BookContentBean(String noteUrl, String durChapterUrl,
                       Integer durChapterIndex, String durChapterContent, String tag,
                       Long timeMillis) {
    this.noteUrl = noteUrl;
    this.durChapterUrl = durChapterUrl;
    this.durChapterIndex = durChapterIndex;
    this.durChapterContent = durChapterContent;
    this.tag = tag;
    this.timeMillis = timeMillis;
}
 
源代码22 项目: v9porn   文件: VideoResult.java
@Generated(hash = 1158187111)
public VideoResult(Long id, String videoUrl, String videoId, String ownerId, String authorId,
        String thumbImgUrl, String videoName, String ownerName, String addDate,
        String userOtherInfo) {
    this.id = id;
    this.videoUrl = videoUrl;
    this.videoId = videoId;
    this.ownerId = ownerId;
    this.authorId = authorId;
    this.thumbImgUrl = thumbImgUrl;
    this.videoName = videoName;
    this.ownerName = ownerName;
    this.addDate = addDate;
    this.userOtherInfo = userOtherInfo;
}
 
源代码23 项目: CineLog   文件: SerieEpisode.java
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#delete(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 128553479)
public void delete() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.delete(this);
}
 
源代码24 项目: v9porn   文件: AutoCompleteEntity.java
@Generated(hash = 579119384)
public AutoCompleteEntity(Long id, String name, int useTime, int type,
        Date addDate, Date updateDate) {
    this.id = id;
    this.name = name;
    this.useTime = useTime;
    this.type = type;
    this.addDate = addDate;
    this.updateDate = updateDate;
}
 
源代码25 项目: frpc-Android   文件: SuiDao.java
@Generated(hash = 2141312454)
public SuiDao(Long id, String ip, String port, String type, String link,
        String name, String user, String time) {
    this.id = id;
    this.ip = ip;
    this.port = port;
    this.type = type;
    this.link = link;
    this.name = name;
    this.user = user;
    this.time = time;
}
 
源代码26 项目: CineLog   文件: WishlistMovie.java
@Generated(hash = 2053796790)
public WishlistMovie(Long wishlist_movie_id, long tmdb_id, String title, String comment) {
    this.wishlist_movie_id = wishlist_movie_id;
    this.tmdb_id = tmdb_id;
    this.title = title;
    this.comment = comment;
}
 
源代码27 项目: XposedSmsCode   文件: SmsCodeRule.java
@Generated(hash = 1853112924)
public SmsCodeRule(Long id, String company, @NotNull String codeKeyword,
        @NotNull String codeRegex) {
    this.id = id;
    this.company = company;
    this.codeKeyword = codeKeyword;
    this.codeRegex = codeRegex;
}
 
源代码28 项目: v9porn   文件: Category.java
@Generated(hash = 895463876)
public Category(Long id, int categoryType, String categoryName,
                String categoryValue, String categoryUrl, Integer sortId,
                boolean isShow) {
    this.id = id;
    this.categoryType = categoryType;
    this.categoryName = categoryName;
    this.categoryValue = categoryValue;
    this.categoryUrl = categoryUrl;
    this.sortId = sortId;
    this.isShow = isShow;
}
 
源代码29 项目: CineLog   文件: LocalKino.java
@Generated(hash = 193728723)
public LocalKino(Long id, long tmdb_id, @NotNull String title, Date review_date, String review, Float rating, Integer maxRating) {
    this.id = id;
    this.tmdb_id = tmdb_id;
    this.title = title;
    this.review_date = review_date;
    this.review = review;
    this.rating = rating;
    this.maxRating = maxRating;
}
 
源代码30 项目: DevUtils   文件: Note.java
@Generated(hash = 59778150)
public Note(Long id, @NotNull String text, String comment, Date date, NoteType type) {
    this.id = id;
    this.text = text;
    this.comment = comment;
    this.date = date;
    this.type = type;
}