public class Ad extends Object
Constructor and Description |
---|
Ad()
Creates a new ad and sets its creation time.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public int getId()
public void setId(int id)
id
- Value to assign to id.public int getSpot()
public void setSpot(int spot)
spot
- Value to assign to spot.public String getMimeType()
public void setMimeType(String mimeType)
mimeType
- the mime typepublic byte[] getData()
public void setData(byte[] data)
data
- Value to assign to data.public String getURL()
public void setURL(String url)
url
- Value to assign to urlpublic String getText()
public void setText(String text)
text
- Value to assign to text.public int getExpires()
public void setExpires(int expires)
expires
- Value to assign to expires.public int getMaxDisplayCount()
public void setMaxDisplayCount(int maxDisplayCount)
maxDisplayCount
- Value to assign to maxDisplayCount.public int getMaxDisplayTime()
public void setMaxDisplayTime(int maxDisplayTime)
maxDisplayTime
- Value to assign to maxDisplayTime.public int getIdle()
public void setIdle(int idle)
idle
- Value to assign to idle.public int getWidth()
public void setWidth(int width)
width
- Value to assign to width.public int getHeight()
public void setHeight(int height)
height
- Value to assign to height.public int getDelay()
public void setDelay(int delay)
delay
- Value to assign to delay.public boolean getAnimated()
public void setAnimated(boolean animated)
animated
- Value to assign to animated.public long getCreationTime()
public void setCreationTime(long creationTime)
creationTime
- Value to assign to creationTime.public int getTimesDisplayed()
public void setTimesDisplayed(int timesDisplayed)
timesDisplayed
- Value to assign to timesDisplayed.