Class Version

java.lang.Object
ch.tocco.nice2.persist.history.api.Version
All Implemented Interfaces:
Serializable

public final class Version extends Object implements Serializable
See Also:
  • Constructor Details

    • Version

      public Version(String username, String commitId, @Nullable @Nullable String ipAddress, String operation, org.joda.time.DateTime created)
    • Version

      public Version(@Nullable @Nullable Long pk, String username, String commitId, @Nullable @Nullable String ipAddress, String operation, org.joda.time.DateTime created)
  • Method Details

    • getPk

      @Nullable public @Nullable Long getPk()
    • createId

      public static String createId()
    • getUsername

      public String getUsername()
    • getCommitId

      public String getCommitId()
    • getIpAddress

      @Nullable public @Nullable String getIpAddress()
    • getOperation

      public String getOperation()
    • getCreated

      public org.joda.time.DateTime getCreated()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object