|
|||||||||
| 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 |
zoneCode
The zoneCode field |
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 java.lang.String |
zoneName
The zoneName 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 | |
|---|---|
int |
getId()
|
java.lang.String |
getZoneCode()
Get the ZoneCode |
int |
getZoneCountryId()
Get the ZoneCountryId |
java.lang.String |
getZoneCountryName()
|
int |
getZoneId()
Get the ZoneId |
java.lang.String |
getZoneName()
Get the ZoneName |
void |
setId(int id)
Set the zoneId to id |
void |
setZoneCode(java.lang.String v)
Set the value of ZoneCode |
void |
setZoneCountryId(int v)
Set the value of ZoneCountryId |
void |
setZoneCountryName(java.lang.String zoneCountryName)
|
void |
setZoneId(int v)
Set the value of ZoneId |
void |
setZoneName(java.lang.String v)
Set the value of ZoneName |
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
| 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 int getZoneId()
public void setZoneId(int v)
v - new valuepublic int getZoneCountryId()
public void setZoneCountryId(int v)
v - new valuepublic java.lang.String getZoneCode()
public void setZoneCode(java.lang.String v)
v - new valuepublic java.lang.String getZoneName()
public void setZoneName(java.lang.String v)
v - new valuepublic java.lang.String toString()
toString in interface AdminObjectIftoString in class java.lang.Objectpublic java.lang.String toStringBrief()
public java.lang.String getZoneCountryName()
public void setZoneCountryName(java.lang.String zoneCountryName)
zoneCountryName - The zoneCountryName to set.public int getId()
getId in interface AdminObjectIfpublic void setId(int id)
setId in interface AdminObjectIfid -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||