org.walluck.oscar
Class Ad

java.lang.Object
  extended by org.walluck.oscar.Ad

public class Ad
extends Object

The advertisement.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
Ad()
          Creates a new ad and sets its creation time.
 
Method Summary
 boolean getAnimated()
          Get the value of animated.
 long getCreationTime()
          Get the value of creationTime.
 byte[] getData()
          Get the value of data.
 int getDelay()
          Get the value of delay.
 int getExpires()
          Get the value of expires.
 int getHeight()
          Get the value of height.
 int getId()
          Get the value of id.
 int getIdle()
          Get the value of idle.
 int getMaxDisplayCount()
          Get the value of maxDisplayCount.
 int getMaxDisplayTime()
          Get the value of maxDisplayTime.
 String getMimeType()
          Get the value of mimeType.
 int getSpot()
          Get the value of spot.
 String getText()
          Get the value of text.
 int getTimesDisplayed()
          Get the value of timesDisplayed.
 String getURL()
          Get the value of url.
 int getWidth()
          Get the value of width.
 void setAnimated(boolean animated)
          Set the value of animated.
 void setCreationTime(long creationTime)
          Set the value of creationTime.
 void setData(byte[] data)
          Set the value of data.
 void setDelay(int delay)
          Set the value of delay.
 void setExpires(int expires)
          Set the value of expires.
 void setHeight(int height)
          Set the value of height.
 void setId(int id)
          Set the value of id.
 void setIdle(int idle)
          Set the value of idle.
 void setMaxDisplayCount(int maxDisplayCount)
          Set the value of maxDisplayCount.
 void setMaxDisplayTime(int maxDisplayTime)
          Set the value of maxDisplayTime.
 void setMimeType(String mimeType)
          Set the value of mimeType.
 void setSpot(int spot)
          Set the value of spot.
 void setText(String text)
          Set the value of text.
 void setTimesDisplayed(int timesDisplayed)
          Set the value of timesDisplayed.
 void setURL(String url)
          Set the value of url.
 void setWidth(int width)
          Set the value of width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ad

public Ad()
Creates a new ad and sets its creation time.

Method Detail

getId

public int getId()
Get the value of id.

Returns:
value of id.

setId

public void setId(int id)
Set the value of id.

Parameters:
id - Value to assign to id.

getSpot

public int getSpot()
Get the value of spot.

Returns:
value of spot.

setSpot

public void setSpot(int spot)
Set the value of spot.

Parameters:
spot - Value to assign to spot.

getMimeType

public String getMimeType()
Get the value of mimeType.

Returns:
value of mimeType.

setMimeType

public void setMimeType(String mimeType)
Set the value of mimeType.

Parameters:
mimeType - the mime type

getData

public byte[] getData()
Get the value of data.

Returns:
value of data.

setData

public void setData(byte[] data)
Set the value of data.

Parameters:
data - Value to assign to data.

getURL

public String getURL()
Get the value of url.

Returns:
value of url.

setURL

public void setURL(String url)
Set the value of url.

Parameters:
url - Value to assign to url

getText

public String getText()
Get the value of text.

Returns:
value of text.

setText

public void setText(String text)
Set the value of text.

Parameters:
text - Value to assign to text.

getExpires

public int getExpires()
Get the value of expires.

Returns:
value of expires.

setExpires

public void setExpires(int expires)
Set the value of expires.

Parameters:
expires - Value to assign to expires.

getMaxDisplayCount

public int getMaxDisplayCount()
Get the value of maxDisplayCount.

Returns:
value of maxDisplayCount.

setMaxDisplayCount

public void setMaxDisplayCount(int maxDisplayCount)
Set the value of maxDisplayCount.

Parameters:
maxDisplayCount - Value to assign to maxDisplayCount.

getMaxDisplayTime

public int getMaxDisplayTime()
Get the value of maxDisplayTime.

Returns:
value of maxDisplayTime.

setMaxDisplayTime

public void setMaxDisplayTime(int maxDisplayTime)
Set the value of maxDisplayTime.

Parameters:
maxDisplayTime - Value to assign to maxDisplayTime.

getIdle

public int getIdle()
Get the value of idle.

Returns:
value of idle.

setIdle

public void setIdle(int idle)
Set the value of idle.

Parameters:
idle - Value to assign to idle.

getWidth

public int getWidth()
Get the value of width.

Returns:
value of width.

setWidth

public void setWidth(int width)
Set the value of width.

Parameters:
width - Value to assign to width.

getHeight

public int getHeight()
Get the value of height.

Returns:
value of height.

setHeight

public void setHeight(int height)
Set the value of height.

Parameters:
height - Value to assign to height.

getDelay

public int getDelay()
Get the value of delay.

Returns:
value of delay.

setDelay

public void setDelay(int delay)
Set the value of delay.

Parameters:
delay - Value to assign to delay.

getAnimated

public boolean getAnimated()
Get the value of animated.

Returns:
value of animated.

setAnimated

public void setAnimated(boolean animated)
Set the value of animated.

Parameters:
animated - Value to assign to animated.

getCreationTime

public long getCreationTime()
Get the value of creationTime.

Returns:
value of creationTime.

setCreationTime

public void setCreationTime(long creationTime)
Set the value of creationTime.

Parameters:
creationTime - Value to assign to creationTime.

getTimesDisplayed

public int getTimesDisplayed()
Get the value of timesDisplayed.

Returns:
value of timesDisplayed.

setTimesDisplayed

public void setTimesDisplayed(int timesDisplayed)
Set the value of timesDisplayed.

Parameters:
timesDisplayed - Value to assign to timesDisplayed.