org.greenrobot.greendao.annotation.NotNull Java Examples

The following examples show how to use org.greenrobot.greendao.annotation.NotNull. 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: Allophone.java    From ml-authentication with Apache License 2.0 6 votes vote down vote up
@Generated(hash = 1936568992)
public Allophone(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String valueIpa, @NotNull String valueSampa, boolean diacritic,
        SoundType soundType, VowelLength vowelLength, VowelHeight vowelHeight,
        VowelFrontness vowelFrontness, LipRounding lipRounding, ConsonantType consonantType,
        ConsonantPlace consonantPlace, ConsonantVoicing consonantVoicing, int usageCount) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.valueIpa = valueIpa;
    this.valueSampa = valueSampa;
    this.diacritic = diacritic;
    this.soundType = soundType;
    this.vowelLength = vowelLength;
    this.vowelHeight = vowelHeight;
    this.vowelFrontness = vowelFrontness;
    this.lipRounding = lipRounding;
    this.consonantType = consonantType;
    this.consonantPlace = consonantPlace;
    this.consonantVoicing = consonantVoicing;
    this.usageCount = usageCount;
}
 
Example #2
Source File: ReportEntity.java    From privacy-friendly-netmonitor with GNU General Public License v3.0 6 votes vote down vote up
@Generated(hash = 15093572)
public ReportEntity(Long id, @NotNull String appName, @NotNull String userID,
                    @NotNull String timeStamp, @NotNull String remoteAddress, @NotNull String remoteHex,
                    @NotNull String remoteHost, @NotNull String localAddress, @NotNull String localHex,
                    @NotNull String servicePort, @NotNull String payloadProtocol,
                    @NotNull String transportProtocol, @NotNull String localPort,
                    @NotNull String connectionInfo) {
    this.id = id;
    this.appName = appName;
    this.userID = userID;
    this.timeStamp = timeStamp;
    this.remoteAddress = remoteAddress;
    this.remoteHex = remoteHex;
    this.remoteHost = remoteHost;
    this.localAddress = localAddress;
    this.localHex = localHex;
    this.servicePort = servicePort;
    this.payloadProtocol = payloadProtocol;
    this.transportProtocol = transportProtocol;
    this.localPort = localPort;
    this.connectionInfo = connectionInfo;
}
 
Example #3
Source File: Image.java    From ml-authentication with Apache License 2.0 6 votes vote down vote up
@Generated(hash = 1331350877)
public Image(Long id, @NotNull Locale locale, Calendar timeLastUpdate, @NotNull Integer revisionNumber,
        @NotNull ContentStatus contentStatus, @NotNull String contentType, Set<LiteracySkill> literacySkills,
        Set<NumeracySkill> numeracySkills, @NotNull String title, @NotNull ImageFormat imageFormat,
        String dominantColor) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.contentType = contentType;
    this.literacySkills = literacySkills;
    this.numeracySkills = numeracySkills;
    this.title = title;
    this.imageFormat = imageFormat;
    this.dominantColor = dominantColor;
}
 
Example #4
Source File: Allophone.java    From ml-authentication with Apache License 2.0 6 votes vote down vote up
@Generated(hash = 1936568992)
public Allophone(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String valueIpa, @NotNull String valueSampa, boolean diacritic,
        SoundType soundType, VowelLength vowelLength, VowelHeight vowelHeight,
        VowelFrontness vowelFrontness, LipRounding lipRounding, ConsonantType consonantType,
        ConsonantPlace consonantPlace, ConsonantVoicing consonantVoicing, int usageCount) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.valueIpa = valueIpa;
    this.valueSampa = valueSampa;
    this.diacritic = diacritic;
    this.soundType = soundType;
    this.vowelLength = vowelLength;
    this.vowelHeight = vowelHeight;
    this.vowelFrontness = vowelFrontness;
    this.lipRounding = lipRounding;
    this.consonantType = consonantType;
    this.consonantPlace = consonantPlace;
    this.consonantVoicing = consonantVoicing;
    this.usageCount = usageCount;
}
 
Example #5
Source File: Image.java    From ml-authentication with Apache License 2.0 6 votes vote down vote up
@Generated(hash = 1331350877)
public Image(Long id, @NotNull Locale locale, Calendar timeLastUpdate, @NotNull Integer revisionNumber,
        @NotNull ContentStatus contentStatus, @NotNull String contentType, Set<LiteracySkill> literacySkills,
        Set<NumeracySkill> numeracySkills, @NotNull String title, @NotNull ImageFormat imageFormat,
        String dominantColor) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.contentType = contentType;
    this.literacySkills = literacySkills;
    this.numeracySkills = numeracySkills;
    this.title = title;
    this.imageFormat = imageFormat;
    this.dominantColor = dominantColor;
}
 
