X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fdata%2FMetaData.java;h=189277d9480fb8ef4abf3f5b6b8646a5d74d303e;hp=06cf625d3a66e59056d124e0172ab14c7f482e0a;hb=a9eb3f46dd83115e7a549e96e800b932162b68ad;hpb=71d72f342e245b8d3d1e65f1fcd6f0a285da2eb7 diff --git a/src/be/nikiroo/fanfix/data/MetaData.java b/src/be/nikiroo/fanfix/data/MetaData.java index 06cf625..189277d 100644 --- a/src/be/nikiroo/fanfix/data/MetaData.java +++ b/src/be/nikiroo/fanfix/data/MetaData.java @@ -27,6 +27,7 @@ public class MetaData implements Cloneable, Comparable { private boolean imageDocument; private long words; private String creationDate; + private boolean fakeCover; /** * The title of the story. @@ -355,6 +356,27 @@ public class MetaData implements Cloneable, Comparable { 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; + } + public int compareTo(MetaData o) { String oUuid = o == null ? null : o.getUuid(); return getUuid().compareTo(oUuid);