org.apache.taglibs.rdc.sampleapps.musicstore.ws
Class Image

java.lang.Object
  extended by org.apache.taglibs.rdc.sampleapps.musicstore.ws.Image
All Implemented Interfaces:
java.io.Serializable

public class Image
extends java.lang.Object
implements java.io.Serializable

Image Object to store properties of an product image

Author:
Thomas Ling
See Also:
Serialized Form

Field Summary
protected  int height
           
protected  java.lang.String url
           
protected  int width
           
 
Constructor Summary
Image(java.lang.String url, int height, int width)
          Constructor
 
Method Summary
 int getHeight()
           
 java.lang.String getUrl()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected java.lang.String url

height

protected int height

width

protected int width
Constructor Detail

Image

public Image(java.lang.String url,
             int height,
             int width)
Constructor

Parameters:
url -
height -
width -
Method Detail

getHeight

public int getHeight()
Returns:
Returns the height.

getUrl

public java.lang.String getUrl()
Returns:
Returns the url.

getWidth

public int getWidth()
Returns:
Returns the width.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.