de.nava.informa.impl.basic
Class ItemEnclosure
java.lang.Object
de.nava.informa.impl.basic.ItemEnclosure
- All Implemented Interfaces:
- ItemEnclosureIF, WithLocationMIF, Serializable
public class ItemEnclosure
- extends Object
- implements ItemEnclosureIF
In-Memory 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(ItemIF item)
- Default constructor.
- Parameters:
item
- the item.
ItemEnclosure
public ItemEnclosure(ItemIF item,
URL location,
String type,
int length)
getItem
public ItemIF getItem()
setItem
public void setItem(ItemIF item)
getLocation
public URL getLocation()
- Specified by:
getLocation
in interface WithLocationMIF
- Returns:
- The URL where this channel can be retrieved from.
setLocation
public void setLocation(URL location)
- Specified by:
setLocation
in interface WithLocationMIF
- Parameters:
location
- The URL where this channel can be retrieved from.
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.