note description: "Information related to change event." date: "$Date$" revision: "$Revision$" class CMS_RECENT_CHANGE_ITEM inherit COMPARABLE create make feature {NONE} -- Initialization make (a_source: READABLE_STRING_8; lnk: CMS_LOCAL_LINK; a_date_time: DATE_TIME) do source := a_source link := lnk date := a_date_time end feature -- Access link: CMS_LOCAL_LINK -- Local link associated with the resource. date: DATE_TIME -- Time of the event item. author: detachable CMS_USER -- Optional author. source: READABLE_STRING_8 -- Source of Current event. information: detachable READABLE_STRING_8 -- Optional information related to Current event. --| For instance: creation, trashed, modified, ... feature -- Element change set_author (u: like author) -- Set `author' to `u'. do author := u end set_information (a_info: like information) -- Set `information' to `a_info'. do information := a_info end feature -- Comparison is_less alias "<" (other: like Current): BOOLEAN -- do Result := date < other.date end end