Class ZenodoDateInterval
- java.lang.Object
-
- org.gcube.portlets.widgets.ckan2zenodopublisher.shared.wrapped.ZenodoDateInterval
-
- All Implemented Interfaces:
Serializable
public class ZenodoDateInterval extends Object implements Serializable
The Class ZenodoDateInterval.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Dec 10, 2019
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZenodoDateInterval()Instantiates a new zenodo date interval.ZenodoDateInterval(Date start, Date end, SerializableEnum<String> type, String description)Instantiates a new zenodo date interval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the description.DategetEnd()Gets the end.DategetStart()Gets the start.SerializableEnum<String>getType()Gets the type.voidsetDescription(String description)Sets the description.voidsetEnd(Date end)Sets the end.voidsetStart(Date start)Sets the start.voidsetType(SerializableEnum<String> type)Sets the type.StringtoString()
-
-
-
Constructor Detail
-
ZenodoDateInterval
public ZenodoDateInterval()
Instantiates a new zenodo date interval.
-
ZenodoDateInterval
public ZenodoDateInterval(Date start, Date end, SerializableEnum<String> type, String description)
Instantiates a new zenodo date interval.- Parameters:
start- the startend- the endtype- the typedescription- the description
-
-
Method Detail
-
getStart
public Date getStart()
Gets the start.- Returns:
- the start
-
setStart
public void setStart(Date start)
Sets the start.- Parameters:
start- the new start
-
getEnd
public Date getEnd()
Gets the end.- Returns:
- the end
-
setEnd
public void setEnd(Date end)
Sets the end.- Parameters:
end- the new end
-
getType
public SerializableEnum<String> getType()
Gets the type.- Returns:
- the type
-
setType
public void setType(SerializableEnum<String> type)
Sets the type.- Parameters:
type- the new type
-
getDescription
public String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(String description)
Sets the description.- Parameters:
description- the new description
-
-