001package com.hfg.util; 002 003import java.time.ZoneOffset; 004 005//------------------------------------------------------------------------------ 006/** 007 Interface for a basic user object. 008 <div> 009 @author J. Alex Taylor, hairyfatguy.com 010 </div> 011 */ 012//------------------------------------------------------------------------------ 013// com.hfg XML/HTML Coding Library 014// 015// This library is free software; you can redistribute it and/or 016// modify it under the terms of the GNU Lesser General Public 017// License as published by the Free Software Foundation; either 018// version 2.1 of the License, or (at your option) any later version. 019// 020// This library is distributed in the hope that it will be useful, 021// but WITHOUT ANY WARRANTY; without even the implied warranty of 022// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 023// Lesser General Public License for more details. 024// 025// You should have received a copy of the GNU Lesser General Public 026// License along with this library; if not, write to the Free Software 027// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 028// 029// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com 030// jataylor@hairyfatguy.com 031//------------------------------------------------------------------------------ 032 033public interface User extends Comparable 034{ 035 036 public User setUID(String inValue); 037 038 public String getUID(); 039 040 041 public User setName(String inValue); 042 043 public String getName(); 044 045 046 public User setFirstName(String inValue); 047 048 public String getFirstName(); 049 050 051 public User setPreferredName(String inValue); 052 053 public String getPreferredName(); 054 055 056 public User setSurname(String inValue); 057 058 public String getSurname(); 059 060 061 public User setDomain(String inValue); 062 063 public String getDomain(); 064 065 066 public User setEmail(String inValue); 067 068 public String getEmail(); 069 070 071 public User setPhoneNumber(String inValue); 072 073 public String getPhoneNumber(); 074 075 076 public User setImageUrl(String inValue); 077 078 public String getImageUrl(); 079 080 081 public User setClientHost(String inValue); 082 083 public String getClientHost(); 084 085 086 public User setClientHostIP(String inValue); 087 088 public String getClientHostIP(); 089 090 091 public User setTimezoneOffset(ZoneOffset inValue); 092 093 public ZoneOffset getTimezoneOffset(); 094 095 096 public User setField(String inName, String inValue); 097 098 public String getField(String inName); 099}