public class DownloadItem extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadItem.OpenAccessValues |
| Constructor and Description |
|---|
DownloadItem() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getEmbargoDate()
Gets the embargo date.
|
String |
getFileName()
Gets the file name.
|
String |
getIdItemMetadata()
Gets the id item metadata.
|
String |
getOpenAccess()
Gets the open access.
|
String |
getOriginalUrl()
Gets the original url.
|
String |
getUrl()
Gets the url.
|
static DownloadItem |
newObjectfromJSON(String inputJson)
From json.
|
void |
setEmbargoDate(Date embargoDate)
Sets the embargo date.
|
void |
setFileName(String fileName)
Sets the file name.
|
void |
setIdItemMetadata(String idItemMetadata)
Sets the id item metadata.
|
void |
setOpenAccess(String openAccess)
Sets the open access.
|
void |
setOriginalUrl(String originalUrl)
Sets the original url.
|
void |
setUrl(String url)
Sets the url.
|
String |
toJSON()
To json.
|
public static DownloadItem newObjectfromJSON(String inputJson)
inputJson - the input jsonpublic String toJSON()
public String getIdItemMetadata()
public void setIdItemMetadata(String idItemMetadata)
idItemMetadata - the new id item metadatapublic String getUrl()
public void setUrl(String url)
url - the new urlpublic String getOriginalUrl()
public void setOriginalUrl(String originalUrl)
originalUrl - the originalUrl to setpublic String getFileName()
public void setFileName(String fileName)
fileName - the new file namepublic String getOpenAccess()
public void setOpenAccess(String openAccess)
openAccess - the openAccess to setpublic Date getEmbargoDate()
public void setEmbargoDate(Date embargoDate)
embargoDate - the embargoDate to setCopyright © 2026. All rights reserved.