@@ -0,0 +1,1546 @@
+package com.bkromhout.minerva.realm;%0A%0Aimport io.realm.RealmObject;%0A%0A/**%0A * Represents an import log in Realm.%0A */%0Apublic class RImportLog extends RealmObject %7B%0A    /**%0A     * Time when the import ended in milliseconds.%0A     */%0A    public long endTime;%0A    /**%0A     * Full import log.%0A     */%0A    public String fullLog;%0A    /**%0A     * Errors-only import log.%0A     */%0A    public String errorLog;%0A    /**%0A     * Whether or not the import was a success.%0A     */%0A    public boolean wasSuccess;%0A%0A    /**%0A     * Create a default %7B@link RImportLog%7D.%0A     */%0A    public RImportLog() %7B%0A        endTime = -1;%0A        fullLog = null;%0A        errorLog = null;%0A        wasSuccess = false;%0A    %7D%0A%0A    /**%0A     * Create a new %7B@link RImportLog%7D.%0A     * @param endTime    Time when the import ended, in milliseconds.%0A     * @param fullLog    Full import log.%0A     * @param errorLog   Errors-only import log.%0A     * @param wasSuccess Whether or not the import was a success.%0A     */%0A    public RImportLog(long endTime, String fullLog, String errorLog, boolean wasSuccess) %7B%0A        this.endTime = endTime;%0A        this.fullLog = fullLog;%0A        this.errorLog = errorLog;%0A        this.wasSuccess = wasSuccess;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        RImportLog that = (RImportLog) o;%0A%0A        return endTime == that.endTime;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return (int) (endTime %5E (endTime %3E%3E%3E 32));%0A    %7D%0A%7D%0A

Create RImportLog object to help us save import logs to Realm