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