Class Interaction

  • All Implemented Interfaces:
    java.lang.Comparable<Interaction>

    public class Interaction
    extends java.lang.Object
    implements java.lang.Comparable<Interaction>
    An interaction candidate that is created by looking at different combinations of SensorInterval s.
    Author:
    Andreas Rogge-Solti
    • Constructor Summary

      Constructors 
      Constructor Description
      Interaction​(java.lang.String instance, java.util.SortedSet<java.lang.String> resources, java.lang.String locationKey, long startTime, long endTime)  
    • Constructor Detail

      • Interaction

        public Interaction​(java.lang.String instance,
                           java.util.SortedSet<java.lang.String> resources,
                           java.lang.String locationKey,
                           long startTime,
                           long endTime)
    • Method Detail

      • compareTo

        public int compareTo​(Interaction o)
        Specified by:
        compareTo in interface java.lang.Comparable<Interaction>
      • getResourceKeys

        public java.util.SortedSet<java.lang.String> getResourceKeys()
      • getInstanceKey

        public java.lang.String getInstanceKey()
      • getLocationKey

        public java.lang.String getLocationKey()
      • getStartTime

        public long getStartTime()
      • getEndTime

        public long getEndTime()
      • getId

        public int getId()
      • setId

        public void setId​(int id)