|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umich.eecs.tac.props.AbstractKeyedEntry<java.lang.String> edu.umich.eecs.tac.props.AbstractStringEntry edu.umich.eecs.tac.props.AbstractAdvertiserEntry edu.umich.eecs.tac.props.QueryReport.DisplayReportEntry
public static class QueryReport.DisplayReportEntry
Display report entry contains the positions and displayed ads of the advertiser during the period.
Constructor Summary | |
---|---|
QueryReport.DisplayReportEntry()
Creates a new display report entry with a position set to NaN and a null ad. |
Method Summary | |
---|---|
Ad |
getAd()
Returns the shown ad. |
double |
getPosition()
Returns the average position. |
protected void |
readEntry(se.sics.isl.transport.TransportReader reader)
Reads the display report entry information. |
void |
setAd(Ad ad)
Sets the shown ad. |
void |
setAdAndPosition(Ad ad,
double position)
Sets the shown ad and the average position. |
void |
setPosition(double position)
Sets the average position. |
protected void |
writeEntry(se.sics.isl.transport.TransportWriter writer)
Writes the display report entry information to the writer. |
Methods inherited from class edu.umich.eecs.tac.props.AbstractAdvertiserEntry |
---|
getAdvertiser, setAdvertiser |
Methods inherited from class edu.umich.eecs.tac.props.AbstractStringEntry |
---|
readKey, writeKey |
Methods inherited from class edu.umich.eecs.tac.props.AbstractKeyedEntry |
---|
getKey, getTransportName, read, setKey, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.umich.eecs.tac.props.KeyedEntry |
---|
getKey |
Methods inherited from interface se.sics.isl.transport.Transportable |
---|
getTransportName, read, write |
Constructor Detail |
---|
public QueryReport.DisplayReportEntry()
NaN
and a null
ad.
Method Detail |
---|
public final Ad getAd()
public final void setAd(Ad ad)
ad
- the shown ad.public final double getPosition()
public final void setPosition(double position)
position
- the average position.public final void setAdAndPosition(Ad ad, double position)
ad
- the shown adposition
- the average position.protected final void readEntry(se.sics.isl.transport.TransportReader reader) throws java.text.ParseException
readEntry
in class AbstractKeyedEntry<java.lang.String>
reader
- the reader to read the state in from.
java.text.ParseException
- if an exception occured the display report entry information.protected final void writeEntry(se.sics.isl.transport.TransportWriter writer)
writeEntry
in class AbstractKeyedEntry<java.lang.String>
writer
- the writer to write the entry state to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |