Class OrcidToken

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

@Entity public class OrcidToken extends Object implements ReloadableEntity<Integer>
Entity that stores ORCID access-token related to a given eperson or a given profile item.
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)
  • Field Details

    • ePerson

      protected EPerson ePerson
  • Constructor Details

    • OrcidToken

      public OrcidToken()
  • Method Details

    • 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.
    • setId

      public void setId(Integer id)
    • getEPerson

      public EPerson getEPerson()
    • setEPerson

      public void setEPerson(EPerson eperson)
    • getProfileItem

      public Item getProfileItem()
    • setProfileItem

      public void setProfileItem(Item profileItem)
    • getAccessToken

      public String getAccessToken()
    • setAccessToken

      public void setAccessToken(String accessToken)