Class ORCID
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.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()
-
-
-
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 classjava.lang.Object
-
getOrcidByID
public static ORCID getOrcidByID(java.lang.String orcidString) throws ORCIDException
- Throws:
ORCIDException
-
getOrcidsByName
public static java.util.List<ORCID> getOrcidsByName(java.lang.String firstName, java.lang.String LastName) throws ORCIDException
- Throws:
ORCIDException
-
getPersonByOrcid
public static NaturalPerson getPersonByOrcid(java.lang.String orcidString) throws ORCIDException
- Throws:
ORCIDException
-
-