Fish & Chips Club 4.10.0.0

hirondelle.fish.translate.locale
Class SupportedLocale

Object
  extended by hirondelle.fish.translate.locale.SupportedLocale

public final class SupportedLocale
extends Object

Model Object for the Locales supported by this application.


Constructor Summary
SupportedLocale(Id aId, SafeText aShortForm, SafeText aDescription)
          Constructor.
 
Method Summary
 boolean equals(Object aThat)
           
 SafeText getDescription()
          Return the Description passed to the constructor.
 Id getId()
          Return the Id passed to the constructor.
 SafeText getShortForm()
          Return the ShortForm 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

SupportedLocale

public SupportedLocale(Id aId,
                       SafeText aShortForm,
                       SafeText aDescription)
                throws ModelCtorException
Constructor.

Parameters:
aId - underlying database internal identifier (optional), 1..50 characters
aShortForm - mnemonic in the format of Locale.toString(), has content, 2..50 characters
aDescription - of the Locale, has content, 2..50 characters
Throws:
ModelCtorException
Method Detail

getId

public Id getId()
Return the Id passed to the constructor.


getShortForm

public SafeText getShortForm()
Return the ShortForm passed to the constructor.


getDescription

public SafeText getDescription()
Return the Description 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