Class OrcidQueue

java.lang.Object
org.dspace.orcid.OrcidQueue
All Implemented Interfaces:
ReloadableEntity<Integer>

@Entity public class OrcidQueue extends Object implements 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 Details

    • profileItem

      protected Item profileItem
      The profile item.
  • Constructor Details

    • OrcidQueue

      public OrcidQueue()
  • Method Details

    • isInsertAction

      public boolean isInsertAction()
    • isUpdateAction

      public boolean isUpdateAction()
    • isDeleteAction

      public boolean isDeleteAction()
    • setID

      public void setID(Integer id)
    • 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.
    • 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)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • 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)
    • getAttempts

      public Integer getAttempts()
    • setAttempts

      public void setAttempts(Integer attempts)
    • toString

      public String toString()
      Overrides:
      toString in class Object