de.nava.informa.impl.hibernate
Class ItemMetadata
java.lang.Object
de.nava.informa.impl.hibernate.ItemMetadata
- All Implemented Interfaces:
- ItemMetadataIF, Serializable
public class ItemMetadata
- extends Object
- implements ItemMetadataIF
Hibernate 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()
ItemMetadata
public ItemMetadata(ItemIF item)
- Default constructor which sets this metadata to unread and to
the default score (see
ItemMetadataIF.DEFAULT_SCORE
).
getId
public long getId()
setId
public void setId(long id)
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.