com.konakartadmin.app
Class AdminGeoZone

java.lang.Object
  extended by com.konakartadmin.app.AdminGeoZone
All Implemented Interfaces:
AdminObjectIf

public class AdminGeoZone
extends java.lang.Object
implements AdminObjectIf

This is the AdminGeoZone 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.


Field Summary
private  java.util.Date dateAdded
          The value for the dateAdded field
private  java.lang.String geoZoneDescription
          The value for the geoZoneDescription field
private  int geoZoneId
          The value for the geoZoneId field
private  java.lang.String geoZoneName
          The value for the geoZoneName field
private  java.util.Date lastModified
          The value for the lastModified field
 
Constructor Summary
AdminGeoZone()
          Constructor
AdminGeoZone(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminGeoZone object from a Record object
 
Method Summary
 java.util.Date getDateAdded()
           
 java.lang.String getGeoZoneDescription()
           
 int getGeoZoneId()
           
 java.lang.String getGeoZoneName()
           
 int getId()
           
 java.util.Date getLastModified()
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setGeoZoneDescription(java.lang.String geoZoneDescription)
           
 void setGeoZoneId(int geoZoneId)
           
 void setGeoZoneName(java.lang.String geoZoneName)
           
 void setId(int id)
          Set the geoZoneId to id
 void setLastModified(java.util.Date lastModified)
           
 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

geoZoneId

private int geoZoneId
The value for the geoZoneId field


geoZoneName

private java.lang.String geoZoneName
The value for the geoZoneName field


geoZoneDescription

private java.lang.String geoZoneDescription
The value for the geoZoneDescription field


lastModified

private java.util.Date lastModified
The value for the lastModified field


dateAdded

private java.util.Date dateAdded
The value for the dateAdded field

Constructor Detail

AdminGeoZone

public AdminGeoZone()
Constructor


AdminGeoZone

public AdminGeoZone(com.workingdogs.village.Record vr,
                    org.apache.torque.util.Criteria c)
             throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminGeoZone 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()
Specified by:
toString in interface AdminObjectIf
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.

getDateAdded

public java.util.Date getDateAdded()
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - the dateAdded to set

getGeoZoneDescription

public java.lang.String getGeoZoneDescription()
Returns:
the geoZoneDescription

setGeoZoneDescription

public void setGeoZoneDescription(java.lang.String geoZoneDescription)
Parameters:
geoZoneDescription - the geoZoneDescription to set

getGeoZoneId

public int getGeoZoneId()
Returns:
the geoZoneId

setGeoZoneId

public void setGeoZoneId(int geoZoneId)
Parameters:
geoZoneId - the geoZoneId to set

getGeoZoneName

public java.lang.String getGeoZoneName()
Returns:
the geoZoneName

setGeoZoneName

public void setGeoZoneName(java.lang.String geoZoneName)
Parameters:
geoZoneName - the geoZoneName to set

getLastModified

public java.util.Date getLastModified()
Returns:
the lastModified

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - the lastModified to set

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id which is equal to the geoZoneId

setId

public void setId(int id)
Set the geoZoneId to id

Specified by:
setId in interface AdminObjectIf
Parameters:
id -


Copyright © 2011 DS Data Systems UK Ltd.