Class XmlContributor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.XmlContributor
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlContributor extends java.lang.Object implements java.io.Serializable
The institution or person responsible for collecting, creating, or otherwise contributing to the development of the dataset. The personal name format should be: Family, Given.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlContributor()
Default constructorXmlContributor(Person person)
Copy-Constructor to create aXmlContributor
from aPerson
object.XmlContributor(java.lang.String contributorName)
Constructor to create aXmlContributor
with the specified contributorName.XmlContributor(java.lang.String contributorName, ContributorType contributorType)
Constructor to create aXmlContributor
with the specified contributorName and contributorType.
-
Method Summary
Modifier and Type Method Description java.lang.String
getAffiliation()
java.lang.String
getContributorName()
Returns the value of field 'contributorName'.ContributorType
getContributorType()
Returns the value of field 'contributorType'.java.lang.String
getFamilyName()
java.lang.String
getGivenName()
XmlNameIdentifier
getNameIdentifier()
Returns the value of field 'nameIdentifier'.void
setAffiliation(java.lang.String affiliation)
void
setContributorName(java.lang.String contributorName)
Sets the value of field 'contributorName'.void
setContributorType(ContributorType contributorType)
Sets the value of field 'contributorType'.void
setFamilyName(java.lang.String familyName)
void
setGivenName(java.lang.String givenName)
void
setNameIdentifier(XmlNameIdentifier nameIdentifier)
Sets the value of field 'nameIdentifier'.
-
-
-
Constructor Detail
-
XmlContributor
public XmlContributor()
Default constructor
-
XmlContributor
public XmlContributor(java.lang.String contributorName)
Constructor to create aXmlContributor
with the specified contributorName.- Parameters:
contributorName
- the contributorName to set.
-
XmlContributor
public XmlContributor(java.lang.String contributorName, ContributorType contributorType)
Constructor to create aXmlContributor
with the specified contributorName and contributorType.- Parameters:
contributorName
- the contributorName to set.contributorType
- the contributorType to set.
-
XmlContributor
public XmlContributor(Person person)
Copy-Constructor to create aXmlContributor
from aPerson
object.- Parameters:
person
- to convert into aXmlContributor
.
-
-
Method Detail
-
getContributorName
public java.lang.String getContributorName()
Returns the value of field 'contributorName'.- Returns:
- the value of field 'contributorName'.
-
getContributorType
public ContributorType getContributorType()
Returns the value of field 'contributorType'.- Returns:
- the value of field 'contributorType'.
-
getNameIdentifier
public XmlNameIdentifier getNameIdentifier()
Returns the value of field 'nameIdentifier'.- Returns:
- the value of field 'nameIdentifier'.
-
setContributorName
public void setContributorName(java.lang.String contributorName)
Sets the value of field 'contributorName'.- Parameters:
contributorName
- the value of field 'contributorName'.
-
setContributorType
public void setContributorType(ContributorType contributorType)
Sets the value of field 'contributorType'.- Parameters:
contributorType
- the value of field 'contributorType'.
-
setNameIdentifier
public void setNameIdentifier(XmlNameIdentifier nameIdentifier)
Sets the value of field 'nameIdentifier'.- Parameters:
nameIdentifier
- the value of field 'nameIdentifier'.
-
getFamilyName
public java.lang.String getFamilyName()
-
setFamilyName
public void setFamilyName(java.lang.String familyName)
-
getGivenName
public java.lang.String getGivenName()
-
setGivenName
public void setGivenName(java.lang.String givenName)
-
getAffiliation
public java.lang.String getAffiliation()
-
setAffiliation
public void setAffiliation(java.lang.String affiliation)
-
-