Fish & Chips Club 4.10.0.0

hirondelle.fish.all.preferences
Class Preferences

Object
  extended by hirondelle.fish.all.preferences.Preferences

public final class Preferences
extends Object

User preferences.

Each application will have a different set of user preferences. This application has only one user preference - the Locale - but many applications will have more than one user preference.

User preferences are placed into session scope by the Login.


Constructor Summary
Preferences(SafeText aUserName, Locale aLocale)
          Constructor.
 
Method Summary
 boolean equals(Object aThat)
           
 Locale getLocale()
          Return the locale passed to the constructor.
 SafeText getUserName()
          Return the user name passed to the constructor.
 int hashCode()
           
 String toString()
          Intended for debugging only.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preferences

public Preferences(SafeText aUserName,
                   Locale aLocale)
            throws ModelCtorException
Constructor.

Parameters:
aUserName - required, 6..50 characters, no spaces.
aLocale - required.
Throws:
ModelCtorException
Method Detail

getUserName

public SafeText getUserName()
Return the user name passed to the constructor.


getLocale

public Locale getLocale()
Return the locale passed to the constructor.


toString

public String toString()
Intended for debugging only.

Overrides:
toString in class Object

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26