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.SerializableThe 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 aXmlCreatorfrom aPersonobject.XmlCreator(java.lang.String creatorName)Constructor to create aXmlCreatorwith the specified creatorName.XmlCreator(java.lang.String creatorName, XmlNameIdentifier nameIdentifier)Constructor to create aXmlCreatorwith the specified creatorName and nameIdentifier.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAffiliation()java.lang.StringgetCreatorName()Returns the value of field 'creatorName'.java.lang.StringgetFamilyName()java.lang.StringgetGivenName()XmlNameIdentifiergetNameIdentifier()Returns the value of field 'nameIdentifier'.voidsetAffiliation(java.lang.String affiliation)voidsetCreatorName(java.lang.String creatorName)Sets the value of field 'creatorName'.voidsetFamilyName(java.lang.String familyName)voidsetGivenName(java.lang.String givenName)voidsetNameIdentifier(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 aXmlCreatorwith the specified creatorName.- Parameters:
creatorName- the creatorName to set.
-
XmlCreator
public XmlCreator(java.lang.String creatorName, XmlNameIdentifier nameIdentifier)Constructor to create aXmlCreatorwith 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 aXmlCreatorfrom aPersonobject.- 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)
-
-