1 26 27 29 package de.nava.informa.impl.basic; 30 31 import de.nava.informa.core.ItemIF; 32 import de.nava.informa.core.ItemMetadataIF; 33 34 39 public class ItemMetadata implements ItemMetadataIF, 40 java.io.Serializable { 41 42 private ItemIF item; 43 private boolean markedRead; 44 private int score; 45 46 52 public ItemMetadata(ItemIF item) { 53 this.item = item; 54 this.markedRead = false; 55 this.score = DEFAULT_SCORE; 56 } 57 58 62 public ItemIF getItem() { 63 return item; 64 } 65 66 public void setItem(ItemIF item) { 67 this.item = item; 68 } 69 70 public boolean isMarkedRead() { 71 return markedRead; 72 } 73 74 public void setMarkedRead(boolean markedRead) { 75 this.markedRead = markedRead; 76 } 77 78 public int getScore() { 79 return score; 80 } 81 82 public void setScore(int score) { 83 this.score = score; 84 } 85 86 } 87 | Popular Tags |