|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.app.GeoZone
public class GeoZone
This is the GeoZone class - it has geo zoneId, geo name, geo description. Note that there's 3 related tables: zones, geo_zones and zones_to_geo_zones "joins" them together.
Constructor Summary | |
---|---|
GeoZone()
Constructor |
|
GeoZone(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the GeoZone object from a Record object |
Method Summary | |
---|---|
java.lang.String |
getGeoZoneDescription()
e.g. |
int |
getGeoZoneId()
|
java.lang.String |
getGeoZoneName()
e.g. |
void |
setGeoZoneDescription(java.lang.String geoZoneDescription)
e.g. |
void |
setGeoZoneId(int geoZoneId)
|
void |
setGeoZoneName(java.lang.String geoZoneName)
e.g. |
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 |
---|
public GeoZone()
public GeoZone(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 class java.lang.Object
public java.lang.String toStringBrief()
public java.lang.String getGeoZoneDescription()
GeoZoneIf
getGeoZoneDescription
in interface GeoZoneIf
public void setGeoZoneDescription(java.lang.String geoZoneDescription)
GeoZoneIf
setGeoZoneDescription
in interface GeoZoneIf
geoZoneDescription
- the geoZoneDescription to setpublic int getGeoZoneId()
getGeoZoneId
in interface GeoZoneIf
public void setGeoZoneId(int geoZoneId)
setGeoZoneId
in interface GeoZoneIf
geoZoneId
- the geoZoneId to setpublic java.lang.String getGeoZoneName()
GeoZoneIf
getGeoZoneName
in interface GeoZoneIf
public void setGeoZoneName(java.lang.String geoZoneName)
GeoZoneIf
setGeoZoneName
in interface GeoZoneIf
geoZoneName
- the geoZoneName to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |