org.greenrobot.greendao.annotation.Generated Java Examples

The following examples show how to use org.greenrobot.greendao.annotation.Generated. 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: SerieEpisode.java    From CineLog with GNU General Public License v3.0 6 votes vote down vote up
/** 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;
}
 
Example #2
Source File: SearchBookBean.java    From a with GNU General Public License v3.0 6 votes vote down vote up
@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;
}
 
Example #3
Source File: Note.java    From DevUtils with Apache License 2.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #4
Source File: UserBean.java    From PocketEOS-Android with GNU Lesser General Public License v3.0 6 votes vote down vote up
@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;
}
 
Example #5
Source File: VideoResult.java    From v9porn with MIT License 6 votes vote down vote up
@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;
}
 
Example #6
Source File: V9PornItem.java    From v9porn with MIT License 6 votes vote down vote up
@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;
}
 
Example #7
Source File: V9PornItem.java    From v9porn with MIT License 6 votes vote down vote up
/**
 * 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;
}
 
Example #8
Source File: BookShelfBean.java    From HaoReader with GNU General Public License v3.0 6 votes vote down vote up
@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;
}
 
Example #9
Source File: LocalKino.java    From CineLog with GNU General Public License v3.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #10
Source File: V9PornItem.java    From v9porn with MIT License 6 votes vote down vote up
/**
 * 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;
}
 
Example #11
Source File: Note.java    From DevUtils with Apache License 2.0 5 votes vote down vote up
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#refresh(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 1942392019)
public void refresh() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.refresh(this);
}
 
Example #12
Source File: Note.java    From DevUtils with Apache License 2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example #13
Source File: Note.java    From DevUtils with Apache License 2.0 5 votes vote down vote up
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#update(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 713229351)
public void update() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.update(this);
}
 
Example #14
Source File: ChapterBean.java    From HaoReader with GNU General Public License v3.0 5 votes vote down vote up
@Generated(hash = 256775330)
public ChapterBean(String durChapterUrl, String nextChapterUrl, String durChapterName,
                   String durChapterPlayUrl, String noteUrl, Integer durChapterIndex, Integer start,
                   Integer end) {
    this.durChapterUrl = durChapterUrl;
    this.nextChapterUrl = nextChapterUrl;
    this.durChapterName = durChapterName;
    this.durChapterPlayUrl = durChapterPlayUrl;
    this.noteUrl = noteUrl;
    this.durChapterIndex = durChapterIndex;
    this.start = start;
    this.end = end;
}
 
Example #15
Source File: V9PornItem.java    From v9porn with MIT License 5 votes vote down vote up
/**
 * 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);
}
 
Example #16
Source File: BookChapterBean.java    From MyBookshelf with GNU General Public License v3.0 5 votes vote down vote up
@Generated(hash = 304828234)
public BookChapterBean(String tag, String noteUrl, int durChapterIndex, String durChapterUrl, String durChapterName,
                       Long start, Long end) {
    this.tag = tag;
    this.noteUrl = noteUrl;
    this.durChapterIndex = durChapterIndex;
    this.durChapterUrl = durChapterUrl;
    this.durChapterName = durChapterName;
    this.start = start;
    this.end = end;
}
 
Example #17
Source File: AutoCompleteEntity.java    From v9porn with MIT License 5 votes vote down vote up
@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;
}
 
Example #18
Source File: WishlistMovie.java    From CineLog with GNU General Public License v3.0 5 votes vote down vote up
/**
 * 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);
}
 
Example #19
Source File: LocalKino.java    From CineLog with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#update(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 713229351)
public void update() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.update(this);
}
 
Example #20
Source File: TmdbSerie.java    From CineLog with GNU General Public License v3.0 5 votes vote down vote up
@Generated(hash = 118982129)
public TmdbSerie(Long serie_id, String poster_path, String overview, int year,
        String release_date) {
    this.serie_id = serie_id;
    this.poster_path = poster_path;
    this.overview = overview;
    this.year = year;
    this.release_date = release_date;
}
 
Example #21
Source File: SearchBookBean.java    From HaoReader with GNU General Public License v3.0 5 votes vote down vote up
@Generated(hash = 65370007)
public SearchBookBean(String noteUrl, String coverUrl, String name, String author, String tag, String kind, String origin,
        String lastChapter, String introduce, String bookType, String variableString) {
    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.bookType = bookType;
    this.variableString = variableString;
}
 
Example #22
Source File: SerieEpisode.java    From CineLog with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Convenient call for {@link org.greenrobot.greendao.AbstractDao#refresh(Object)}.
 * Entity must attached to an entity context.
 */
@Generated(hash = 1942392019)
public void refresh() {
    if (myDao == null) {
        throw new DaoException("Entity is detached from DAO context");
    }
    myDao.refresh(this);
}
 
Example #23
Source File: V9PornItem.java    From v9porn with MIT License 5 votes vote down vote up
/**
 * called by internal mechanisms, do not call yourself.
 */
@Generated(hash = 1756630021)
public void setVideoResult(@NotNull VideoResult videoResult) {
    if (videoResult == null) {
        throw new DaoException("To-one property 'videoResultId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.videoResult = videoResult;
        videoResultId = videoResult.getId();
        videoResult__resolvedKey = videoResultId;
    }
}
 
Example #24
Source File: Note.java    From DevUtils with Apache License 2.0 5 votes vote down vote up
@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;
}
 
Example #25
Source File: LocalKino.java    From CineLog with GNU General Public License v3.0 5 votes vote down vote up
@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;
}
 
Example #26
Source File: Category.java    From v9porn with MIT License 5 votes vote down vote up
@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;
}
 
Example #27
Source File: ETHWallet.java    From Upchain-wallet with GNU Affero General Public License v3.0 5 votes vote down vote up
@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;
}
 
Example #28
Source File: WishlistMovie.java    From CineLog with GNU General Public License v3.0 5 votes vote down vote up
@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;
}
 
Example #29
Source File: SuiDao.java    From frpc-Android with Apache License 2.0 5 votes vote down vote up
@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;
}
 
Example #30
Source File: SmsCodeRule.java    From XposedSmsCode with GNU General Public License v3.0 5 votes vote down vote up
@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;
}