Example #6
Source File: StudentImageCollectionEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 1110771717)
public void setDevice(@NotNull Device device) {
    if (device == null) {
        throw new DaoException(
                "To-one property 'deviceId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.device = device;
        deviceId = device.getId();
        device__resolvedKey = deviceId;
    }
}
 
Example #7
Source File: Letter.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1689266044)
public Letter(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String text, int usageCount) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.text = text;
    this.usageCount = usageCount;
}
 
Example #8
Source File: StudentImageCollectionEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 1384923540)
public void setStudent(@NotNull Student student) {
    if (student == null) {
        throw new DaoException(
                "To-one property 'studentId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.student = student;
        studentId = student.getId();
        student__resolvedKey = studentId;
    }
}
 
Example #9
Source File: AuthenticationEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1693135147)
public AuthenticationEvent(Long id, long deviceId, @NotNull Calendar time,
        long studentId, boolean isFallback) {
    this.id = id;
    this.deviceId = deviceId;
    this.time = time;
    this.studentId = studentId;
    this.isFallback = isFallback;
}
 
Example #10
Source File: AuthenticationEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 1110771717)
public void setDevice(@NotNull Device device) {
    if (device == null) {
        throw new DaoException(
                "To-one property 'deviceId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.device = device;
        deviceId = device.getId();
        device__resolvedKey = deviceId;
    }
}
 
Example #11
Source File: AuthenticationEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 1384923540)
public void setStudent(@NotNull Student student) {
    if (student == null) {
        throw new DaoException(
                "To-one property 'studentId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.student = student;
        studentId = student.getId();
        student__resolvedKey = studentId;
    }
}
 
Example #12
Source File: StudentImage.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 549461688)
public void setStudentImageFeature(
        @NotNull StudentImageFeature studentImageFeature) {
    if (studentImageFeature == null) {
        throw new DaoException(
                "To-one property 'studentImageFeatureId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.studentImageFeature = studentImageFeature;
        studentImageFeatureId = studentImageFeature.getId();
        studentImageFeature__resolvedKey = studentImageFeatureId;
    }
}
 
Example #13
Source File: PlanTaskTemplate.java    From friendly-plans with GNU General Public License v3.0 5 votes vote down vote up
/**
 * called by internal mechanisms, do not call yourself.
 */
@Generated(hash = 707519624)
public void setTaskTemplate(@NotNull TaskTemplate taskTemplate) {
    if (taskTemplate == null) {
        throw new DaoException(
                "To-one property 'taskTemplateId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.taskTemplate = taskTemplate;
        taskTemplateId = taskTemplate.getId();
        taskTemplate__resolvedKey = taskTemplateId;
    }
}
 
Example #14
Source File: StudentImageFeature.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 828845722)
public StudentImageFeature(Long id, @NotNull Calendar timeCreated,
        @NotNull String featureVector) {
    this.id = id;
    this.timeCreated = timeCreated;
    this.featureVector = featureVector;
}
 
Example #15
Source File: Syllable.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1434371881)
public Syllable(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String text, int usageCount) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.text = text;
    this.usageCount = usageCount;
}
 
Example #16
Source File: StudentImage.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 320295069)
public StudentImage(Long id, @NotNull Calendar timeCollected,
        @NotNull String imageFileUrl, long studentImageFeatureId,
        long studentImageCollectionEventId) {
    this.id = id;
    this.timeCollected = timeCollected;
    this.imageFileUrl = imageFileUrl;
    this.studentImageFeatureId = studentImageFeatureId;
    this.studentImageCollectionEventId = studentImageCollectionEventId;
}
 
Example #17
Source File: StoryBook.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 185999927)
public StoryBook(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String title, long coverImageId,
        @NotNull GradeLevel gradeLevel) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.title = title;
    this.coverImageId = coverImageId;
    this.gradeLevel = gradeLevel;
}
 
Example #18
Source File: StudentImageCollectionEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 862266622)
public StudentImageCollectionEvent(Long id, long deviceId, @NotNull Calendar time, long studentId,
        String meanFeatureVector) {
    this.id = id;
    this.deviceId = deviceId;
    this.time = time;
    this.studentId = studentId;
    this.meanFeatureVector = meanFeatureVector;
}
 
Example #19
Source File: Syllable.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1434371881)
public Syllable(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String text, int usageCount) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.text = text;
    this.usageCount = usageCount;
}
 
Example #20
Source File: Number.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 345753333)
public Number(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull Integer value, String symbol) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.value = value;
    this.symbol = symbol;
}
 
