Class EventType


  • public class EventType
    extends java.lang.Object
    Event type that consists of concatenated strings.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MATCHALL  
      protected java.lang.String typename
      The full name.
      protected java.lang.String[] types
      The event type elements.
    • Constructor Summary

      Constructors 
      Constructor Description
      EventType()
      Create an event type.
      EventType​(java.lang.String typename)
      Create an event type from a string.
      EventType​(java.lang.String... types)
      Create an event type from a string.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Test if equals to another object.
      java.lang.String getType​(int i)
      Get the type.
      java.lang.String getTypename()
      Get the typename.
      java.lang.String[] getTypes()
      Get the types.
      int hashCode()
      Get the hashcode.
      void setTypename​(java.lang.String typename)
      Set the typename.
      void setTypes​(java.lang.String[] types)
      Set the types.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • types

        protected java.lang.String[] types
        The event type elements.
      • typename

        protected java.lang.String typename
        The full name.
    • Constructor Detail

      • EventType

        public EventType​(java.lang.String... types)
        Create an event type from a string.
      • EventType

        public EventType()
        Create an event type.
      • EventType

        public EventType​(java.lang.String typename)
        Create an event type from a string.
    • Method Detail

      • getTypes

        public java.lang.String[] getTypes()
        Get the types.
        Returns:
        The types.
      • getType

        public java.lang.String getType​(int i)
        Get the type.
        Returns:
        The type.
      • getTypename

        public java.lang.String getTypename()
        Get the typename. return The typename.
      • setTypename

        public void setTypename​(java.lang.String typename)
        Set the typename.
        Parameters:
        typename - The typename to set.
      • setTypes

        public void setTypes​(java.lang.String[] types)
        Set the types.
        Parameters:
        types - The types to set.
      • hashCode

        public int hashCode()
        Get the hashcode.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if equals to another object.
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object