AdInfo Class
- public class AdInfo
extends Object
implements Serializable
This is a data structure for the information stored for about ad in an ad
bucket.
-
Hierarchy
-
Object
AdInfo
-
All Implemented Interfaces
-
Serializable
-
AdInfo()
- Construct an initialized AdInfo.
|
-
AdInfo(long bucketId,
String userId, String placeholder, String containerUID, String containerType, String contextUID, int weight, String query, int count, Timestamp expiration)
- Construct an AdInfo providing the properties.
|
-
AdInfo(long bucketId,
String userId, String placeholder, String containerUID, String containerType, String contextUID, int weight, String query, int count)
- Construct an AdInfo providing the properties.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdInfo
public AdInfo()
- Construct an initialized AdInfo.
AdInfo
public AdInfo(long bucketId,
String
userId,
String
placeholder,
String
containerUID,
String
containerType,
String
contextUID,
int weight,
String
query,
int count,
Timestamp
expiration)
- Construct an AdInfo providing the properties.
AdInfo
public AdInfo(long bucketId,
String
userId,
String
placeholder,
String
containerUID,
String
containerType,
String
contextUID,
int weight,
String
query,
int count)
- Construct an AdInfo providing the properties.
getAdExpiration() Method
public Timestamp
getAdExpiration()
Get the ad expiration
getBucketId() Method
public long getBucketId()
Get the ad bucket id
getContainerType() Method
public String
getContainerType()
Get the container type
getContainerUID() Method
public String
getContainerUID()
Get the container name
getContextUID() Method
public String
getContextUID()
Get the contextUID name
getCount() Method
public int getCount()
Get the view count
getPlaceholder() Method
public String
getPlaceholder()
Get the placeholder name
getQuery() Method
public String
getQuery()
Get the query string
getUserId() Method
public String
getUserId()
Get the userId
getWeight() Method
public int getWeight()
Get the ad weight
setAdExpiration(Timestamp) Method
public void setAdExpiration(Timestamp
expiration)
Set the ad expiration
setBucketId(long) Method
public void setBucketId(long bucketId)
Set the ad bucket id
setContainerType(String) Method
public void setContainerType(String
containerType)
Set the container type
setContainerUID(String) Method
public void setContainerUID(String
containerUID)
Set the container name
setContextUID(String) Method
public void setContextUID(String
contextUID)
Set the contextUID name
setCount(int) Method
public void setCount(int count)
Set the view count
setPlaceholder(String) Method
public void setPlaceholder(String
placeholder)
Set the placeholder name
setQuery(String) Method
public void setQuery(String
query)
Set the query string
setUserId(String) Method
public void setUserId(String
userId)
Set the userId
setWeight(int) Method
public void setWeight(int weight)
Set the ad weight