Package org.dspace.identifier
Class DOI
java.lang.Object
org.dspace.identifier.DOI
- All Implemented Interfaces:
ReloadableEntity<Integer>,Identifier
DOI identifiers.
- Author:
- Pascal-Nicolas Becker
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDOI()Protected constructor, create object using:DOIService.create(Context) -
Method Summary
Modifier and TypeMethodDescriptiongetDoi()getID()The unique identifier of this entity instance.returns the resource type of the DSpaceObject the DOI is or was assigned to.voidvoidsetDSpaceObject(DSpaceObject dSpaceObject) void
-
Field Details
-
SCHEME
- See Also:
-
-
Constructor Details
-
DOI
protected DOI()Protected constructor, create object using:DOIService.create(Context)
-
-
Method Details
-
getID
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
getDoi
-
setDoi
-
getDSpaceObject
-
setDSpaceObject
-
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, usingsetDSpaceObject(org.dspace.content.DSpaceObject).- Returns:
- the integer constant of the DSO, see
Constants
-
getStatus
-
setStatus
-