Class GeneralSTTrackingEvent

  • All Implemented Interfaces:
    IBaseTemporalObject, ISpatialTemporalObj, ISTTrackingEvent

    public class GeneralSTTrackingEvent
    extends GeneralSTObject
    implements ISTTrackingEvent
    Is an event object used to represent a single detection of a solar event taken from HEK. This object contains the logic needed for tracking. Mainly the ability to link this event to others to form a trajectory.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Constructor Detail

      • GeneralSTTrackingEvent

        public GeneralSTTrackingEvent​(int id,
                                      EventType type,
                                      org.joda.time.Interval timePeriod,
                                      org.locationtech.jts.geom.Geometry geometry)
    • Method Detail

      • getId

        public int getId()
        Description copied from interface: ISTTrackingEvent
        Returns the primary key Id in a database, of the event that this object represents
        Specified by:
        getId in interface ISTTrackingEvent
        Returns:
        id of the event that this object represents
      • updateTimePeriod

        public void updateTimePeriod​(org.joda.time.Interval period)
        Description copied from interface: ISTTrackingEvent
        Updates the time period that this object is valid
        Specified by:
        updateTimePeriod in interface ISTTrackingEvent
        Parameters:
        period - the new period for this object to be considered valid over
      • getType

        public EventType getType()
        Description copied from interface: ISTTrackingEvent
        Returns the type of event that this object represents. It is usually a two letter designation such as AR for Active IRegion, SS for Sun Spot etc.
        Specified by:
        getType in interface ISTTrackingEvent
        Returns:
        the type of event that this object represents.
      • getPrevious

        public ISTTrackingEvent getPrevious()
        Description copied from interface: ISTTrackingEvent
        Returns a pointer to the event detection that is considered the previous detection of the same object.
        Specified by:
        getPrevious in interface ISTTrackingEvent
        Returns:
        pointer to the previous detection in the chain.
      • setPrevious

        public void setPrevious​(ISTTrackingEvent event)
        Description copied from interface: ISTTrackingEvent
        Sets a pointer to the event detection that is considered the previous detection of the same object. This method only changes the pointer from null to a non-null value. Once it is set, it does not change with the next call.
        Specified by:
        setPrevious in interface ISTTrackingEvent
        Parameters:
        event - the previous detection in the chain
      • getNext

        public ISTTrackingEvent getNext()
        Description copied from interface: ISTTrackingEvent
        Returns a pointer to the event detection that is considered the next detection of the same object.
        Specified by:
        getNext in interface ISTTrackingEvent
        Returns:
        a pointer to the next detection in the chain.
      • setNext

        public void setNext​(ISTTrackingEvent event)
        Description copied from interface: ISTTrackingEvent
        Sets a pointer to the event detection that is considered the next detection of the same object. This method only changes the pointer from null to a non-null value. Once it is set, it does not change with the next call.
        Specified by:
        setNext in interface ISTTrackingEvent
        Parameters:
        event - the next detection in the chain