@Entity public class Snapshot extends BaseEntity implements Comparator<Snapshot>
id| Constructor and Description |
|---|
Snapshot() |
equals, getId, getModified, hashCode, setId, setModifiedclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic 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 setpublic String getMemberId()
public void setMemberId(String memberId)
memberId - the preservation network id to setpublic String toString()
toString in class BaseEntityCopyright © 2014–2015 DuraSpace. All rights reserved.