|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| 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.CountTypeThe type of goal event. |
static class |
AdCountGoal.TypeThe type of goal counts. |
| Field Summary | |
|---|---|
protected List<String> |
adPathsThe list of ad ids. |
protected AdCountGoal.CountType |
countTypeThe impression or click-thru count type. |
protected Long |
goalCountThe goal's count. |
protected boolean |
orLogicThe boolean logic. |
protected AdCountGoal.Type |
typeThe 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".IllegalArgumentExceptionpublic AdCountGoal.Type getType()
public void setType(AdCountGoal.Type t)
t - LOCAL or GLOBAL.
public void setType(String t)
throws IllegalArgumentException
t - LOCAL or GLOBAL.IllegalArgumentExceptionpublic 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".IllegalArgumentExceptionpublic 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 Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.