de.nava.informa.impl.hibernate
Class ItemEnclosure
java.lang.Object
de.nava.informa.impl.hibernate.ItemEnclosure
- All Implemented Interfaces:
- ItemEnclosureIF, WithLocationMIF, Serializable
public class ItemEnclosure
- extends Object
- implements ItemEnclosureIF
Hibernate implementation of the ItemSourceIF interface.
- Author:
- Michael Harhen
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemEnclosure
public ItemEnclosure()
ItemEnclosure
public ItemEnclosure(ItemIF item)
ItemEnclosure
public ItemEnclosure(ItemIF item,
URL location,
String type,
int length)
getId
public long getId()
setId
public void setId(long id)
getItem
public ItemIF getItem()
setItem
public void setItem(ItemIF item)
getLocationString
public String getLocationString()
setLocationString
public void setLocationString(String loc)
getLocation
public URL getLocation()
- Specified by:
getLocation
in interface WithLocationMIF
- Returns:
- the location
setLocation
public void setLocation(URL location)
- Specified by:
setLocation
in interface WithLocationMIF
- Parameters:
location
- the location to set
getType
public String getType()
- Specified by:
getType
in interface ItemEnclosureIF
- Returns:
- The time was published by the original source
setType
public void setType(String type)
- Specified by:
setType
in interface ItemEnclosureIF
getLength
public int getLength()
- Specified by:
getLength
in interface ItemEnclosureIF
- Returns:
- The length of the enclosure
setLength
public void setLength(int length)
- Specified by:
setLength
in interface ItemEnclosureIF
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.