Package ghidra.framework.store

# Class Version

java.lang.Object
ghidra.framework.store.Version

All Implemented Interfaces:
  `Serializable`

public class Version extends Object implements Serializable
`Version` provides immutable information about a specific version of an item.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `serialVersionUID`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Version(int version, long createTime, String user, String comment)`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getComment()`
  Returns version comment.
  `long`
  `getCreateTime()`
  Returns time at which version was created.
  `String`
  `getUser()`
  Returns name of user who created version.
  `int`
  `getVersion()`
  Returns version number.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### serialVersionUID

    public static final long serialVersionUID
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Version

    public Version(int version, long createTime, String user, String comment)
    Constructor.
    Parameters:
      `version` - file version number
      `createTime` - time version was created
      `user` - name of user who created version
      `comment` - version comment

- ## Method Details

  - ### getVersion

    public int getVersion()
    Returns version number.

  - ### getCreateTime

    public long getCreateTime()
    Returns time at which version was created.

  - ### getComment

    public String getComment()
    Returns version comment.

  - ### getUser

    public String getUser()
    Returns name of user who created version.