openfuture.masterdata.test
Class Language
java.lang.Object
|
+--openfuture.masterdata.MasterData
|
+--openfuture.masterdata.LDMasterData
|
+--openfuture.masterdata.test.Language
- All Implemented Interfaces:
- java.lang.Comparable, ILanguageDependent, IMasterData, java.io.Serializable
- public class Language
- extends LDMasterData
The class Language is an example for a language dependent master data class
Creation date: (10.09.00 09:56:39)
- See Also:
- Serialized Form
Constructor Summary |
Language()
Constructor |
Language(java.lang.String id,
java.lang.String language,
java.lang.String text,
java.util.Locale locale)
Constructor |
Method Summary |
java.util.Locale |
getLocale()
Return contents of field locale |
void |
setLocale(java.util.Locale newValue)
Set contents of field locale to the given value |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Language
public Language()
- Constructor
Language
public Language(java.lang.String id,
java.lang.String language,
java.lang.String text,
java.util.Locale locale)
- Constructor
- Parameters:
id
- java.lang.Stringtext
- java.lang.String
getLocale
public final java.util.Locale getLocale()
- Return contents of field locale
- Returns:
- (Locale) contents of field locale
setLocale
public final void setLocale(java.util.Locale newValue)
- Set contents of field locale to the given value
- Parameters:
newValue
- (Locale) new value for field locale
Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.