Class ORCID

  • All Implemented Interfaces:
    java.io.Serializable

    public class ORCID
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ORCID​(java.lang.String orcid)
      Default constructor that check if the format and the checksum of the ORCID is valid
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getOrcid()  
      static ORCID getOrcidByID​(java.lang.String orcidString)  
      static java.util.List<ORCID> getOrcidsByName​(java.lang.String firstName, java.lang.String LastName)  
      static NaturalPerson getPersonByOrcid​(java.lang.String orcidString)  
      void setOrcid​(java.lang.String orcid)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ORCID

        public ORCID​(java.lang.String orcid)
              throws ORCIDException
        Default constructor that check if the format and the checksum of the ORCID is valid
        Parameters:
        orcid - the ORCID String
        Throws:
        ORCIDException - if the given ORCID is not valid
    • Method Detail

      • getOrcid

        public java.lang.String getOrcid()
      • setOrcid

        public void setOrcid​(java.lang.String orcid)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getOrcidsByName

        public static java.util.List<ORCID> getOrcidsByName​(java.lang.String firstName,
                                                            java.lang.String LastName)
                                                     throws ORCIDException
        Throws:
        ORCIDException