Class 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 Detail

      • profileItem

        protected Item profileItem
        The profile item.
    • Constructor Detail

      • OrcidQueue

        public OrcidQueue()
    • Method Detail

      • isInsertAction

        public boolean isInsertAction()
      • isUpdateAction

        public boolean isUpdateAction()
      • isDeleteAction

        public boolean isDeleteAction()
      • setID

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

        public void setOperation​(OrcidOperation operation)
      • getAttempts

        public Integer getAttempts()
      • setAttempts

        public void setAttempts​(Integer attempts)