Class Event

    • Constructor Detail

    • Method Detail

      • getType

        public Event.Type getType()
        Returns:
        event type
      • getId

        public java.util.UUID getId()
        Returns:
        event id
      • getTimestamp

        public long getTimestamp()
        Returns:
        time in milliseconds
      • setTimestamp

        public void setTimestamp​(long timestamp)
        Parameters:
        timestamp - time in milliseconds
      • getSourceId

        public java.lang.String getSourceId()
        Returns:
        source event id
      • setSourceId

        public void setSourceId​(java.lang.String sourceId)
        Parameters:
        sourceId - source event id
      • getSessionId

        public java.lang.Long getSessionId()
        Returns:
        session id
      • setSessionId

        public void setSessionId​(java.lang.Long sessionId)
        Parameters:
        sessionId - session id
      • getLocation

        public Location getLocation()
        Returns:
        Geo location
      • setLocation

        public void setLocation​(Location location)
        Parameters:
        location - Geo location