Class EventAddonParser.EventAddon

  • Enclosing class:
    EventAddonParser

    public static class EventAddonParser.EventAddon
    extends java.lang.Object
    Data structure for event addon message. Also performs mapping onto EQMessage,Event, and ProductLink or Comment elements.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String action
      action
      java.lang.String description
      description
      java.lang.String email
      email
      java.lang.String eventid
      event id
      java.lang.String fileName
      fileName
      java.lang.String link
      link
      java.lang.String submitter
      Submitter
      java.util.Date submitTime
      Submit time
      java.lang.String text
      text
      java.lang.String type
      type
      java.lang.String version
      version
    • Constructor Summary

      Constructors 
      Constructor Description
      EventAddon()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      gov.usgs.ansseqmsg.Comment getComment()
      Parse eventaddon xml into a Comment.
      gov.usgs.ansseqmsg.EQMessage getEQMessage()  
      gov.usgs.ansseqmsg.Event getEvent()  
      gov.usgs.ansseqmsg.ProductLink getProductLink()
      Parse eventaddon xml into a ProductLink.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fileName

        public java.lang.String fileName
        fileName
      • submitter

        public java.lang.String submitter
        Submitter
      • submitTime

        public java.util.Date submitTime
        Submit time
      • email

        public java.lang.String email
        email
      • eventid

        public java.lang.String eventid
        event id
      • type

        public java.lang.String type
        type
      • version

        public java.lang.String version
        version
      • action

        public java.lang.String action
        action
      • description

        public java.lang.String description
        description
      • link

        public java.lang.String link
        link
      • text

        public java.lang.String text
        text
    • Constructor Detail

      • EventAddon

        public EventAddon()
        Constructor
    • Method Detail

      • getProductLink

        public gov.usgs.ansseqmsg.ProductLink getProductLink()
        Parse eventaddon xml into a ProductLink.
        Returns:
        null, if there is no link.
      • getComment

        public gov.usgs.ansseqmsg.Comment getComment()
        Parse eventaddon xml into a Comment.
        Returns:
        null, if there is a link.
      • getEvent

        public gov.usgs.ansseqmsg.Event getEvent()
        Returns:
        event
      • getEQMessage

        public gov.usgs.ansseqmsg.EQMessage getEQMessage()
        Returns:
        EQMessage