com.konakart.app
Class KKConfiguration

java.lang.Object
  extended by com.konakart.app.KKConfiguration
All Implemented Interfaces:
KKConfigurationIf

public class KKConfiguration
extends java.lang.Object
implements KKConfigurationIf

A KonaKart Configuration object


Constructor Summary
KKConfiguration()
          Constructor
KKConfiguration(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Country object from a Record object
 
Method Summary
 java.lang.Boolean getBooleanValue()
           
 int getId()
           
 java.lang.String getKey()
          This identifies the configuration parameter.
 java.util.Calendar getLastModified()
           
 java.lang.String getStoreId()
           
 java.lang.String getValue()
          This is the actual configuration data.
 void setId(int id)
           
 void setKey(java.lang.String key)
          This identifies the configuration parameter.
 void setLastModified(java.util.Calendar lastModified)
           
 void setStoreId(java.lang.String storeId)
           
 void setValue(java.lang.String value)
          This is the actual configuration data.
 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

KKConfiguration

public KKConfiguration()
Constructor


KKConfiguration

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

toStringBrief

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

getId

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

setId

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

getKey

public java.lang.String getKey()
Description copied from interface: KKConfigurationIf
This identifies the configuration parameter.

Specified by:
getKey in interface KKConfigurationIf
Returns:
Returns the key.

setKey

public void setKey(java.lang.String key)
Description copied from interface: KKConfigurationIf
This identifies the configuration parameter.

Specified by:
setKey in interface KKConfigurationIf
Parameters:
key - The key to set.

getValue

public java.lang.String getValue()
Description copied from interface: KKConfigurationIf
This is the actual configuration data.

Specified by:
getValue in interface KKConfigurationIf
Returns:
Returns the value.

getBooleanValue

public java.lang.Boolean getBooleanValue()
Returns:
Returns the value as a Boolean. Considered to be a true boolean value if it equals Ignoring case) TRUE, YES, T, Y, or 1

setValue

public void setValue(java.lang.String value)
Description copied from interface: KKConfigurationIf
This is the actual configuration data.

Specified by:
setValue in interface KKConfigurationIf
Parameters:
value - The value to set.

getLastModified

public java.util.Calendar getLastModified()
Specified by:
getLastModified in interface KKConfigurationIf
Returns:
Returns the lastModified.

setLastModified

public void setLastModified(java.util.Calendar lastModified)
Specified by:
setLastModified in interface KKConfigurationIf
Parameters:
lastModified - The lastModified to set.

getStoreId

public java.lang.String getStoreId()
Specified by:
getStoreId in interface KKConfigurationIf
Returns:
the storeId

setStoreId

public void setStoreId(java.lang.String storeId)
Specified by:
setStoreId in interface KKConfigurationIf
Parameters:
storeId - the storeId to set


Copyright © 2011 DS Data Systems UK Ltd.