public class TLcdAtomDateTime extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BASE_PROPERTY
Data property that maps to the
base attribute. |
static TLcdDataProperty |
DATE_TIME_PROPERTY
Data property that maps to the value defined by the simple content.
|
static TLcdDataProperty |
LANGUAGE_PROPERTY
Data property that maps to the
lang attribute. |
Constructor and Description |
---|
TLcdAtomDateTime() |
TLcdAtomDateTime(TLcdDataType aType) |
TLcdAtomDateTime(XMLGregorianCalendar aCalendar)
Convenience constructor that sets the given calendar
|
Modifier and Type | Method and Description |
---|---|
URI |
getBase()
Returns the value of the property that maps to the
base attribute. |
XMLGregorianCalendar |
getDateTime()
Returns the value of the property that maps to the value defined by the simple content.
|
String |
getLanguage()
Returns the value of the property that maps to the
lang attribute. |
void |
setBase(URI aValue)
Sets the value of the property that maps to the
base attribute. |
void |
setDateTime(XMLGregorianCalendar aValue)
Sets the value of the property that maps to the value defined by the simple content.
|
void |
setLanguage(String aValue)
Sets the value of the property that maps to the
lang attribute. |
public static final TLcdDataProperty DATE_TIME_PROPERTY
XMLGregorianCalendar
.public static final TLcdDataProperty BASE_PROPERTY
base
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LANGUAGE_PROPERTY
lang
attribute.
The possible values for this property are instances of String
.public TLcdAtomDateTime()
public TLcdAtomDateTime(TLcdDataType aType)
public TLcdAtomDateTime(XMLGregorianCalendar aCalendar)
aCalendar
- the calendar to setpublic XMLGregorianCalendar getDateTime()
DATE_TIME_PROPERTY
property.public void setDateTime(XMLGregorianCalendar aValue)
aValue
- the value to set for the DATE_TIME_PROPERTY
property.public URI getBase()
base
attribute.
BASE_PROPERTY
property.public void setBase(URI aValue)
base
attribute.
aValue
- the value to set for the BASE_PROPERTY
property.public String getLanguage()
lang
attribute.
LANGUAGE_PROPERTY
property.public void setLanguage(String aValue)
lang
attribute.
aValue
- the value to set for the LANGUAGE_PROPERTY
property.