Package org.javlo.tracking
Class Track
- java.lang.Object
-
- org.javlo.tracking.Track
-
- All Implemented Interfaces:
Comparable<Track>
public class Track extends Object implements Comparable<Track>
- Author:
- pvandermaesen a element of tracking
-
-
Field Summary
Fields Modifier and Type Field Description static String
UNDEFINED_ACTION
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Track track)
String
getAction()
String
getInputTrackingKey()
String
getIP()
String
getPath()
String
getRange()
String
getRefered()
String
getReferedHost()
String
getSessionId()
String
getSortableTime()
long
getTime()
String
getUserAgent()
String
getUserName()
boolean
isView()
void
setAction(String action)
void
setInputTrackingKey(String inputTrackingKey)
void
setIP(String ip)
void
setPath(String path)
void
setRange(String range)
void
setRefered(String refered)
void
setSessionId(String sessionId)
void
setTime(long time)
void
setUserAgent(String userAgent)
void
setUserName(String userName)
void
setView(boolean view)
String
toString()
-
-
-
Field Detail
-
UNDEFINED_ACTION
public static final String UNDEFINED_ACTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIP
public String getIP()
- Returns:
- Returns the iP.
-
setIP
public void setIP(String ip)
- Parameters:
ip
- The iP to set.
-
getSessionId
public String getSessionId()
- Returns:
- Returns the sessionId.
-
setSessionId
public void setSessionId(String sessionId)
- Parameters:
sessionId
- The sessionId to set.
-
getInputTrackingKey
public String getInputTrackingKey()
-
setInputTrackingKey
public void setInputTrackingKey(String inputTrackingKey)
-
getAction
public String getAction()
- Returns:
- Returns the action.
-
getPath
public String getPath()
- Returns:
- Returns the path.
-
getTime
public long getTime()
- Returns:
- Returns the time.
-
getUserName
public String getUserName()
- Returns:
- Returns the userName.
-
compareTo
public int compareTo(Track track)
- Specified by:
compareTo
in interfaceComparable<Track>
- See Also:
Comparable.compareTo(java.lang.Object)
-
setAction
public void setAction(String action)
-
setPath
public void setPath(String path)
-
setTime
public void setTime(long time)
-
setUserName
public void setUserName(String userName)
-
getRefered
public String getRefered()
-
getReferedHost
public String getReferedHost()
-
setRefered
public void setRefered(String refered)
-
getUserAgent
public String getUserAgent()
-
getRange
public String getRange()
-
setRange
public void setRange(String range)
-
setUserAgent
public void setUserAgent(String userAgent)
-
getSortableTime
public String getSortableTime()
-
setView
public void setView(boolean view)
-
isView
public boolean isView()
-
-