public class ConfigData extends java.lang.Object implements ConfigDataIf
Constructor and Description |
---|
ConfigData()
Constructor
|
ConfigData(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the ConfigData object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getDateAdded() |
int |
getId()
Get the Id
|
java.lang.String |
getKey()
Get the key
|
java.lang.String |
getValue()
Get the value
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setId(int id)
Set the id
|
void |
setKey(java.lang.String key)
Set the key
|
void |
setValue(java.lang.String value)
Set the value
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public ConfigData()
public ConfigData(com.workingdogs.village.Record vr, KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getId()
ConfigDataIf
getId
in interface ConfigDataIf
public void setId(int id)
ConfigDataIf
setId
in interface ConfigDataIf
id
- The id to set.public java.lang.String getKey()
ConfigDataIf
getKey
in interface ConfigDataIf
public void setKey(java.lang.String key)
ConfigDataIf
setKey
in interface ConfigDataIf
key
- the key to setpublic java.lang.String getValue()
ConfigDataIf
getValue
in interface ConfigDataIf
public void setValue(java.lang.String value)
ConfigDataIf
setValue
in interface ConfigDataIf
value
- the value to setpublic java.util.Calendar getDateAdded()
getDateAdded
in interface ConfigDataIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface ConfigDataIf
dateAdded
- the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.