com.konakartadmin.app
Class AdminCountry

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

public class AdminCountry
extends java.lang.Object
implements AdminObjectIf

Country object for the Admin App


Field Summary
private  int addressFormatId
          addressFormatId
private  int id
          id
private  java.lang.String isoCode2
          isoCode2
private  java.lang.String isoCode3
          isoCode3
private  java.lang.String name
          name
 
Constructor Summary
AdminCountry()
          Constructor
AdminCountry(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Country object from a Record object
 
Method Summary
 int getAddressFormatId()
           
 int getId()
           
 java.lang.String getIsoCode2()
           
 java.lang.String getIsoCode3()
           
 java.lang.String getName()
           
 void setAddressFormatId(int addressFormatId)
           
 void setId(int id)
           
 void setIsoCode2(java.lang.String isoCode2)
           
 void setIsoCode3(java.lang.String isoCode3)
           
 void setName(java.lang.String name)
           
 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

id

private int id
id


name

private java.lang.String name
name


isoCode2

private java.lang.String isoCode2
isoCode2


isoCode3

private java.lang.String isoCode3
isoCode3


addressFormatId

private int addressFormatId
addressFormatId

Constructor Detail

AdminCountry

public AdminCountry()
Constructor


AdminCountry

public AdminCountry(com.workingdogs.village.Record vr,
                    org.apache.torque.util.Criteria c)
             throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Country 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 Country object.

toStringBrief

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

getAddressFormatId

public int getAddressFormatId()
Returns:
Returns the addressFormatId.

setAddressFormatId

public void setAddressFormatId(int addressFormatId)
Parameters:
addressFormatId - The addressFormatId to set.

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - The id to set.

getIsoCode2

public java.lang.String getIsoCode2()
Returns:
Returns the isoCode2.

setIsoCode2

public void setIsoCode2(java.lang.String isoCode2)
Parameters:
isoCode2 - The isoCode2 to set.

getIsoCode3

public java.lang.String getIsoCode3()
Returns:
Returns the isoCode3.

setIsoCode3

public void setIsoCode3(java.lang.String isoCode3)
Parameters:
isoCode3 - The isoCode3 to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.


Copyright © 2006 DS Data Systems UK Ltd.