+ @Override
+ public boolean equals(Object o) {
+ OCFile that = (OCFile) o;
+ return this.mId == that.mId;
+ }
+
+ @Override
+ public String toString() {
+ String asString = "[id=%s, name=%s, mime=%s, downloaded=%s, local=%s, remote=%s]";
+ asString = String.format(asString, new Long(mId), getFileName(), mMimeType, isDownloaded(), mLocalPath, mRemotePath);
+ return asString;
+ }
+
+
+