Record Class Event

java.lang.Object
java.lang.Record
de.xam.featdoc.system.Event
All Implemented Interfaces:
IWikiFile, IWikiLink

public record Event(System system, Timing timing, String label) extends Record implements IWikiLink
  • Constructor Details

    • Event

      public Event(System system, Timing timing, String label)
      Creates an instance of a Event record class.
      Parameters:
      system - the value for the system record component
      timing - the value for the timing record component
      label - the value for the label record component
  • Method Details

    • isAsynchronous

      public boolean isAsynchronous()
    • isSynchronous

      public boolean isSynchronous()
    • label

      public String label()
      Returns the value of the label record component.
      Specified by:
      label in interface IWikiLink
      Returns:
      the value of the label record component
    • wikiFolder

      @Nullable public @Nullable String wikiFolder()
      Description copied from interface: IWikiFile
      null for root
      Specified by:
      wikiFolder in interface IWikiFile
    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • system

      public System system()
      Returns the value of the system record component.
      Returns:
      the value of the system record component
    • timing

      public Timing timing()
      Returns the value of the timing record component.
      Returns:
      the value of the timing record component