ZenMagick 0.9.6


org.zenmagick.model.ZMCountry

Class ZMCountry

ZMObject
|
+--ZMCountry

public class ZMCountry
extends ZMObject

A single country.

Author:
DerManoMann
Version:
$Id: ZMCountry.php 2054 2009-03-12 03:41:22Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMCountry()

Create new instance.

Method Summary
int

getAddressFormatId()

Get the address format id.

int

getId()

Get the country id.

string

getIsoCode2()

Get the country ISO code 2.

string

getIsoCode3()

Get the country ISO code 3.

string

getName()

Get the country name.

void

setAddressFormatId(int addressFormatId)

Set the address format id.

void

setId(int id)

Set the country id.

void

setIsoCode2(string code)

Set the country ISO code 2.

void

setIsoCode3(string code)

Set the country ISO code 3.

void

setName(string name)

Set the country name.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMCountry

public ZMCountry()

Create new instance. /


Method Detail

getAddressFormatId

public int getAddressFormatId()

Get the address format id.

Returns:
The address format id.

getId

public int getId()

Get the country id.

Returns:
The country id.

getIsoCode2

public string getIsoCode2()

Get the country ISO code 2.

Returns:
The country ISO code 2.

getIsoCode3

public string getIsoCode3()

Get the country ISO code 3.

Returns:
The country ISO code 3.

getName

public string getName()

Get the country name.

Returns:
The country name.

setAddressFormatId

public void setAddressFormatId(int addressFormatId)

Set the address format id.

Parameters:
addressFormatId - The address format id.

setId

public void setId(int id)

Set the country id.

Parameters:
id - The country id.

setIsoCode2

public void setIsoCode2(string code)

Set the country ISO code 2.

Parameters:
code - The country ISO code 2.

setIsoCode3

public void setIsoCode3(string code)

Set the country ISO code 3.

Parameters:
code - The country ISO code 3.

setName

public void setName(string name)

Set the country name.

Parameters:
name - The country name.

ZenMagick 0.9.6