Package com.saperion.rmi.storage
Class MediumAccessData
java.lang.Object
com.saperion.rmi.storage.MediumAccessData
- All Implemented Interfaces:
Serializable
Holds information about the access to a given medium.
- Author:
- jschwarz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMediumAccessData
(Date creationDate, Date lastWriteAccess) Literal constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic MediumAccessData
fromNative
(com.saperion.jna.applsrv.m2j.natives.MediumInfoType mediumInfoType) Constructs an instance ofMediumAccessData
from a given wrapper of the corresponding native type.toString()
-
Constructor Details
-
MediumAccessData
Literal constructor. The parameters must not be null.- Parameters:
creationDate
-getCreationDate()
lastWriteAccess
-getLastWriteAccess()
-
-
Method Details
-
getCreationDate
- Returns:
- The date and time the medium was created.
-
getLastWriteAccess
- Returns:
- The date and time the medium was last written to
-
toString
-
fromNative
public static MediumAccessData fromNative(com.saperion.jna.applsrv.m2j.natives.MediumInfoType mediumInfoType) Constructs an instance ofMediumAccessData
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.
-