com.konakart.app
Class GeoZone

java.lang.Object
  extended by com.konakart.app.GeoZone
All Implemented Interfaces:
GeoZoneIf

public class GeoZone
extends java.lang.Object
implements GeoZoneIf

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

GeoZone

public GeoZone()
Constructor


GeoZone

public GeoZone(com.workingdogs.village.Record vr,
               org.apache.torque.util.Criteria c)
        throws com.workingdogs.village.DataSetException
Instantiates the attributes of the GeoZone 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()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the GeoZone object.

toStringBrief

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

getGeoZoneDescription

public java.lang.String getGeoZoneDescription()
Description copied from interface: GeoZoneIf
e.g. Florida local sales tax zone

Specified by:
getGeoZoneDescription in interface GeoZoneIf
Returns:
the geoZoneDescription

setGeoZoneDescription

public void setGeoZoneDescription(java.lang.String geoZoneDescription)
Description copied from interface: GeoZoneIf
e.g. Florida local sales tax zone

Specified by:
setGeoZoneDescription in interface GeoZoneIf
Parameters:
geoZoneDescription - the geoZoneDescription to set

getGeoZoneId

public int getGeoZoneId()
Specified by:
getGeoZoneId in interface GeoZoneIf
Returns:
the geoZoneId

setGeoZoneId

public void setGeoZoneId(int geoZoneId)
Specified by:
setGeoZoneId in interface GeoZoneIf
Parameters:
geoZoneId - the geoZoneId to set

getGeoZoneName

public java.lang.String getGeoZoneName()
Description copied from interface: GeoZoneIf
e.g. Florida

Specified by:
getGeoZoneName in interface GeoZoneIf
Returns:
the geoZoneName

setGeoZoneName

public void setGeoZoneName(java.lang.String geoZoneName)
Description copied from interface: GeoZoneIf
e.g. Florida

Specified by:
setGeoZoneName in interface GeoZoneIf
Parameters:
geoZoneName - the geoZoneName to set


Copyright © 2011 DS Data Systems UK Ltd.