Class DOI

java.lang.Object
org.dspace.identifier.DOI
All Implemented Interfaces:
ReloadableEntity<Integer>, Identifier

@Entity public class DOI extends Object implements Identifier, ReloadableEntity<Integer>
DOI identifiers.
Author:
Pascal-Nicolas Becker
  • Field Details

  • Constructor Details

  • Method Details

    • getID

      public Integer getID()
      Description copied from interface: ReloadableEntity
      The unique identifier of this entity instance.
      Specified by:
      getID in interface ReloadableEntity<Integer>
      Returns:
      the value of the primary key for this instance.
    • getDoi

      public String getDoi()
    • setDoi

      public void setDoi(String doi)
    • getDSpaceObject

      public DSpaceObject getDSpaceObject()
    • setDSpaceObject

      public void setDSpaceObject(DSpaceObject dSpaceObject)
    • getResourceTypeId

      public Integer getResourceTypeId()
      returns the resource type of the DSpaceObject the DOI is or was assigned to. The resource type is set automatically when a DOI is assigned to a DSpaceObject, using setDSpaceObject(org.dspace.content.DSpaceObject).
      Returns:
      the integer constant of the DSO, see Constants
    • getStatus

      public Integer getStatus()
    • setStatus

      public void setStatus(Integer status)