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.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
-
-
Method Summary
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'.
-
-
-
Constructor Detail
-
XmlDate
public XmlDate()
Default constructor
-
XmlDate
public XmlDate(java.lang.String value)
Constructor to create aXmlDate
with 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'.
-
-