public class ZenodoItem extends Object implements Serializable
| Constructor and Description |
|---|
ZenodoItem()
Instantiates a new zenodo item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFiles(List<ZenodoFile> files)
Adds the files.
|
Date |
getCreated()
Gets the created.
|
String |
getDoi()
Gets the doi.
|
List<ZenodoFile> |
getFiles()
Gets the files.
|
Integer |
getId()
Gets the id.
|
ZenodoMetadata |
getMetadata()
Gets the metadata.
|
Date |
getModified()
Gets the modified.
|
String |
getName()
Gets the name.
|
Integer |
getOwner()
Gets the owner.
|
Integer |
getRecord_id()
Gets the record id.
|
String |
getRecord_url()
Gets the record url.
|
String |
getState()
Gets the state.
|
Boolean |
getSubmitted()
Gets the submitted.
|
String |
getTitle()
Gets the title.
|
ItemTranslateError |
getTranslateError()
Gets the translate error.
|
void |
setCreated(Date created)
Sets the created.
|
void |
setDoi(String doi)
Sets the doi.
|
void |
setFiles(List<ZenodoFile> files)
Sets the files.
|
void |
setId(Integer id)
Sets the id.
|
void |
setMetadata(ZenodoMetadata metadata)
Sets the metadata.
|
void |
setModified(Date modified)
Sets the modified.
|
void |
setName(String name)
Sets the name.
|
void |
setOwner(Integer owner)
Sets the owner.
|
void |
setRecord_id(Integer record_id)
Sets the record id.
|
void |
setRecord_url(String record_url)
Sets the record url.
|
void |
setState(String state)
Sets the state.
|
void |
setSubmitted(Boolean submitted)
Sets the submitted.
|
void |
setTitle(String title)
Sets the title.
|
void |
setTranslateError(ItemTranslateError translateError)
Sets the translate error.
|
String |
toString() |
public ZenodoMetadata getMetadata()
public void setMetadata(ZenodoMetadata metadata)
metadata - the new metadatapublic void addFiles(List<ZenodoFile> files)
files - the filespublic void setFiles(List<ZenodoFile> files)
files - the new filespublic Date getCreated()
public void setCreated(Date created)
created - the new createdpublic String getDoi()
public void setDoi(String doi)
doi - the new doipublic List<ZenodoFile> getFiles()
public Integer getId()
public void setId(Integer id)
id - the new idpublic Date getModified()
public void setModified(Date modified)
modified - the new modifiedpublic Integer getOwner()
public void setOwner(Integer owner)
owner - the new ownerpublic Integer getRecord_id()
public void setRecord_id(Integer record_id)
record_id - the new record idpublic String getRecord_url()
public void setRecord_url(String record_url)
record_url - the new record urlpublic String getState()
public void setState(String state)
state - the new statepublic Boolean getSubmitted()
public void setSubmitted(Boolean submitted)
submitted - the new submittedpublic String getTitle()
public void setTitle(String title)
title - the new titlepublic String getName()
public void setName(String name)
name - the new namepublic ItemTranslateError getTranslateError()
public void setTranslateError(ItemTranslateError translateError)
translateError - the new translate errorCopyright © 2021. All Rights Reserved.