|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_Language
public class J_Language
Describes a language for use within KonaKart
| Constructor Summary | |
|---|---|
J_Language()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()
Examples of the code are en, es, de etc. |
int |
getDataLanguageId()
For languages that are not display-only this id will be the same as the language Id. |
java.lang.String |
getDirectory()
Examples of the directory are english, german, espanol etc. |
int |
getId()
|
java.lang.String |
getImage()
Normally a flag of the country where the language is spoken, stored in the directory of images specific to this language. |
java.lang.String |
getLocale()
|
java.lang.String |
getName()
|
int |
getSortOrder()
|
boolean |
isDisplayOnly()
If a language is marked as display-only it is not used as a language for providing translations for the various KonaKart entities that need translations for each language - such as products and categories etc. |
void |
setCode(java.lang.String _code)
Examples of the code are en, es, de etc. |
void |
setDataLanguageId(int _dataLanguageId)
|
void |
setDirectory(java.lang.String _directory)
Examples of the directory are english, german, espanol etc. |
void |
setDisplayOnly(boolean _displayOnly)
|
void |
setId(int _id)
|
void |
setImage(java.lang.String _image)
Normally a flag of the country where the language is spoken, stored in the directory of images specific to this language. |
void |
setLocale(java.lang.String _locale)
|
void |
setName(java.lang.String _name)
|
void |
setSortOrder(int _sortOrder)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J_Language()
| Method Detail |
|---|
public java.lang.String getCode()
public void setCode(java.lang.String _code)
_code - The code to set.public java.lang.String getDirectory()
public void setDirectory(java.lang.String _directory)
_directory - The directory to set.public java.lang.String getLocale()
public void setLocale(java.lang.String _locale)
_locale - the locale to setpublic int getId()
public void setId(int _id)
_id - The id to set.public java.lang.String getImage()
public void setImage(java.lang.String _image)
_image - The image to set.public java.lang.String getName()
public void setName(java.lang.String _name)
_name - The name to set.public int getSortOrder()
public void setSortOrder(int _sortOrder)
_sortOrder - The sortOrder to set.public boolean isDisplayOnly()
public void setDisplayOnly(boolean _displayOnly)
_displayOnly - the displayOnly to setpublic int getDataLanguageId()
public void setDataLanguageId(int _dataLanguageId)
_dataLanguageId - the dataLanguageId to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||