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 |
getContributorName()
Returns the value of field 'contributorName'.
|
ContributorType |
getContributorType()
Returns the value of field 'contributorType'.
|
XmlNameIdentifier |
getNameIdentifier()
Returns the value of field 'nameIdentifier'.
|
void |
setContributorName(String contributorName)
Sets the value of field 'contributorName'.
|
void |
setContributorType(ContributorType contributorType)
Sets the value of field 'contributorType'.
|
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'.Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.