Class 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 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 start
        end - the end
        type - the type
        description - 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
      • 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