com.konakartadmin.app
Class AdminZonesToGeoZones

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

public class AdminZonesToGeoZones
extends java.lang.Object
implements AdminObjectIf

This is the AdminZonesToGeoZones class - it maps zones to geo zones


Field Summary
private  int associationId
          The value for the associationId field
private  java.util.Date dateAdded
          The value for the dateAdded field
private  int geoZoneId
          The value for the geoZoneId field
private  java.util.Date lastModified
          The value for the lastModified field
private  java.lang.String storeId
          The value for the storeId field
private  int zoneCountryId
          The value for the zoneCountryId field
private  int zoneId
          The value for the zoneId field
 
Constructor Summary
AdminZonesToGeoZones()
          Constructor
AdminZonesToGeoZones(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 getAssociationId()
           
 java.util.Date getDateAdded()
           
 int getGeoZoneId()
           
 int getId()
           
 java.util.Date getLastModified()
           
 java.lang.String getStoreId()
           
 int getZoneCountryId()
          Get the ZoneCountryId
 int getZoneId()
          Get the ZoneId
 void setAssociationId(int associationId)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setGeoZoneId(int geoZoneId)
           
 void setId(int id)
          Set the zoneId to id
 void setLastModified(java.util.Date lastModified)
           
 void setStoreId(java.lang.String storeId)
           
 void setZoneCountryId(int zoneCountryId)
          Set the value of zoneCountryId
 void setZoneId(int zoneId)
          Set the value of zoneId
 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

associationId

private int associationId
The value for the associationId field


storeId

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


zoneCountryId

private int zoneCountryId
The value for the zoneCountryId field


zoneId

private int zoneId
The value for the zoneId field


geoZoneId

private int geoZoneId
The value for the geoZoneId 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

AdminZonesToGeoZones

public AdminZonesToGeoZones()
Constructor


AdminZonesToGeoZones

public AdminZonesToGeoZones(com.workingdogs.village.Record vr,
                            org.apache.torque.util.Criteria c)
                     throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminZone object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

getZoneId

public int getZoneId()
Get the ZoneId

Returns:
int

setZoneId

public void setZoneId(int zoneId)
Set the value of zoneId

Parameters:
zoneId - new value

getZoneCountryId

public int getZoneCountryId()
Get the ZoneCountryId

Returns:
int

setZoneCountryId

public void setZoneCountryId(int zoneCountryId)
Set the value of zoneCountryId

Parameters:
zoneCountryId - new value

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 Country object.

toStringBrief

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

getId

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

setId

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

Specified by:
setId in interface AdminObjectIf
Parameters:
id -

getAssociationId

public int getAssociationId()
Returns:
the associationId

setAssociationId

public void setAssociationId(int associationId)
Parameters:
associationId - the associationId to set

getStoreId

public java.lang.String getStoreId()
Returns:
the storeId

setStoreId

public void setStoreId(java.lang.String storeId)
Parameters:
storeId - the storeId to set

getGeoZoneId

public int getGeoZoneId()
Returns:
the geoZoneId

setGeoZoneId

public void setGeoZoneId(int geoZoneId)
Parameters:
geoZoneId - the geoZoneId 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

getDateAdded

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

setDateAdded

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


Copyright © 2011 DS Data Systems UK Ltd.