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 TLcdDataPropertyData property that maps to thedateelement.static final TLcdDataPropertyData property that maps to thedateTypeelement.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_PROPERTYproperty.Returns the role value contained in the value of theDATE_TYPE_PROPERTYproperty.voidsetDate(XMLGregorianCalendar aValue) Sets the value of the property that maps to thedateelement.voidsetDateType(TLcdISO19115DateTypeCode aValue) Sets the value of the property that maps to thedateTypeelement.Methods inherited from class com.luciad.format.metadata.model.util.TLcdISO19118Object
getId, getUuid, setId, setUuid
-
Field Details
-
DATE_PROPERTY
Data property that maps to thedateelement. 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 thedateTypeelement. 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_PROPERTYproperty. Returnsnullif the value of theDATE_PROPERTYproperty isnull.- Returns:
- the role value of the
DATE_PROPERTYproperty. - See Also:
-
setDate
Sets the value of the property that maps to thedateelement. to a new instance of the association classTLcdISO19115Optionalinitialized with the given role value. In case the given role value isnull, theDATE_PROPERTYproperty is set tonull.- Parameters:
aValue- the role value to set for theDATE_PROPERTYproperty.
-
getDateType
Returns the role value contained in the value of theDATE_TYPE_PROPERTYproperty. Returnsnullif the value of theDATE_TYPE_PROPERTYproperty isnull.- Returns:
- the role value of the
DATE_TYPE_PROPERTYproperty. - See Also:
-
setDateType
Sets the value of the property that maps to thedateTypeelement. to a new instance of the association classTLcdISO19115Optionalinitialized with the given role value. In case the given role value isnull, theDATE_TYPE_PROPERTYproperty is set tonull.- Parameters:
aValue- the role value to set for theDATE_TYPE_PROPERTYproperty.
-