de.nava.informa.impl.basic
Class ItemGuid
java.lang.Object
de.nava.informa.impl.basic.ItemGuid
- All Implemented Interfaces:
- ItemGuidIF, WithIdMIF, Serializable
public class ItemGuid
- extends Object
- implements ItemGuidIF
In-Memory implementation of the ItemGuidIF 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 |
ItemGuid
public ItemGuid(ItemIF item)
- Default constructor.
- Parameters:
item
- the item
ItemGuid
public ItemGuid(ItemIF item,
String location,
boolean permaLink)
getItem
public ItemIF getItem()
setItem
public void setItem(ItemIF item)
getLocation
public String getLocation()
- Specified by:
getLocation
in interface ItemGuidIF
setLocation
public void setLocation(String location)
- Specified by:
setLocation
in interface ItemGuidIF
isPermaLink
public boolean isPermaLink()
- Specified by:
isPermaLink
in interface ItemGuidIF
- Returns:
- indicates whether the guid is a permalink.
setPermaLink
public void setPermaLink(boolean permaLink)
- Specified by:
setPermaLink
in interface ItemGuidIF
getId
public long getId()
- Specified by:
getId
in interface WithIdMIF
- Returns:
- identifier of the object.
setId
public void setId(long id)
- Specified by:
setId
in interface WithIdMIF
- Parameters:
id
- the identifier of the object to be set.
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.