ru.metrika4j.entity
Class Goal

java.lang.Object
  extended by 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:
Цель

Nested Class Summary
static class Goal.Condition
           
static class Goal.ConditionType
           
static class Goal.GoalType
           
 
Constructor Summary
Goal()
           
 
Method Summary
static Goal createDepthGoal(java.lang.String name, int depth)
           
static Goal createUrlGoal(java.lang.String name, Goal.Condition[] conditions)
           
static Goal createUrlGoal(java.lang.String name, Goal.ConditionType type, java.lang.String url)
           
 boolean equals(java.lang.Object o)
           
 Goal.Condition[] getConditions()
           
 int getDepth()
           
 java.lang.Integer getId()
           
 java.lang.String getName()
           
 Goal.GoalType getType()
           
 int hashCode()
           
 void setConditions(Goal.Condition[] conditions)
           
 void setDepth(int depth)
           
 void setId(int id)
           
 void setName(java.lang.String name)
           
 void setType(Goal.GoalType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Goal

public Goal()
Method Detail

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.