Package org.dspace.orcid
Class OrcidHistory
- java.lang.Object
-
- org.dspace.orcid.OrcidHistory
-
- All Implemented Interfaces:
ReloadableEntity<Integer>
@Entity public class OrcidHistory extends Object implements ReloadableEntity<Integer>
The ORCID history entity that it contains information relating to an attempt to synchronize the DSpace items and information on ORCID. While the entityOrcidQueuecontains the data to be synchronized with ORCID, this entity instead contains the data synchronized with ORCID, with the result of the synchronization. Each record in this table is associated with a profile item and the entity 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 synchronized.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
-
Field Summary
Fields Modifier and Type Field Description protected ItemprofileItemThe profile item.
-
Constructor Summary
Constructors Constructor Description OrcidHistory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()ItemgetEntity()IntegergetID()The unique identifier of this entity instance.StringgetMetadata()OrcidOperationgetOperation()ItemgetProfileItem()StringgetPutCode()StringgetRecordType()StringgetResponseMessage()IntegergetStatus()DategetTimestamp()voidsetDescription(String description)voidsetEntity(Item entity)voidsetId(Integer id)voidsetMetadata(String metadata)voidsetOperation(OrcidOperation operation)voidsetProfileItem(Item profileItem)voidsetPutCode(String putCode)voidsetRecordType(String recordType)voidsetResponseMessage(String responseMessage)voidsetStatus(Integer status)voidsetTimestamp(Date timestamp)
-
-
-
Field Detail
-
profileItem
protected Item profileItem
The profile item.
-
-
Method Detail
-
getStatus
public Integer getStatus()
-
setStatus
public void setStatus(Integer status)
-
setId
public void setId(Integer id)
-
getID
public Integer 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
public Item getProfileItem()
-
setProfileItem
public void setProfileItem(Item profileItem)
-
getEntity
public Item getEntity()
-
setEntity
public void setEntity(Item entity)
-
getPutCode
public String getPutCode()
-
setPutCode
public void setPutCode(String putCode)
-
getResponseMessage
public String getResponseMessage()
-
setResponseMessage
public void setResponseMessage(String responseMessage)
-
getRecordType
public String getRecordType()
-
setRecordType
public void setRecordType(String recordType)
-
getMetadata
public String getMetadata()
-
setMetadata
public void setMetadata(String metadata)
-
getOperation
public OrcidOperation getOperation()
-
setOperation
public void setOperation(OrcidOperation operation)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getTimestamp
public Date getTimestamp()
-
setTimestamp
public void setTimestamp(Date timestamp)
-
-