Class RevisionMetadataType

    • Constructor Detail

      • RevisionMetadataType

        public RevisionMetadataType​(Number revision,
                                    Date date,
                                    String author)
        The constructor.
        Parameters:
        revision - the revision.
        date - the date.
        author - the author.
    • Method Detail

      • getDate

        public Date getDate()
        Description copied from interface: RevisionMetadata
        This method gets the date when this revision was created (closed).
        Specified by:
        getDate in interface RevisionMetadata
        Returns:
        the date of completion or null if the according entity is the latest revision.
      • getAuthor

        public String getAuthor()
        Description copied from interface: RevisionMetadata
        This method gets the identifier (login) of the author who created this revision.
        Specified by:
        getAuthor in interface RevisionMetadata
        Returns:
        the author. May be null (if committed outside user scope).