Class TLcdISO19115Date

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdISO19115Date extends TLcdISO19118Object
Describes an event and when it occurred (for example, a revision date).
Since:
10.0
  • Field Details

    • DATE_PROPERTY

      public static final TLcdDataProperty DATE_PROPERTY
      Data property that maps to the date element. The possible values for this property are instances of TLcdISO19115Optional<Object>.The value object in the optional should be either a XMLGregorianCalendar representing a date time, or an instance of TLcdXMLDataModelBuilder.getDataObjectTypeForPrimitiveType( TLcdGCODataTypes.Date_Type ) containing (optionally) an XMLGregorianCalendar representing a date, month-year or year.
    • DATE_TYPE_PROPERTY

      public static final TLcdDataProperty DATE_TYPE_PROPERTY
      Data property that maps to the dateType element. The possible values for this property are instances of TLcdISO19115Optional<TLcdISO19115DateTypeCode>.
  • Constructor Details

    • TLcdISO19115Date

      public TLcdISO19115Date()
    • TLcdISO19115Date

      public TLcdISO19115Date(TLcdDataType aType)
    • TLcdISO19115Date

      public TLcdISO19115Date(TLcdISO19115DateTypeCode aDateTypeCode, XMLGregorianCalendar aDate)
      Creates a new instance using the given date.
      Parameters:
      aDateTypeCode - identifies the event of the date
      aDate - the date value to use for the DATE_PROPERTY
      Since:
      2017.1
  • Method Details

    • getDate

      public XMLGregorianCalendar getDate()
      Returns the role value contained in the value of the DATE_PROPERTY property. Returns null if the value of the DATE_PROPERTY property is null.
      Returns:
      the role value of the DATE_PROPERTY property.
      See Also:
    • setDate

      public void setDate(XMLGregorianCalendar aValue)
      Sets the value of the property that maps to the date element. to a new instance of the association class TLcdISO19115Optional initialized with the given role value. In case the given role value is null, the DATE_PROPERTY property is set to null.
      Parameters:
      aValue - the role value to set for the DATE_PROPERTY property.
    • getDateType

      public TLcdISO19115DateTypeCode getDateType()
      Returns the role value contained in the value of the DATE_TYPE_PROPERTY property. Returns null if the value of the DATE_TYPE_PROPERTY property is null.
      Returns:
      the role value of the DATE_TYPE_PROPERTY property.
      See Also:
    • setDateType

      public void setDateType(TLcdISO19115DateTypeCode aValue)
      Sets the value of the property that maps to the dateType element. to a new instance of the association class TLcdISO19115Optional initialized with the given role value. In case the given role value is null, the DATE_TYPE_PROPERTY property is set to null.
      Parameters:
      aValue - the role value to set for the DATE_TYPE_PROPERTY property.