Class DocumentTemplate

    • Constructor Detail

      • DocumentTemplate

        public DocumentTemplate()
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Method equals.
        Overrides:
        equals in class Object
        Parameters:
        other -
        Returns:
        boolean
      • getDate

        public Date getDate()
        Get the date and time when the template was last modified, prior to being used to create the current document. Use the ISO 8601 format "yyyy-MM-dd'T'HH:mm:ss.SSS" in xml.
        Returns:
        Date
      • getHref

        public String getHref()
        Get the location of the document template.
        Returns:
        String
      • getTitle

        public String getTitle()
        Get the name of the document template.
        Returns:
        String
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        int
      • setDate

        public void setDate​(Date date)
        Set the date and time when the template was last modified, prior to being used to create the current document. Use the ISO 8601 format "yyyy-MM-dd'T'HH:mm:ss.SSS" in xml.
        Parameters:
        date -
      • setHref

        public void setHref​(String href)
        Set the location of the document template.
        Parameters:
        href -
      • setModifydate

        public void setModifydate​(String modifydate)
        Set the date as String (recommended format is ISO 8601) when the template was last modified. Only used if date is not set.
        Parameters:
        modifydate -
        Since:
        1.1.1.
      • setTitle

        public void setTitle​(String title)
        Set the name of the document template.
        Parameters:
        title -
      • toString

        public String toString()
        Method toString.
        Overrides:
        toString in class Object
        Returns:
        String
      • getModifydate

        public String getModifydate()
        Get the date and time when the template was last modified.
        Returns:
        the getDate() if setted, formatted using ISO-8601 English format, otherwise return the modifydate.
        Since:
        1.1.1
        See Also:
        getDate()