ru.metrika4j.entity
Class Goal
java.lang.Object
ru.metrika4j.entity.Goal
- All Implemented Interfaces:
- Entity<java.lang.Integer>
public class Goal
- extends java.lang.Object
- implements Entity<java.lang.Integer>
- See Also:
- Цель
Constructor Summary |
Goal()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Goal
public Goal()
createDepthGoal
public static Goal createDepthGoal(java.lang.String name,
int depth)
createUrlGoal
public static Goal createUrlGoal(java.lang.String name,
Goal.Condition[] conditions)
createUrlGoal
public static Goal createUrlGoal(java.lang.String name,
Goal.ConditionType type,
java.lang.String url)
setId
public void setId(int id)
setName
public void setName(java.lang.String name)
getDepth
public int getDepth()
setDepth
public void setDepth(int depth)
getType
public Goal.GoalType getType()
setType
public void setType(Goal.GoalType type)
getConditions
public Goal.Condition[] getConditions()
setConditions
public void setConditions(Goal.Condition[] conditions)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getId
public java.lang.Integer getId()
- Specified by:
getId
in interface Entity<java.lang.Integer>
getName
public java.lang.String getName()
Copyright © 2011. All Rights Reserved.