public class ReplicaFileInfo extends Object
Constructor and Description |
---|
ReplicaFileInfo(long gId,
String rId,
long fId,
long sId,
String cs,
int us,
int fs,
int css,
Date fDate,
Date cDate)
Constructor.
|
ReplicaFileInfo(ResultSet res) |
Modifier and Type | Method and Description |
---|---|
String |
getChecksum()
Retrieves the checksum.
|
Date |
getChecksumCheckdatetime()
Retrieves the checksumCheckDatetime.
|
ChecksumStatus |
getChecksumStatus()
Retrieves the checksumStatus.
|
long |
getFileId()
Retrieves the fileId.
|
Date |
getFileListCheckDateTime()
Retrieves the filelistCheckdatetime.
|
FileListStatus |
getFileListState()
Retrieves the filelistStatus.
|
long |
getGuid()
Retrieves the guid.
|
String |
getReplicaId()
Retrieves the replicaId.
|
long |
getSegmentId()
Retrieves the segmentId.
|
ReplicaStoreState |
getUploadState()
Retrieves the uploadState.
|
String |
toString()
Retrieves this object as as a string.
|
public ReplicaFileInfo(long gId, String rId, long fId, long sId, String cs, int us, int fs, int css, Date fDate, Date cDate) throws ArgumentNotValid
gId
- The guid.rId
- The replicaId.fId
- The fileId.sId
- the segmentId.cs
- The checksum.us
- The uploadstatus.fs
- The fileliststatus.css
- The checksumstatus.fDate
- The date for the last filelist update.cDate
- The date for the last checksum update.ArgumentNotValid
- If gId or fId is negative, the rId is either null or the empty string. The other
variables are not validated, since they are allowed to be null (e.g. the dates before they are updated).public ReplicaFileInfo(ResultSet res) throws SQLException
SQLException
public long getGuid()
public String getReplicaId()
public long getFileId()
public long getSegmentId()
public String getChecksum()
public ReplicaStoreState getUploadState()
public FileListStatus getFileListState()
public ChecksumStatus getChecksumStatus()
public Date getFileListCheckDateTime()
public Date getChecksumCheckdatetime()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.