Class LicenseBean
- java.lang.Object
-
- org.gcube.portlets.widgets.ckan2zenodopublisher.shared.wrapped.LicenseBean
-
- All Implemented Interfaces:
Serializable,ZenodoLicense
public class LicenseBean extends Object implements Serializable, ZenodoLicense
A license bean like the ckan's one.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jan 13, 2020
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseBean()Instantiates a new license bean.LicenseBean(String id, String title, String url)Instantiates a new license bean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()Gets the id.StringgetTitle()Gets the title.StringgetUrl()Gets the url.voidsetId(String id)voidsetTitle(String title)voidsetUrl(String url)StringtoString()
-
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:ZenodoLicenseGets the title.- Specified by:
getTitlein interfaceZenodoLicense- Returns:
- the title
-
setTitle
public void setTitle(String title)
-
getUrl
public String getUrl()
Description copied from interface:ZenodoLicenseGets the url.- Specified by:
getUrlin interfaceZenodoLicense- Returns:
- the url
-
setUrl
public void setUrl(String url)
-
getId
public String getId()
Description copied from interface:ZenodoLicenseGets the id.- Specified by:
getIdin interfaceZenodoLicense- Returns:
- the id
-
setId
public void setId(String id)
-
-