Class ZenodoItem

    • Constructor Detail

      • ZenodoItem

        public ZenodoItem()
        Instantiates a new zenodo item.
    • Method Detail

      • getMetadata

        public ZenodoMetadata getMetadata()
        Gets the metadata.
        Returns:
        the metadata
      • setMetadata

        public void setMetadata​(ZenodoMetadata metadata)
        Sets the metadata.
        Parameters:
        metadata - the new metadata
      • addFiles

        public void addFiles​(List<ZenodoFile> files)
        Adds the files.
        Parameters:
        files - the files
      • setFiles

        public void setFiles​(List<ZenodoFile> files)
        Sets the files.
        Parameters:
        files - the new files
      • getCreated

        public Date getCreated()
        Gets the created.
        Returns:
        the created
      • setCreated

        public void setCreated​(Date created)
        Sets the created.
        Parameters:
        created - the new created
      • getDoi

        public String getDoi()
        Gets the doi.
        Returns:
        the doi
      • setDoi

        public void setDoi​(String doi)
        Sets the doi.
        Parameters:
        doi - the new doi
      • getFiles

        public List<ZenodoFile> getFiles()
        Gets the files.
        Returns:
        the files
      • getId

        public Integer getId()
        Gets the id.
        Returns:
        the id
      • setId

        public void setId​(Integer id)
        Sets the id.
        Parameters:
        id - the new id
      • getModified

        public Date getModified()
        Gets the modified.
        Returns:
        the modified
      • setModified

        public void setModified​(Date modified)
        Sets the modified.
        Parameters:
        modified - the new modified
      • getOwner

        public Integer getOwner()
        Gets the owner.
        Returns:
        the owner
      • setOwner

        public void setOwner​(Integer owner)
        Sets the owner.
        Parameters:
        owner - the new owner
      • getRecord_id

        public Integer getRecord_id()
        Gets the record id.
        Returns:
        the record id
      • setRecord_id

        public void setRecord_id​(Integer record_id)
        Sets the record id.
        Parameters:
        record_id - the new record id
      • getRecord_url

        public String getRecord_url()
        Gets the record url.
        Returns:
        the record url
      • setRecord_url

        public void setRecord_url​(String record_url)
        Sets the record url.
        Parameters:
        record_url - the new record url
      • getState

        public String getState()
        Gets the state.
        Returns:
        the state
      • setState

        public void setState​(String state)
        Sets the state.
        Parameters:
        state - the new state
      • getSubmitted

        public Boolean getSubmitted()
        Gets the submitted.
        Returns:
        the submitted
      • setSubmitted

        public void setSubmitted​(Boolean submitted)
        Sets the submitted.
        Parameters:
        submitted - the new submitted
      • getTitle

        public String getTitle()
        Gets the title.
        Returns:
        the title
      • setTitle

        public void setTitle​(String title)
        Sets the title.
        Parameters:
        title - the new title
      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • getTranslateError

        public ItemTranslateError getTranslateError()
        Gets the translate error.
        Returns:
        the translate error
      • setTranslateError

        public void setTranslateError​(ItemTranslateError translateError)
        Sets the translate error.
        Parameters:
        translateError - the new translate error