de.nava.informa.impl.basic
Class Image
java.lang.Object
de.nava.informa.impl.basic.Image
- All Implemented Interfaces:
- ImageIF, WithDescriptionMIF, WithIdMIF, WithLinkMIF, WithLocationMIF, WithTitleMIF, Serializable
public class Image
- extends Object
- implements ImageIF
In-Memory implementation of the ImageIF interface.
- Author:
- Niko Schmuck (niko@nava.de)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Image
public Image()
Image
public Image(String title,
URL location,
URL link)
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.
getTitle
public String getTitle()
- Specified by:
getTitle in interface WithTitleMIF
- Returns:
- the title of the object
setTitle
public void setTitle(String title)
- Specified by:
setTitle in interface WithTitleMIF
- Parameters:
title - the title of the object to be set
getDescription
public String getDescription()
- Specified by:
getDescription in interface WithDescriptionMIF
- Returns:
- description of the object
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface WithDescriptionMIF
- Parameters:
description - the description of the object to be set
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.
getLink
public URL getLink()
- Specified by:
getLink in interface WithLinkMIF
- Returns:
- The URL where the request action should be sent to
setLink
public void setLink(URL link)
- Specified by:
setLink in interface WithLinkMIF
- Parameters:
link - the URL where the request action should be sent to
getWidth
public int getWidth()
- Specified by:
getWidth in interface ImageIF
setWidth
public void setWidth(int width)
- Specified by:
setWidth in interface ImageIF
getHeight
public int getHeight()
- Specified by:
getHeight in interface ImageIF
setHeight
public void setHeight(int height)
- Specified by:
setHeight in interface ImageIF
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.