Class XmlCreator
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.XmlCreator
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlCreator extends java.lang.Object implements java.io.Serializable
The main researchers involved working on the data, or the authors of the publication in priority order. May be a corporate/institutional or personal name. Format: Family, Given.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlCreator()
Default constructorXmlCreator(Person person)
Copy-Constructor to create aXmlCreator
from aPerson
object.XmlCreator(java.lang.String creatorName)
Constructor to create aXmlCreator
with the specified creatorName.XmlCreator(java.lang.String creatorName, XmlNameIdentifier nameIdentifier)
Constructor to create aXmlCreator
with the specified creatorName and nameIdentifier.
-
Method Summary
Modifier and Type Method Description java.lang.String
getAffiliation()
java.lang.String
getCreatorName()
Returns the value of field 'creatorName'.java.lang.String
getFamilyName()
java.lang.String
getGivenName()
XmlNameIdentifier
getNameIdentifier()
Returns the value of field 'nameIdentifier'.void
setAffiliation(java.lang.String affiliation)
void
setCreatorName(java.lang.String creatorName)
Sets the value of field 'creatorName'.void
setFamilyName(java.lang.String familyName)
void
setGivenName(java.lang.String givenName)
void
setNameIdentifier(XmlNameIdentifier nameIdentifier)
Sets the value of field 'nameIdentifier'.
-
-
-
Constructor Detail
-
XmlCreator
public XmlCreator()
Default constructor
-
XmlCreator
public XmlCreator(java.lang.String creatorName)
Constructor to create aXmlCreator
with the specified creatorName.- Parameters:
creatorName
- the creatorName to set.
-
XmlCreator
public XmlCreator(java.lang.String creatorName, XmlNameIdentifier nameIdentifier)
Constructor to create aXmlCreator
with the specified creatorName and nameIdentifier.- Parameters:
creatorName
- the creatorName to set.nameIdentifier
- the nameIdentifier to set.
-
XmlCreator
public XmlCreator(Person person)
Copy-Constructor to create aXmlCreator
from aPerson
object.- Parameters:
person
- to convert into aXmlCreator
.
-
-
Method Detail
-
getCreatorName
public java.lang.String getCreatorName()
Returns the value of field 'creatorName'.- Returns:
- the value of field 'creatorName'.
-
getNameIdentifier
public XmlNameIdentifier getNameIdentifier()
Returns the value of field 'nameIdentifier'.- Returns:
- the value of field 'nameIdentifier'.
-
setCreatorName
public void setCreatorName(java.lang.String creatorName)
Sets the value of field 'creatorName'.- Parameters:
creatorName
- the value of field 'creatorName'.
-
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)
-
-