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’re 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.
Author:
arada002
  • Nested Class Summary

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

    Modifier and Type Method Description
    IEvent clone()
    Returns a deep copy of the event.
    IEvent.EventClass getEventClass()
    Returns the event class to which the object belongs.
    int getId()
    Returns the integer part of the eventId.
    java.lang.String getIdStr()
    Returns the full string representation of the eventID.
    java.lang.String getStem()
    Returns the stem of the event.
    java.lang.String toJSON()
    Returns the JSON (RFC 8259) 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.
    • getIdStr

      java.lang.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.
    • 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.
    • getStem

      java.lang.String getStem()
      Returns the stem of the event.
      Returns:
      the stem of the event. May return null if stem is not included in annotation
    • toJSON

      java.lang.String toJSON()
      Returns the JSON (RFC 8259) representation of the event.
      Returns:
      the JSON (RFC 8259) representation of the event.
    • clone

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