public class XmlContributor
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
XmlContributor()
Default constructor
|
XmlContributor(Person person)
Copy-Constructor to create a
XmlContributor from a Person
object. |
XmlContributor(java.lang.String contributorName)
Constructor to create a
XmlContributor with the specified
contributorName. |
XmlContributor(java.lang.String contributorName,
ContributorType contributorType)
Constructor to create a
XmlContributor with the specified
contributorName and contributorType. |
| Modifier and Type | Method and 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'.
|
public XmlContributor()
public XmlContributor(java.lang.String contributorName)
XmlContributor with the specified
contributorName.contributorName - the contributorName to set.public XmlContributor(java.lang.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 java.lang.String getContributorName()
public ContributorType getContributorType()
public XmlNameIdentifier getNameIdentifier()
public void setContributorName(java.lang.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 java.lang.String getFamilyName()
public void setFamilyName(java.lang.String familyName)
public java.lang.String getGivenName()
public void setGivenName(java.lang.String givenName)
public java.lang.String getAffiliation()
public void setAffiliation(java.lang.String affiliation)