package caltool.model.admin.administrator; import mvp.*; /**** * * A UserRecord is the information stored about a registered user of the * Calendar Tool. The Name component is the user's real-world name. The Id is * the unique identifier by which the user is known to the Calendar Tool. The * EmailAddress is the electronic mail address used by the Calendar Tool to * contact the user when necessary. The PhoneNumber is for information * purposes; it is not used by the Calendar Tool for contacting the user. * ****/ public class UserRecord extends Model { /*-* * Derived data fields */ /** User's real-world name */ protected String name; /** Unique identifier by which the user is known to the Calendar Tool */ protected String id; /** Electronic mail address used by the Calendar Tool to contact the user when necessary */ protected EmailAddress email; /** Phone number used for infomation purposes, but not by Calendar Tool directly */ protected PhoneNumber phone; }