Example #21
Source File: Video.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1068961400)
public Video(Long id, @NotNull Locale locale, Calendar timeLastUpdate, @NotNull Integer revisionNumber,
        @NotNull ContentStatus contentStatus, @NotNull String contentType, Set<LiteracySkill> literacySkills,
        Set<NumeracySkill> numeracySkills, @NotNull String title, @NotNull VideoFormat videoFormat) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.contentType = contentType;
    this.literacySkills = literacySkills;
    this.numeracySkills = numeracySkills;
    this.title = title;
    this.videoFormat = videoFormat;
}
 
Example #22
Source File: StoryBook.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 508023874)
public void setCoverImage(@NotNull Image coverImage) {
    if (coverImage == null) {
        throw new DaoException(
                "To-one property 'coverImageId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.coverImage = coverImage;
        coverImageId = coverImage.getId();
        coverImage__resolvedKey = coverImageId;
    }
}
 
Example #23
Source File: Audio.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1550087614)
public Audio(Long id, @NotNull Locale locale, Calendar timeLastUpdate, @NotNull Integer revisionNumber,
        @NotNull ContentStatus contentStatus, @NotNull String contentType, Set<LiteracySkill> literacySkills,
        Set<NumeracySkill> numeracySkills, @NotNull String transcription, @NotNull AudioFormat audioFormat) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.contentType = contentType;
    this.literacySkills = literacySkills;
    this.numeracySkills = numeracySkills;
    this.transcription = transcription;
    this.audioFormat = audioFormat;
}
 
Example #24
Source File: Audio.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 1550087614)
public Audio(Long id, @NotNull Locale locale, Calendar timeLastUpdate, @NotNull Integer revisionNumber,
        @NotNull ContentStatus contentStatus, @NotNull String contentType, Set<LiteracySkill> literacySkills,
        Set<NumeracySkill> numeracySkills, @NotNull String transcription, @NotNull AudioFormat audioFormat) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.contentType = contentType;
    this.literacySkills = literacySkills;
    this.numeracySkills = numeracySkills;
    this.transcription = transcription;
    this.audioFormat = audioFormat;
}
 
Example #25
Source File: StoryBook.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 508023874)
public void setCoverImage(@NotNull Image coverImage) {
    if (coverImage == null) {
        throw new DaoException(
                "To-one property 'coverImageId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.coverImage = coverImage;
        coverImageId = coverImage.getId();
        coverImage__resolvedKey = coverImageId;
    }
}
 
Example #26
Source File: StoryBook.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 185999927)
public StoryBook(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String title, long coverImageId,
        @NotNull GradeLevel gradeLevel) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.title = title;
    this.coverImageId = coverImageId;
    this.gradeLevel = gradeLevel;
}
 
Example #27
Source File: Word.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 982140277)
public Word(Long id, @NotNull Locale locale, Calendar timeLastUpdate,
        @NotNull Integer revisionNumber, @NotNull ContentStatus contentStatus,
        @NotNull String text, @NotNull String phonetics, int usageCount,
        SpellingConsistency spellingConsistency) {
    this.id = id;
    this.locale = locale;
    this.timeLastUpdate = timeLastUpdate;
    this.revisionNumber = revisionNumber;
    this.contentStatus = contentStatus;
    this.text = text;
    this.phonetics = phonetics;
    this.usageCount = usageCount;
    this.spellingConsistency = spellingConsistency;
}
 
Example #28
Source File: AuthenticationEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 1384923540)
public void setStudent(@NotNull Student student) {
    if (student == null) {
        throw new DaoException(
                "To-one property 'studentId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.student = student;
        studentId = student.getId();
        student__resolvedKey = studentId;
    }
}
 
Example #29
Source File: AuthenticationEvent.java    From ml-authentication with Apache License 2.0 5 votes vote down vote up
/** called by internal mechanisms, do not call yourself. */
@Generated(hash = 1110771717)
public void setDevice(@NotNull Device device) {
    if (device == null) {
        throw new DaoException(
                "To-one property 'deviceId' has not-null constraint; cannot set to-one to null");
    }
    synchronized (this) {
        this.device = device;
        deviceId = device.getId();
        device__resolvedKey = deviceId;
    }
}
 
Example #30
Source File: NewsChannelTable.java    From ZZShow with Apache License 2.0 5 votes vote down vote up
@Generated(hash = 142064416)
public NewsChannelTable(Long _id, @NotNull String newsChannelName, @NotNull String newsChannelId, @NotNull String newsChannelType, boolean newsChannelSelect,
        int newsChannelIndex, boolean newsChannelFixed) {
    this._id = _id;
    this.newsChannelName = newsChannelName;
    this.newsChannelId = newsChannelId;
    this.newsChannelType = newsChannelType;
    this.newsChannelSelect = newsChannelSelect;
    this.newsChannelIndex = newsChannelIndex;
    this.newsChannelFixed = newsChannelFixed;
}