Class XmlDate
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.XmlDate
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlDate extends java.lang.Object implements java.io.SerializableDifferent 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTypegetDateType()Returns the value of field 'dateType'.java.lang.StringgetValue()Returns the value of field 'value'.voidsetDateType(DateType dateType)Sets the value of field 'dateType'.voidsetValue(java.lang.String value)Sets the value of field 'value'.
-
-
-
Constructor Detail
-
XmlDate
public XmlDate()
Default constructor
-
XmlDate
public XmlDate(java.lang.String value)
Constructor to create aXmlDatewith the specified date.- Parameters:
value- the date 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'.
-
-