|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.campaign.model.AdCountGoal
public class AdCountGoal
A goal based upon ad counts.
Nested Class Summary | |
---|---|
static class |
AdCountGoal.CountType
The type of goal event. |
static class |
AdCountGoal.Type
The type of goal counts. |
Field Summary | |
---|---|
protected List<String> |
adPaths
The list of ad ids. |
protected AdCountGoal.CountType |
countType
The impression or click-thru count type. |
protected Long |
goalCount
The goal's count. |
protected boolean |
orLogic
The boolean logic. |
protected AdCountGoal.Type |
type
The local or global count type. |
Constructor Summary | |
---|---|
AdCountGoal()
Default constructor. |
|
AdCountGoal(boolean orLogic,
AdCountGoal.Type type,
AdCountGoal.CountType countType,
Long goalCount)
Constructor with values. |
Method Summary | |
---|---|
void |
addAdPath(String path)
Add an ad path. |
Object |
clone()
Return a clone of this goal. |
boolean |
equals(Object o)
|
List<String> |
getAdPaths()
Get the ad paths. |
AdCountGoal.CountType |
getCountType()
Get the count type. |
Long |
getGoalCount()
Get the goal's count. |
long |
getGoalCountValue()
Get the goal's count. |
boolean |
getOrLogic()
Return true if this goal uses boolean OR logic, false for AND. |
AdCountGoal.Type |
getType()
Get the campaign count type. |
int |
hashCode()
|
void |
setCountType(AdCountGoal.CountType t)
Set the campaign count type. |
void |
setCountType(String t)
Set the campaign count type. |
void |
setGoalCount(long count)
Set the goal's count. |
void |
setGoalCount(Long count)
Set the goal's count. |
void |
setOrLogic(boolean orLogic)
|
void |
setOrLogic(String l)
Set the boolean logic. |
void |
setType(AdCountGoal.Type t)
Set the campaign count type. |
void |
setType(String t)
Set the campaign count type. |
String |
toString()
Get a string representation of this. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean orLogic
protected AdCountGoal.Type type
protected AdCountGoal.CountType countType
protected Long goalCount
protected List<String> adPaths
Constructor Detail |
---|
public AdCountGoal()
public AdCountGoal(boolean orLogic, AdCountGoal.Type type, AdCountGoal.CountType countType, Long goalCount)
Method Detail |
---|
public boolean getOrLogic()
public void setOrLogic(boolean orLogic)
public void setOrLogic(String l) throws IllegalArgumentException
l
- "and" or "or".
IllegalArgumentException
public AdCountGoal.Type getType()
public void setType(AdCountGoal.Type t)
t
- LOCAL or GLOBAL.public void setType(String t) throws IllegalArgumentException
t
- LOCAL or GLOBAL.
IllegalArgumentException
public AdCountGoal.CountType getCountType()
public void setCountType(AdCountGoal.CountType t)
t
- IMPRESSION or CLICK_THRU.public void setCountType(String t) throws IllegalArgumentException
t
- "impression" or "click-thru".
IllegalArgumentException
public Long getGoalCount()
public long getGoalCountValue()
public void setGoalCount(long count)
public void setGoalCount(Long count)
public List<String> getAdPaths()
public void addAdPath(String path)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object clone()
clone
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |