Class TLcdISO19115Date
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.metadata.model.util.TLcdISO19118Object
com.luciad.format.metadata.model.citation.TLcdISO19115Date
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Describes an
event
and when it occurred (for example, a revision date).- Since:
- 10.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thedate
element.static final TLcdDataProperty
Data property that maps to thedateType
element.Fields inherited from class com.luciad.format.metadata.model.util.TLcdISO19118Object
ID_PROPERTY, UUID_PROPERTY
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdISO19115Date
(TLcdDataType aType) TLcdISO19115Date
(TLcdISO19115DateTypeCode aDateTypeCode, XMLGregorianCalendar aDate) Creates a new instance using the given date. -
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Returns the role value contained in the value of theDATE_PROPERTY
property.Returns the role value contained in the value of theDATE_TYPE_PROPERTY
property.void
setDate
(XMLGregorianCalendar aValue) Sets the value of the property that maps to thedate
element.void
setDateType
(TLcdISO19115DateTypeCode aValue) Sets the value of the property that maps to thedateType
element.Methods inherited from class com.luciad.format.metadata.model.util.TLcdISO19118Object
getId, getUuid, setId, setUuid
-
Field Details
-
DATE_PROPERTY
Data property that maps to thedate
element. The possible values for this property are instances of
.The value object in the optional should be either a XMLGregorianCalendar representing a date time, or an instance ofTLcdISO19115Optional
<Object>TLcdXMLDataModelBuilder.getDataObjectTypeForPrimitiveType( TLcdGCODataTypes.Date_Type )
containing (optionally) an XMLGregorianCalendar representing a date, month-year or year. -
DATE_TYPE_PROPERTY
Data property that maps to thedateType
element. The possible values for this property are instances ofTLcdISO19115Optional<TLcdISO19115DateTypeCode>
.
-
-
Constructor Details
-
TLcdISO19115Date
public TLcdISO19115Date() -
TLcdISO19115Date
-
TLcdISO19115Date
Creates a new instance using the given date.- Parameters:
aDateTypeCode
- identifies the event of the dateaDate
- the date value to use for theDATE_PROPERTY
- Since:
- 2017.1
-
-
Method Details
-
getDate
Returns the role value contained in the value of theDATE_PROPERTY
property. Returnsnull
if the value of theDATE_PROPERTY
property isnull
.- Returns:
- the role value of the
DATE_PROPERTY
property. - See Also:
-
setDate
Sets the value of the property that maps to thedate
element. to a new instance of the association classTLcdISO19115Optional
initialized with the given role value. In case the given role value isnull
, theDATE_PROPERTY
property is set tonull
.- Parameters:
aValue
- the role value to set for theDATE_PROPERTY
property.
-
getDateType
Returns the role value contained in the value of theDATE_TYPE_PROPERTY
property. Returnsnull
if the value of theDATE_TYPE_PROPERTY
property isnull
.- Returns:
- the role value of the
DATE_TYPE_PROPERTY
property. - See Also:
-
setDateType
Sets the value of the property that maps to thedateType
element. to a new instance of the association classTLcdISO19115Optional
initialized with the given role value. In case the given role value isnull
, theDATE_TYPE_PROPERTY
property is set tonull
.- Parameters:
aValue
- the role value to set for theDATE_TYPE_PROPERTY
property.
-