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.SerializableThe 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 aXmlContributorfrom aPersonobject.XmlContributor(java.lang.String contributorName)Constructor to create aXmlContributorwith the specified contributorName.XmlContributor(java.lang.String contributorName, ContributorType contributorType)Constructor to create aXmlContributorwith the specified contributorName and contributorType.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAffiliation()java.lang.StringgetContributorName()Returns the value of field 'contributorName'.ContributorTypegetContributorType()Returns the value of field 'contributorType'.java.lang.StringgetFamilyName()java.lang.StringgetGivenName()XmlNameIdentifiergetNameIdentifier()Returns the value of field 'nameIdentifier'.voidsetAffiliation(java.lang.String affiliation)voidsetContributorName(java.lang.String contributorName)Sets the value of field 'contributorName'.voidsetContributorType(ContributorType contributorType)Sets the value of field 'contributorType'.voidsetFamilyName(java.lang.String familyName)voidsetGivenName(java.lang.String givenName)voidsetNameIdentifier(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 aXmlContributorwith the specified contributorName.- Parameters:
contributorName- the contributorName to set.
-
XmlContributor
public XmlContributor(java.lang.String contributorName, ContributorType contributorType)Constructor to create aXmlContributorwith 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 aXmlContributorfrom aPersonobject.- 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)
-
-