public final class CurrentVisit
extends java.lang.Object
| Constructor and Description |
|---|
CurrentVisit()
Create an empty representation.
|
CurrentVisit(long creationDate,
java.util.Collection<DateAttribute> dates,
java.util.Collection<FlagAttribute> flags,
java.util.Collection<MetricAttribute> metrics,
java.util.Collection<PropertyAttribute> properties,
long lastEvent,
int totalEventCount) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getCreationTimestamp() |
AttributeGroup<DateAttribute> |
getDates() |
AttributeGroup<FlagAttribute> |
getFlags() |
long |
getLastEventTimestamp() |
AttributeGroup<MetricAttribute> |
getMetrics() |
AttributeGroup<PropertyAttribute> |
getProperties() |
int |
getTotalEventCount() |
int |
hashCode() |
java.lang.String |
toString()
Calls
toString(String) with a null tab. |
java.lang.String |
toString(java.lang.String indentation) |
public CurrentVisit()
public CurrentVisit(long creationDate,
java.util.Collection<DateAttribute> dates,
java.util.Collection<FlagAttribute> flags,
java.util.Collection<MetricAttribute> metrics,
java.util.Collection<PropertyAttribute> properties,
long lastEvent,
int totalEventCount)
creationDate - the date this current visit started in ms since epoch.dates - the Date attributes ascribed to the current visit.flags - the Flag attributes ascribed to the current visit.metrics - the Metric attributes ascribed to the current visit.properties - the Property (AKA Trait) attributes ascribed to the current visit.lastEvent - the timestamp in ms since epoch of the last event.totalEventCount - the total number of event counts in the current visit.public long getLastEventTimestamp()
public int getTotalEventCount()
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
toString(String) with a null tab.toString in class java.lang.ObjectCurrentVisit#toString(String)}.public java.lang.String toString(java.lang.String indentation)
indentation - the desired indentation of the child elements.public final long getCreationTimestamp()
public final AttributeGroup<FlagAttribute> getFlags()
public final AttributeGroup<MetricAttribute> getMetrics()
public final AttributeGroup<PropertyAttribute> getProperties()
public final AttributeGroup<DateAttribute> getDates()