Add more warnings source to 1.6) and fix warnings
[nikiroo-utils.git] / src / be / nikiroo / fanfix / data / MetaData.java
index 06cf625d3a66e59056d124e0172ab14c7f482e0a..c969ec9366f5c7d7e45a1ae5e3701b6b4a521020 100644 (file)
@@ -27,6 +27,7 @@ public class MetaData implements Cloneable, Comparable<MetaData> {
        private boolean imageDocument;
        private long words;
        private String creationDate;
+       private boolean fakeCover;
 
        /**
         * The title of the story.
@@ -234,7 +235,7 @@ public class MetaData implements Cloneable, Comparable<MetaData> {
        /**
         * A unique value representing the story in the local library.
         * 
-        * @param uuid
+        * @param luid
         *            the luid to set
         */
        public void setLuid(String luid) {
@@ -355,6 +356,28 @@ public class MetaData implements Cloneable, Comparable<MetaData> {
                this.creationDate = creationDate;
        }
 
+       /**
+        * The cover in this {@link MetaData} object is "fake", in the sens that it
+        * comes from the actual content images.
+        * 
+        * @return TRUE for a fake cover
+        */
+       public boolean isFakeCover() {
+               return fakeCover;
+       }
+
+       /**
+        * The cover in this {@link MetaData} object is "fake", in the sens that it
+        * comes from the actual content images
+        * 
+        * @param fakeCover
+        *            TRUE for a fake cover
+        */
+       public void setFakeCover(boolean fakeCover) {
+               this.fakeCover = fakeCover;
+       }
+
+       @Override
        public int compareTo(MetaData o) {
                String oUuid = o == null ? null : o.getUuid();
                return getUuid().compareTo(oUuid);