Class XmlDate

  • All Implemented Interfaces:
    java.io.Serializable

    public class XmlDate
    extends java.lang.Object
    implements java.io.Serializable
    Different dates relevant to the work. YYYY or YYYY-MM-DD or any other format described in W3CDTF (http://www.w3.org/TR/NOTE-datetime)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlDate()
      Default constructor
      XmlDate​(java.lang.String value)
      Constructor to create a XmlDate with the specified date.
      XmlDate​(java.lang.String value, DateType dateType)
      Constructor to create a XmlDate with the specified date and dateType.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DateType getDateType()
      Returns the value of field 'dateType'.
      java.lang.String getValue()
      Returns the value of field 'value'.
      void setDateType​(DateType dateType)
      Sets the value of field 'dateType'.
      void setValue​(java.lang.String value)
      Sets the value of field 'value'.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlDate

        public XmlDate()
        Default constructor
      • XmlDate

        public XmlDate​(java.lang.String value)
        Constructor to create a XmlDate with the specified date.
        Parameters:
        value - the date to set.
      • XmlDate

        public XmlDate​(java.lang.String value,
                       DateType dateType)
        Constructor to create a XmlDate with the specified date and dateType.
        Parameters:
        value - the date to set.
        dateType - the dateType to set.
    • Method Detail

      • getDateType

        public DateType getDateType()
        Returns the value of field 'dateType'.
        Returns:
        the value of field 'dateType'.
      • setDateType

        public void setDateType​(DateType dateType)
        Sets the value of field 'dateType'.
        Parameters:
        dateType - the value of field 'dateType'.
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value of field 'value'.
        Parameters:
        value - the value of field 'value'.
      • getValue

        public java.lang.String getValue()
        Returns the value of field 'value'.
        Returns:
        the value of field 'value'.