Class LicensingHistoryEntry

java.lang.Object
com.iizix.license.history.LicensingHistoryEntry
All Implemented Interfaces:
Serializable

public final class LicensingHistoryEntry extends Object implements Serializable
A single entry in the license history.
Author:
Christopher Mindus
See Also:
  • Field Details

    • dateTime

      protected long dateTime
      The date and time.
    • event

      protected LicensingHistoryEvent event
      The event type.
    • text

      protected String text
      The text.
  • Constructor Details

  • Method Details

    • getDateTime

      public long getDateTime()
      Gets the date and time.
      Returns:
      Time in milliseconds since the epoch.
    • getEvent

      public LicensingHistoryEvent getEvent()
      Gets the history event.
      Returns:
      The event instance.
    • getText

      public String getText()
      Gets the text for the event.
      Returns:
      The text string.
    • equals

      public boolean equals(Object o)
      Checks for two equal events.
      Overrides:
      equals in class Object
      Parameters:
      o - Other object to compare with.
      Returns:
      true if both are equal.
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
      Returns:
      Returns the hash code.
    • toString

      public String toString()
      Prints a nice toString() output for debug.
      Overrides:
      toString in class Object
      Returns:
      The String.