Package com.saperion.rmi.storage
Class MediumAccessData
- java.lang.Object
- 
- com.saperion.rmi.storage.MediumAccessData
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class MediumAccessData extends java.lang.Object implements java.io.SerializableHolds information about the access to a given medium.- Author:
- jschwarz
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MediumAccessData(java.util.Date creationDate, java.util.Date lastWriteAccess)Literal constructor.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediumAccessDatafromNative(com.saperion.jna.applsrv.m2j.natives.MediumInfoType mediumInfoType)Constructs an instance ofMediumAccessDatafrom a given wrapper of the corresponding native type.java.util.DategetCreationDate()java.util.DategetLastWriteAccess()java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
MediumAccessDatapublic MediumAccessData(java.util.Date creationDate, java.util.Date lastWriteAccess)Literal constructor. The parameters must not be null.- Parameters:
- creationDate-- getCreationDate()
- lastWriteAccess-- getLastWriteAccess()
 
 
- 
 - 
Method Detail- 
getCreationDatepublic java.util.Date getCreationDate() - Returns:
- The date and time the medium was created.
 
 - 
getLastWriteAccesspublic java.util.Date getLastWriteAccess() - Returns:
- The date and time the medium was last written to
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
fromNativepublic static MediumAccessData fromNative(com.saperion.jna.applsrv.m2j.natives.MediumInfoType mediumInfoType) Constructs an instance ofMediumAccessDatafrom a given wrapper of the corresponding native type.- Parameters:
- mediumInfoType- An instance of MediumInfoType corresponding to the same medium.
- Returns:
- The instance of MediumAccessDatacorresponding to the same medium a the given MediumInfoType does.
 
 
- 
 
-