de.nava.informa.impl.hibernate
Class ItemSource
java.lang.Object
de.nava.informa.impl.hibernate.ItemSource
- All Implemented Interfaces:
- ItemSourceIF, WithNameMIF, Serializable
public class ItemSource
- extends Object
- implements ItemSourceIF
Hibernate implementation of the ItemSourceIF interface.
- Author:
- Michael Harhen
- See Also:
- Serialized Form
ItemSource
public ItemSource()
ItemSource
public ItemSource(ItemIF item)
- Default constructor.
ItemSource
public ItemSource(ItemIF item,
String name,
String location,
Date timestamp)
getId
public long getId()
setId
public void setId(long id)
getItem
public ItemIF getItem()
setItem
public void setItem(ItemIF item)
getName
public String getName()
- Specified by:
getName
in interface WithNameMIF
- Returns:
- the name of the object
setName
public void setName(String name)
- Specified by:
setName
in interface WithNameMIF
- Parameters:
name
- the name of the object to be set
getLocation
public String getLocation()
- Specified by:
getLocation
in interface ItemSourceIF
setLocation
public void setLocation(String location)
- Specified by:
setLocation
in interface ItemSourceIF
getTimestamp
public Date getTimestamp()
- Specified by:
getTimestamp
in interface ItemSourceIF
- Returns:
- The time was published by the original source
setTimestamp
public void setTimestamp(Date timestamp)
- Specified by:
setTimestamp
in interface ItemSourceIF
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.