de.nava.informa.impl.basic
Class ItemMetadata
java.lang.Object
de.nava.informa.impl.basic.ItemMetadata
- All Implemented Interfaces:
- ItemMetadataIF, Serializable
public class ItemMetadata
- extends Object
- implements ItemMetadataIF
In-Memory implementation of the ItemMetadataIF interface.
- Author:
- Niko Schmuck (niko@nava.de)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemMetadata
public ItemMetadata(ItemIF item)
- Default constructor which sets this metadata to unread and to
the default score (see
ItemMetadataIF.DEFAULT_SCORE
).
- Parameters:
item
- the item.
getItem
public ItemIF getItem()
- Specified by:
getItem
in interface ItemMetadataIF
setItem
public void setItem(ItemIF item)
- Specified by:
setItem
in interface ItemMetadataIF
isMarkedRead
public boolean isMarkedRead()
- Specified by:
isMarkedRead
in interface ItemMetadataIF
setMarkedRead
public void setMarkedRead(boolean markedRead)
- Specified by:
setMarkedRead
in interface ItemMetadataIF
getScore
public int getScore()
- Specified by:
getScore
in interface ItemMetadataIF
setScore
public void setScore(int score)
- Specified by:
setScore
in interface ItemMetadataIF
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.