Class ZenodoCreator
- java.lang.Object
-
- org.gcube.portlets.widgets.ckan2zenodopublisher.shared.wrapped.ZenodoCreator
-
- All Implemented Interfaces:
Serializable,ZenodoAuthor
- Direct Known Subclasses:
ZenodoContributor
public class ZenodoCreator extends Object implements ZenodoAuthor, Serializable
The Class ZenodoCreator.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jan 15, 2020
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZenodoCreator()Instantiates a new zenodo creator.ZenodoCreator(String name, String affiliation, String orcid, String gnd)Instantiates a new zenodo creator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAffiliation()Gets the affiliation.StringgetGnd()Gets the gnd.StringgetName()Gets the name.StringgetOrcid()Gets the orcid.SerializableEnum<String>getType()Gets the type.voidsetAffiliation(String affiliation)Sets the affiliation.voidsetGnd(String gnd)Sets the gnd.voidsetName(String name)Sets the name.voidsetOrcid(String orcid)Sets the orcid.voidsetType(SerializableEnum<String> type)Sets the type.StringtoString()
-
-
-
Field Detail
-
USER_ROLE
public static final String USER_ROLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ZenodoAuthorGets the name.- Specified by:
getNamein interfaceZenodoAuthor- Returns:
- the name
-
setName
public void setName(String name)
Sets the name.- Specified by:
setNamein interfaceZenodoAuthor- Parameters:
name- the new name
-
getAffiliation
public String getAffiliation()
Description copied from interface:ZenodoAuthorGets the affiliation.- Specified by:
getAffiliationin interfaceZenodoAuthor- Returns:
- the affiliation
-
setAffiliation
public void setAffiliation(String affiliation)
Sets the affiliation.- Specified by:
setAffiliationin interfaceZenodoAuthor- Parameters:
affiliation- the new affiliation
-
getOrcid
public String getOrcid()
Description copied from interface:ZenodoAuthorGets the orcid.- Specified by:
getOrcidin interfaceZenodoAuthor- Returns:
- the orcid
-
setOrcid
public void setOrcid(String orcid)
Sets the orcid.- Specified by:
setOrcidin interfaceZenodoAuthor- Parameters:
orcid- the new orcid
-
getGnd
public String getGnd()
Description copied from interface:ZenodoAuthorGets the gnd.- Specified by:
getGndin interfaceZenodoAuthor- Returns:
- the gnd
-
setGnd
public void setGnd(String gnd)
Sets the gnd.- Parameters:
gnd- the new gnd
-
getType
public SerializableEnum<String> getType()
Description copied from interface:ZenodoAuthorGets the type.- Specified by:
getTypein interfaceZenodoAuthor- Returns:
- the type
-
setType
public void setType(SerializableEnum<String> type)
Description copied from interface:ZenodoAuthorSets the type.- Specified by:
setTypein interfaceZenodoAuthor- Parameters:
type- the new type
-
-