com.konakartadmin.app
Class KKConfiguration

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

public class KKConfiguration
extends java.lang.Object
implements AdminObjectIf

Configuration object for the Admin App


Field Summary
private  java.lang.String configurationDescription
          The value for the configurationDescription field
private  int configurationGroupId
          The value for the configurationGroupId field
private  int configurationId
          The value for the configurationId field
private  java.lang.String configurationKey
          The value for the configurationKey field
private  java.lang.String configurationTitle
          The value for the configurationTitle field
private  java.lang.String configurationValue
          The value for the configurationValue field
private  java.util.Date dateAdded
          The value for the dateAdded field
private  java.util.Date lastModified
          The value for the lastModified field
private  boolean returnByApi
          returnByApi
private  java.lang.String setFunction
          The value for the setFunction field
private  int sortOrder
          The value for the sortOrder field
private  int statusId
          The value for the configurationId field - this isn't persisted in the database
private  java.lang.String useFunction
          The value for the useFunction field
 
Constructor Summary
KKConfiguration()
          Constructor
KKConfiguration(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Configuration object from a Record object
KKConfiguration(java.lang.String title, java.lang.String key, java.lang.String value, java.lang.String description, int groupId, int sortO, java.lang.String useFun, java.lang.String setFun, java.util.Date dateAdd)
          Instantiates the attributes of the KKConfiguration object from a bunch of parameters:
KKConfiguration(java.lang.String title, java.lang.String key, java.lang.String value, java.lang.String description, int groupId, int sortO, java.lang.String useFun, java.lang.String setFun, java.util.Date dateAdd, boolean returnByApi)
          Instantiates the attributes of the KKConfiguration object from a bunch of parameters:
 
Method Summary
 java.lang.String getConfigurationDescription()
          Get the ConfigurationDescription
 int getConfigurationGroupId()
          Get the ConfigurationGroupId
 int getConfigurationId()
          Get the ConfigurationId
 java.lang.String getConfigurationKey()
          Get the ConfigurationKey
 java.lang.String getConfigurationTitle()
          Get the ConfigurationTitle
 java.lang.String getConfigurationValue()
          Get the ConfigurationValue
 java.util.Date getDateAdded()
          Get the DateAdded
 int getId()
           
 java.util.Date getLastModified()
          Get the lastModified
 java.lang.String getSetFunction()
          Get the SetFunction
 int getSortOrder()
          Get the SortOrder
 int getStatusId()
           
 java.lang.String getUseFunction()
          Get the UseFunction
 boolean isReturnByApi()
           
 void setConfigurationDescription(java.lang.String configurationDescription)
          Set the value of configurationDescription
 void setConfigurationGroupId(int configurationGroupId)
          Set the value of configurationGroupId
 void setConfigurationId(int configurationId)
          Set the value of configurationId
 void setConfigurationKey(java.lang.String configurationKey)
          Set the value of configurationKey
 void setConfigurationTitle(java.lang.String configurationTitle)
          Set the value of configurationTitle
 void setConfigurationValue(java.lang.String configurationValue)
          Set the value of configurationValue
 void setDateAdded(java.util.Date dateAdded)
          Set the value of dateAdded
 void setId(int id)
          Set the configurationId to id
 void setLastModified(java.util.Date lastModified)
          Set the value of lastModified
 void setReturnByApi(boolean returnByApi)
           
 void setSetFunction(java.lang.String setFunction)
          Set the value of setFunction
 void setSortOrder(int sortOrder)
          Set the value of sortOrder
 void setStatusId(int statusId)
           
 void setUseFunction(java.lang.String useFunction)
          Set the value of useFunction
 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

statusId

private int statusId
The value for the configurationId field - this isn't persisted in the database


configurationId

private int configurationId
The value for the configurationId field


configurationTitle

private java.lang.String configurationTitle
The value for the configurationTitle field


configurationKey

private java.lang.String configurationKey
The value for the configurationKey field


configurationValue

private java.lang.String configurationValue
The value for the configurationValue field


configurationDescription

private java.lang.String configurationDescription
The value for the configurationDescription field


configurationGroupId

private int configurationGroupId
The value for the configurationGroupId field


sortOrder

private int sortOrder
The value for the sortOrder field


lastModified

private java.util.Date lastModified
The value for the lastModified field


dateAdded

private java.util.Date dateAdded
The value for the dateAdded field


useFunction

private java.lang.String useFunction
The value for the useFunction field


setFunction

private java.lang.String setFunction
The value for the setFunction field


returnByApi

private boolean returnByApi
returnByApi

Constructor Detail

KKConfiguration

public KKConfiguration()
Constructor


KKConfiguration

public KKConfiguration(java.lang.String title,
                       java.lang.String key,
                       java.lang.String value,
                       java.lang.String description,
                       int groupId,
                       int sortO,
                       java.lang.String useFun,
                       java.lang.String setFun,
                       java.util.Date dateAdd)
Instantiates the attributes of the KKConfiguration object from a bunch of parameters:

Parameters:
title -
key -
value -
description -
groupId -
sortO -
useFun -
setFun -
dateAdd -

KKConfiguration

public KKConfiguration(java.lang.String title,
                       java.lang.String key,
                       java.lang.String value,
                       java.lang.String description,
                       int groupId,
                       int sortO,
                       java.lang.String useFun,
                       java.lang.String setFun,
                       java.util.Date dateAdd,
                       boolean returnByApi)
Instantiates the attributes of the KKConfiguration object from a bunch of parameters:

Parameters:
title -
key -
value -
description -
groupId -
sortO -
useFun -
setFun -
dateAdd -
returnByApi -

KKConfiguration

public KKConfiguration(com.workingdogs.village.Record vr,
                       org.apache.torque.util.Criteria c)
                throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Configuration 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 Configuration object.

toStringBrief

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

getConfigurationId

public int getConfigurationId()
Get the ConfigurationId

Returns:
int

setConfigurationId

public void setConfigurationId(int configurationId)
Set the value of configurationId

Parameters:
configurationId - new value

getConfigurationTitle

public java.lang.String getConfigurationTitle()
Get the ConfigurationTitle

Returns:
String

setConfigurationTitle

public void setConfigurationTitle(java.lang.String configurationTitle)
Set the value of configurationTitle

Parameters:
configurationTitle - new value

getConfigurationKey

public java.lang.String getConfigurationKey()
Get the ConfigurationKey

Returns:
String

setConfigurationKey

public void setConfigurationKey(java.lang.String configurationKey)
Set the value of configurationKey

Parameters:
configurationKey - new value

getConfigurationValue

public java.lang.String getConfigurationValue()
Get the ConfigurationValue

Returns:
String

setConfigurationValue

public void setConfigurationValue(java.lang.String configurationValue)
Set the value of configurationValue

Parameters:
configurationValue - new value

getConfigurationDescription

public java.lang.String getConfigurationDescription()
Get the ConfigurationDescription

Returns:
String

setConfigurationDescription

public void setConfigurationDescription(java.lang.String configurationDescription)
Set the value of configurationDescription

Parameters:
configurationDescription - new value

getConfigurationGroupId

public int getConfigurationGroupId()
Get the ConfigurationGroupId

Returns:
int

setConfigurationGroupId

public void setConfigurationGroupId(int configurationGroupId)
Set the value of configurationGroupId

Parameters:
configurationGroupId - new value

getSortOrder

public int getSortOrder()
Get the SortOrder

Returns:
int

setSortOrder

public void setSortOrder(int sortOrder)
Set the value of sortOrder

Parameters:
sortOrder - new value

getLastModified

public java.util.Date getLastModified()
Get the lastModified

Returns:
Date

setLastModified

public void setLastModified(java.util.Date lastModified)
Set the value of lastModified

Parameters:
lastModified - new value

getDateAdded

public java.util.Date getDateAdded()
Get the DateAdded

Returns:
Date

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Set the value of dateAdded

Parameters:
dateAdded - new value

getUseFunction

public java.lang.String getUseFunction()
Get the UseFunction

Returns:
String

setUseFunction

public void setUseFunction(java.lang.String useFunction)
Set the value of useFunction

Parameters:
useFunction - new value

getSetFunction

public java.lang.String getSetFunction()
Get the SetFunction

Returns:
String

setSetFunction

public void setSetFunction(java.lang.String setFunction)
Set the value of setFunction

Parameters:
setFunction - new value

getStatusId

public int getStatusId()
Returns:
the statusId

setStatusId

public void setStatusId(int statusId)
Parameters:
statusId - the statusId to set

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id which is equal to the configurationId

setId

public void setId(int id)
Set the configurationId to id

Specified by:
setId in interface AdminObjectIf
Parameters:
id -

isReturnByApi

public boolean isReturnByApi()
Returns:
the returnByApi

setReturnByApi

public void setReturnByApi(boolean returnByApi)
Parameters:
returnByApi - the returnByApi to set


Copyright © 2011 DS Data Systems UK Ltd.