@Entity public class Snapshot extends BaseEntity implements Comparator<Snapshot>
id| Constructor and Description |
|---|
Snapshot() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSnapshotAlternateIds(List<String> snapshotAlternateIds) |
int |
compare(Snapshot o1,
Snapshot o2) |
String |
getDescription() |
Date |
getEndDate() |
String |
getName() |
List<String> |
getSnapshotAlternateIds() |
Date |
getSnapshotDate() |
List<SnapshotHistory> |
getSnapshotHistory() |
DuracloudEndPointConfig |
getSource() |
Date |
getStartDate() |
org.duracloud.snapshot.dto.SnapshotStatus |
getStatus() |
String |
getStatusText() |
Long |
getTotalSizeInBytes() |
String |
getUserEmail() |
void |
setDescription(String description) |
void |
setEndDate(Date endDate) |
void |
setName(String name) |
void |
setSnapshotDate(Date snapshotDate) |
void |
setSnapshotHistory(List<SnapshotHistory> snapshotHistory) |
void |
setSource(DuracloudEndPointConfig source) |
void |
setStartDate(Date startDate) |
void |
setStatus(org.duracloud.snapshot.dto.SnapshotStatus status) |
void |
setStatusText(String statusText) |
void |
setTotalSizeInBytes(Long totalSizeInBytes) |
void |
setUserEmail(String userEmail) |
String |
toString() |
equals, getId, getModified, hashCode, setId, setModifiedclone, finalize, getClass, notify, notifyAll, wait, wait, waitequalspublic String getName()
public void setName(String name)
name - the snapshotName to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic DuracloudEndPointConfig getSource()
public void setSource(DuracloudEndPointConfig source)
source - the source to setpublic Date getSnapshotDate()
public void setSnapshotDate(Date snapshotDate)
snapshotDate - the snapshotDate to setpublic Date getStartDate()
public void setStartDate(Date startDate)
startDate - the startDate to setpublic Date getEndDate()
public void setEndDate(Date endDate)
endDate - the endDate to setpublic org.duracloud.snapshot.dto.SnapshotStatus getStatus()
public void setStatus(org.duracloud.snapshot.dto.SnapshotStatus status)
status - the status to setpublic List<SnapshotHistory> getSnapshotHistory()
public void setSnapshotHistory(List<SnapshotHistory> snapshotHistory)
snapshotHistory - - list of history entries for a snapshotpublic List<String> getSnapshotAlternateIds()
public void addSnapshotAlternateIds(List<String> snapshotAlternateIds)
snapshotAlternateIds - JSONExceptionpublic int compare(Snapshot o1, Snapshot o2)
compare in interface Comparator<Snapshot>public String getStatusText()
public void setStatusText(String statusText)
statusText - the statusText to setpublic String getUserEmail()
public void setUserEmail(String userEmail)
userEmail - the userEmail to setpublic Long getTotalSizeInBytes()
public void setTotalSizeInBytes(Long totalSizeInBytes)
totalSizeInBytes - the totalSizeInBytes to setCopyright © 2014–2015 DuraSpace. All rights reserved.