X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fdata%2FMetaData.java;h=c969ec9366f5c7d7e45a1ae5e3701b6b4a521020;hb=211f7ddb50f68aa8a999023ef6d63d5756bdace6;hp=06cf625d3a66e59056d124e0172ab14c7f482e0a;hpb=793f1071fae48daed3b545a03a286c85e527d244;p=nikiroo-utils.git diff --git a/src/be/nikiroo/fanfix/data/MetaData.java b/src/be/nikiroo/fanfix/data/MetaData.java index 06cf625..c969ec9 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. @@ -234,7 +235,7 @@ public class MetaData implements Cloneable, Comparable { /** * 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 { 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);