|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminZone
public class AdminZone
This is the AdminZone class - it has zoneId, countryId, code and name. Each country can have one or more zones.
Field Summary | |
---|---|
private java.lang.String |
custom1
The value for the custom1 field |
private java.lang.String |
custom2
The value for the custom2 field |
private java.lang.String |
custom3
The value for the custom3 field |
private java.lang.String |
zoneCode
The zoneCode field |
private java.lang.String |
zoneCountryCatKey
The zoneCountryCatKey field - not in the d/b |
private int |
zoneCountryId
The zoneCountryId field |
private java.lang.String |
zoneCountryName
The zoneCountryName field - not in the d/b |
private int |
zoneId
The zoneId field |
private boolean |
zoneInvisible
The value for the invisible field |
private java.lang.String |
zoneName
The zoneName field |
private java.lang.String |
zoneSearch
The value for the search field |
Constructor Summary | |
---|---|
AdminZone()
Constructor |
|
AdminZone(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the AdminZone object from a Record object |
Method Summary | |
---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
int |
getId()
|
java.lang.String |
getZoneCode()
Get the ZoneCode |
java.lang.String |
getZoneCountryCatKey()
|
int |
getZoneCountryId()
Get the ZoneCountryId |
java.lang.String |
getZoneCountryName()
|
int |
getZoneId()
Get the ZoneId |
java.lang.String |
getZoneName()
Get the ZoneName |
java.lang.String |
getZoneSearch()
Used to search match a search string when searching for the zone |
boolean |
isZoneInvisible()
Determines whether the zone is retrieved by API calls for being displayed in the UI for selection purposes. |
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setId(int id)
Set the zoneId to id |
void |
setZoneCode(java.lang.String zoneCode)
Set the value of zoneCode |
void |
setZoneCountryCatKey(java.lang.String zoneCountryCatKey)
|
void |
setZoneCountryId(int zoneCountryId)
Set the value of zoneCountryId |
void |
setZoneCountryName(java.lang.String zoneCountryName)
|
void |
setZoneId(int zoneId)
Set the value of zoneId |
void |
setZoneInvisible(boolean zoneInvisible)
Determines whether the zone is retrieved by API calls for being displayed in the UI for selection purposes. |
void |
setZoneName(java.lang.String zoneName)
Set the value of zoneName |
void |
setZoneSearch(java.lang.String zoneSearch)
Used to search match a search string when searching for the zone |
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 |
---|
private int zoneId
private int zoneCountryId
private java.lang.String zoneCode
private java.lang.String zoneName
private java.lang.String zoneCountryName
private java.lang.String zoneCountryCatKey
private boolean zoneInvisible
private java.lang.String zoneSearch
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
Constructor Detail |
---|
public AdminZone()
public AdminZone(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column names
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in interface AdminObjectIf
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getZoneId()
public void setZoneId(int zoneId)
zoneId
- new valuepublic int getZoneCountryId()
public void setZoneCountryId(int zoneCountryId)
zoneCountryId
- new valuepublic java.lang.String getZoneCode()
public void setZoneCode(java.lang.String zoneCode)
zoneCode
- new valuepublic java.lang.String getZoneName()
public void setZoneName(java.lang.String zoneName)
zoneName
- new valuepublic java.lang.String getZoneCountryName()
public void setZoneCountryName(java.lang.String zoneCountryName)
zoneCountryName
- The zoneCountryName to set.public int getId()
getId
in interface AdminObjectIf
public void setId(int id)
setId
in interface AdminObjectIf
id
- public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic boolean isZoneInvisible()
public void setZoneInvisible(boolean zoneInvisible)
zoneInvisible
- the zoneInvisible to setpublic java.lang.String getZoneSearch()
public void setZoneSearch(java.lang.String zoneSearch)
zoneSearch
- the zoneSearch to setpublic java.lang.String getZoneCountryCatKey()
public void setZoneCountryCatKey(java.lang.String zoneCountryCatKey)
zoneCountryCatKey
- the zoneCountryCatKey to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |