Interface IEvent

All Known Implementing Classes:
Event

public interface IEvent
Represents the EVENT tag.

We consider "events" a cover term for situations that happen or occur. Events can be punctual (1-2) or last for a period of time (3-4). We also consider as events those predicates describing states or circumstances in which something obtains or holds true (5). Not all stative predicates will be marked up, however.

  1. Ferdinand Magellan, a Portuguese explorer, first reached the islands in search of spices.
  2. A fresh flow of lava, gas and debris erupted there Saturday.
  3. 11,024 people, including local Aeta aborigines, were evacuated to 18 disaster relief centers.
  4. We are expecting a major eruption, he said in a telephone interview early today.
  5. Israel has been scrambling to buy more masks abroad, after a shortage of several hundred thousand gas masks.
Since:
Revision 30
Author:
arada002
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    An enum that represents the seven different event classes an object may belong to.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a deep copy of the event.
    Returns the event class to which the object belongs.
    int
    Returns the integer part of the eventId.
    Returns the full string representation of the eventID.
    Returns the stem of the event.
    Returns the JSON (RFC 8259) representation of the event.
    Returns the String Representation of the Event.
  • Method Details

    • getId

      int getId()
      Returns the integer part of the eventId. Each event has to be identified by a unique ID number and String.
      Returns:
      Integer part of the eventID. May not be 0 or negative.
      Since:
      Revision 30
    • getIdStr

      String getIdStr()
      Returns the full string representation of the eventID. Each event has to be identified by a unique ID number and String.
      Returns:
      Full string representation of the eventID. May not return null.
      Since:
      Revision 31
    • getStem

      String getStem()
      Returns the stem of the event.
      Returns:
      the stem of the event. May return null if stem is not included in annotation
      Since:
      Revision 30
    • getEventClass

      IEvent.EventClass getEventClass()
      Returns the event class to which the object belongs.
      Returns:
      the event class to which the object belongs. May not return null.
      Since:
      Revision 30
    • toString

      String toString()
      Returns the String Representation of the Event.
      Overrides:
      toString in class Object
      Returns:
      the info of an Event in String Format.
      Since:
      Revision 30
    • toJSON

      String toJSON()
      Returns the JSON (RFC 8259) representation of the event.
      Returns:
      the JSON (RFC 8259) representation of the event.
      Since:
      Revision 391
    • clone

      IEvent clone()
      Returns a deep copy of the event.
      Returns:
      a deep copy of the event.
      Since:
      Revision 394