Package org.duracloud.snapshot.db.model
Class Restoration
java.lang.Object
org.duracloud.snapshot.db.model.BaseEntity
org.duracloud.snapshot.db.model.Restoration
- All Implemented Interfaces:
Identifiable
- Author:
- Daniel Bernstein Date: Jul 21, 2014
-
Field Summary
Fields inherited from class org.duracloud.snapshot.db.model.BaseEntity
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.duracloud.snapshot.dto.RestoreStatusvoidsetDestination(DuracloudEndPointConfig destination) voidsetEndDate(Date endDate) voidsetExpirationDate(Date expirationDate) voidsetRestorationId(String restorationId) voidsetSnapshot(Snapshot snapshot) voidsetStartDate(Date startDate) voidsetStatus(org.duracloud.snapshot.dto.RestoreStatus status) voidsetStatusText(String statusText) voidsetUserEmail(String userEmail) toString()Methods inherited from class org.duracloud.snapshot.db.model.BaseEntity
equals, getId, getModified, hashCode, setId, setModified
-
Constructor Details
-
Restoration
public Restoration()
-
-
Method Details
-
getSnapshot
- Returns:
- the snapshot
-
setSnapshot
- Parameters:
snapshot- the snapshot to set
-
getDestination
- Returns:
- the destination
-
setDestination
- Parameters:
destination- the destination to set
-
getStartDate
- Returns:
- the startDate
-
setStartDate
- Parameters:
startDate- the startDate to set
-
getEndDate
- Returns:
- the endDate
-
setEndDate
- Parameters:
endDate- the endDate to set
-
getExpirationDate
- Returns:
- the date on which this restoration expires
-
setExpirationDate
- Parameters:
expirationDate- the expiration date of this restoration
-
getStatus
public org.duracloud.snapshot.dto.RestoreStatus getStatus()- Returns:
- the status
-
setStatus
public void setStatus(org.duracloud.snapshot.dto.RestoreStatus status) - Parameters:
status- the status to set
-
getStatusText
- Returns:
- the statusText
-
setStatusText
- Parameters:
statusText- the statusText to set
-
getUserEmail
- Returns:
- the userEmail
-
setUserEmail
- Parameters:
userEmail- the userEmail to set
-
toString
- Overrides:
toStringin classBaseEntity
-
getRestorationId
- Returns:
- the restorationId
-
setRestorationId
- Parameters:
restorationId- the restorationId to set
-