|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.Stat
Stats are used for keeping track of when ads are viewed or clicked on. Currently, there are two known stat types: type 0x0001 indicates that an ad has been viewed type 0x0002 indicates that an ad has been clicked on
Constructor Summary | |
Stat(int type,
int id)
Create a new stat. |
Method Summary | |
int |
getCount()
Get the value of count. |
int |
getId()
Get the value of id. |
int |
getType()
Get the value of type. |
void |
setCount(int count)
Set the value of count. |
void |
setId(int id)
Set the value of id. |
void |
setType(int type)
Set the value of type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Stat(int type, int id)
type
- the type of statid
- the id of this statMethod Detail |
public int getType()
public void setType(int type)
type
- Value to assign to type.public int getId()
public void setId(int id)
id
- Value to assign to id.public int getCount()
public void setCount(int count)
count
- Value to assign to count.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |