de.nava.informa.impl.hibernate
Class ItemMetadata

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface de.nava.informa.core.ItemMetadataIF
DEFAULT_SCORE
 
Constructor Summary
ItemMetadata()
           
ItemMetadata(ItemIF item)
          Default constructor which sets this metadata to unread and to the default score (see ItemMetadataIF.DEFAULT_SCORE).
 
Method Summary
 long getId()
           
 ItemIF getItem()
           
 int getScore()
           
 boolean isMarkedRead()
           
 void setId(long id)
           
 void setItem(ItemIF item)
           
 void setMarkedRead(boolean markedRead)
           
 void setScore(int score)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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).

Method Detail

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.