com.konakartadmin.app
Class AdminConfigData

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

public class AdminConfigData
extends java.lang.Object
implements AdminObjectIf

AdminConfigData object for the Admin App


Field Summary
private  java.util.Calendar dateAdded
          Date when this object was created
private  int id
          The value for the Id field
private  java.lang.String key
          The value for the key field
private  java.lang.String value
          The value for the value field
 
Constructor Summary
AdminConfigData()
          Constructor
AdminConfigData(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminConfigData object from a Record object
 
Method Summary
 java.util.Calendar getDateAdded()
           
 int getId()
           
 java.lang.String getKey()
           
 java.lang.String getValue()
           
 void setDateAdded(java.util.Calendar _dateAdded)
           
 void setId(int _id)
           
 void setKey(java.lang.String _key)
           
 void setValue(java.lang.String _value)
           
 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
The value for the Id field


key

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


value

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


dateAdded

private java.util.Calendar dateAdded
Date when this object was created

Constructor Detail

AdminConfigData

public AdminConfigData()
Constructor


AdminConfigData

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

toStringBrief

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

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.

getKey

public java.lang.String getKey()
Returns:
the key

setKey

public void setKey(java.lang.String _key)
Parameters:
_key - the key to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String _value)
Parameters:
_value - the value to set

getDateAdded

public java.util.Calendar getDateAdded()
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
Parameters:
_dateAdded - the dateAdded to set


Copyright © 2011 DS Data Systems UK Ltd.