com.konakartadmin.app
Class AdminLanguage

java.lang.Object
  extended by com.konakartadmin.app.AdminLanguage
All Implemented Interfaces:
AdminObjectIf

public class AdminLanguage
extends java.lang.Object
implements AdminObjectIf

Language object for AdminApp


Field Summary
private  java.lang.String code
          code
private  int dataLanguage
          Language to be used if this is a display-only language
private  java.lang.String directory
          directory
private  boolean displayOnly
          displayOnly
private  int id
          id
private  java.lang.String image
          image
private  java.lang.String locale
          code
private  java.lang.String name
          name
private  boolean setAsDefault
          setAsDefault
private  int sortOrder
          sortOrder
 
Constructor Summary
AdminLanguage()
          Constructor
AdminLanguage(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()
           
 int getDataLanguage()
           
 java.lang.String getDirectory()
           
 int getId()
           
 java.lang.String getImage()
           
 java.lang.String getLocale()
           
 java.lang.String getName()
           
 int getSortOrder()
           
 boolean isDisplayOnly()
           
 boolean isSetAsDefault()
           
 void setCode(java.lang.String code)
           
 void setDataLanguage(int dataLanguage)
           
 void setDirectory(java.lang.String directory)
           
 void setDisplayOnly(boolean displayOnly)
           
 void setId(int id)
           
 void setImage(java.lang.String image)
           
 void setLocale(java.lang.String locale)
           
 void setName(java.lang.String name)
           
 void setSetAsDefault(boolean setAsDefault)
           
 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
 

Field Detail

id

private int id
id


name

private java.lang.String name
name


code

private java.lang.String code
code


locale

private java.lang.String locale
code


image

private java.lang.String image
image


directory

private java.lang.String directory
directory


sortOrder

private int sortOrder
sortOrder


setAsDefault

private boolean setAsDefault
setAsDefault


displayOnly

private boolean displayOnly
displayOnly


dataLanguage

private int dataLanguage
Language to be used if this is a display-only language

Constructor Detail

AdminLanguage

public AdminLanguage()
Constructor


AdminLanguage

public AdminLanguage(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()
Specified by:
toString in interface AdminObjectIf
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()
Returns:
Returns the code.

setCode

public void setCode(java.lang.String code)
Parameters:
code - The code to set.

getDirectory

public java.lang.String getDirectory()
Returns:
Returns the directory.

setDirectory

public void setDirectory(java.lang.String directory)
Parameters:
directory - The directory to set.

getId

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

setId

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

getImage

public java.lang.String getImage()
Returns:
Returns the image.

setImage

public void setImage(java.lang.String image)
Parameters:
image - The image to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getSortOrder

public int getSortOrder()
Returns:
Returns the sortOrder.

setSortOrder

public void setSortOrder(int sortOrder)
Parameters:
sortOrder - The sortOrder to set.

isSetAsDefault

public boolean isSetAsDefault()
Returns:
Returns the setAsDefault.

setSetAsDefault

public void setSetAsDefault(boolean setAsDefault)
Parameters:
setAsDefault - The setAsDefault to set.

getLocale

public java.lang.String getLocale()
Returns:
the locale

setLocale

public void setLocale(java.lang.String locale)
Parameters:
locale - the locale to set

isDisplayOnly

public boolean isDisplayOnly()
Returns:
the displayOnly

setDisplayOnly

public void setDisplayOnly(boolean displayOnly)
Parameters:
displayOnly - the displayOnly to set

getDataLanguage

public int getDataLanguage()
Returns:
the dataLanguage

setDataLanguage

public void setDataLanguage(int dataLanguage)
Parameters:
dataLanguage - the dataLanguage to set


Copyright © 2011 DS Data Systems UK Ltd.