Package org.dspace.orcid
Class OrcidQueue
java.lang.Object
org.dspace.orcid.OrcidQueue
- All Implemented Interfaces:
ReloadableEntity<Integer>
Entity that model a record on the ORCID synchronization queue. Each record in
this table is associated with an profile item and the entity to be
synchronized (which can be the profile itself, a publication or a
project/funding). If the entity is the profile itself then the metadata field
contains the signature of the information to be synchronized.
- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetID()The unique identifier of this entity instance.inthashCode()booleanbooleanbooleanvoidsetAttempts(Integer attempts) voidsetDescription(String description) voidvoidvoidsetMetadata(String metadata) voidsetOperation(OrcidOperation operation) voidsetProfileItem(Item profileItem) voidsetPutCode(String putCode) voidsetRecordType(String recordType) toString()
-
Field Details
-
profileItem
The profile item.
-
-
Constructor Details
-
OrcidQueue
public OrcidQueue()
-
-
Method Details
-
isInsertAction
public boolean isInsertAction() -
isUpdateAction
public boolean isUpdateAction() -
isDeleteAction
public boolean isDeleteAction() -
setID
-
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.
-
getProfileItem
-
setProfileItem
-
getEntity
-
setEntity
-
getPutCode
-
setPutCode
-
hashCode
public int hashCode() -
equals
-
getDescription
-
setDescription
-
getRecordType
-
setRecordType
-
getMetadata
-
setMetadata
-
getOperation
-
setOperation
-
getAttempts
-
setAttempts
-
toString
-