public class XmlContributor extends Object implements Serializable
| Constructor and Description |
|---|
XmlContributor()
Default constructor
|
XmlContributor(Person person)
Copy-Constructor to create a
XmlContributor from a Person
object. |
XmlContributor(String contributorName)
Constructor to create a
XmlContributor with the specified
contributorName. |
XmlContributor(String contributorName,
ContributorType contributorType)
Constructor to create a
XmlContributor with the specified
contributorName and contributorType. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAffiliation() |
String |
getContributorName()
Returns the value of field 'contributorName'.
|
ContributorType |
getContributorType()
Returns the value of field 'contributorType'.
|
String |
getFamilyName() |
String |
getGivenName() |
XmlNameIdentifier |
getNameIdentifier()
Returns the value of field 'nameIdentifier'.
|
void |
setAffiliation(String affiliation) |
void |
setContributorName(String contributorName)
Sets the value of field 'contributorName'.
|
void |
setContributorType(ContributorType contributorType)
Sets the value of field 'contributorType'.
|
void |
setFamilyName(String familyName) |
void |
setGivenName(String givenName) |
void |
setNameIdentifier(XmlNameIdentifier nameIdentifier)
Sets the value of field 'nameIdentifier'.
|
public XmlContributor()
public XmlContributor(String contributorName)
XmlContributor with the specified
contributorName.contributorName - the contributorName to set.public XmlContributor(String contributorName, ContributorType contributorType)
XmlContributor with the specified
contributorName and contributorType.contributorName - the contributorName to set.contributorType - the contributorType to set.public XmlContributor(Person person)
XmlContributor from a Person
object.person - to convert into a XmlContributor.public String getContributorName()
public ContributorType getContributorType()
public XmlNameIdentifier getNameIdentifier()
public void setContributorName(String contributorName)
contributorName - the value of field 'contributorName'.public void setContributorType(ContributorType contributorType)
contributorType - the value of field 'contributorType'.public void setNameIdentifier(XmlNameIdentifier nameIdentifier)
nameIdentifier - the value of field 'nameIdentifier'.public String getFamilyName()
public void setFamilyName(String familyName)
public String getGivenName()
public void setGivenName(String givenName)
public String getAffiliation()
public void setAffiliation(String affiliation)
Copyright © 2017 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.