Class MediumAccessData

java.lang.Object
com.saperion.rmi.storage.MediumAccessData
All Implemented Interfaces:
Serializable

public class MediumAccessData extends Object implements Serializable
Holds information about the access to a given medium.
Author:
jschwarz
See Also:
  • Constructor Details

  • Method Details

    • getCreationDate

      public Date getCreationDate()
      Returns:
      The date and time the medium was created.
    • getLastWriteAccess

      public Date getLastWriteAccess()
      Returns:
      The date and time the medium was last written to
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromNative

      public static MediumAccessData fromNative(com.saperion.jna.applsrv.m2j.natives.MediumInfoType mediumInfoType)
      Constructs an instance of MediumAccessData from a given wrapper of the corresponding native type.
      Parameters:
      mediumInfoType - An instance of MediumInfoType corresponding to the same medium.
      Returns:
      The instance of MediumAccessData corresponding to the same medium a the given MediumInfoType does.