com.konakart.app
Class Language

java.lang.Object
  extended by com.konakart.app.Language
All Implemented Interfaces:
LanguageIf

public class Language
extends java.lang.Object
implements LanguageIf

Language class


Constructor Summary
Language()
          Constructor
Language(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Language object from a Record object
 
Method Summary
 java.lang.String getCode()
          Examples of the code are en, es, de etc.
 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()
           
 void setCode(java.lang.String code)
          Examples of the code are en, es, de etc.
 void setDirectory(java.lang.String directory)
          Examples of the directory are english, german, espanol etc.
 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)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Language

public Language()
Constructor


Language

public Language(com.workingdogs.village.Record vr,
                org.apache.torque.util.Criteria c)
         throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Language object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Language object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Language object.

getCode

public java.lang.String getCode()
Description copied from interface: LanguageIf
Examples of the code are en, es, de etc.

Specified by:
getCode in interface LanguageIf
Returns:
Returns the code.

setCode

public void setCode(java.lang.String code)
Description copied from interface: LanguageIf
Examples of the code are en, es, de etc.

Specified by:
setCode in interface LanguageIf
Parameters:
code - The code to set.

getDirectory

public java.lang.String getDirectory()
Description copied from interface: LanguageIf
Examples of the directory are english, german, espanol etc.

Specified by:
getDirectory in interface LanguageIf
Returns:
Returns the directory.

setDirectory

public void setDirectory(java.lang.String directory)
Description copied from interface: LanguageIf
Examples of the directory are english, german, espanol etc.

Specified by:
setDirectory in interface LanguageIf
Parameters:
directory - The directory to set.

getId

public int getId()
Specified by:
getId in interface LanguageIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface LanguageIf
Parameters:
id - The id to set.

getImage

public java.lang.String getImage()
Description copied from interface: LanguageIf
Normally a flag of the country where the language is spoken, stored in the directory of images specific to this language.

Specified by:
getImage in interface LanguageIf
Returns:
Returns the image.

setImage

public void setImage(java.lang.String image)
Description copied from interface: LanguageIf
Normally a flag of the country where the language is spoken, stored in the directory of images specific to this language.

Specified by:
setImage in interface LanguageIf
Parameters:
image - The image to set.

getName

public java.lang.String getName()
Specified by:
getName in interface LanguageIf
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Specified by:
setName in interface LanguageIf
Parameters:
name - The name to set.

getSortOrder

public int getSortOrder()
Specified by:
getSortOrder in interface LanguageIf
Returns:
Returns the sortOrder.

setSortOrder

public void setSortOrder(int sortOrder)
Specified by:
setSortOrder in interface LanguageIf
Parameters:
sortOrder - The sortOrder to set.

getLocale

public java.lang.String getLocale()
Specified by:
getLocale in interface LanguageIf
Returns:
the locale

setLocale

public void setLocale(java.lang.String locale)
Specified by:
setLocale in interface LanguageIf
Parameters:
locale - the locale to set


Copyright © 2011 DS Data Systems UK Ltd.