| Constructor and Description |
|---|
Country()
Constructor
|
Country(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Country object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAddressFormatId()
An address format can be associated to a country so that the address of a customer can be
formatted according to the rules of the country.
|
java.lang.String |
getCustom1() |
int |
getId() |
java.lang.String |
getIsoCode2()
Two letter ISO code.
|
java.lang.String |
getIsoCode3()
Three letter ISO code.
|
java.lang.String |
getIsoNumeric() |
java.lang.String |
getMsgCatKey() |
java.lang.String |
getName() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setAddressFormatId(int addressFormatId)
An address format can be associated to a country so that the address of a customer can be
formatted according to the rules of the country.
|
void |
setCustom1(java.lang.String custom1) |
void |
setId(int id) |
void |
setIsoCode2(java.lang.String isoCode2)
Two letter ISO code.
|
void |
setIsoCode3(java.lang.String isoCode3)
Three letter ISO code.
|
void |
setIsoNumeric(java.lang.String isoNumeric) |
void |
setMsgCatKey(java.lang.String msgCatKey) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public Country()
public Country(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column namescom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public int getAddressFormatId()
CountryIfgetAddressFormatId in interface CountryIfpublic void setAddressFormatId(int addressFormatId)
CountryIfsetAddressFormatId in interface CountryIfaddressFormatId - The addressFormatId to set.public void setId(int id)
public java.lang.String getIsoCode2()
CountryIfgetIsoCode2 in interface CountryIfpublic void setIsoCode2(java.lang.String isoCode2)
CountryIfsetIsoCode2 in interface CountryIfisoCode2 - The isoCode2 to set.public java.lang.String getIsoCode3()
CountryIfgetIsoCode3 in interface CountryIfpublic void setIsoCode3(java.lang.String isoCode3)
CountryIfsetIsoCode3 in interface CountryIfisoCode3 - The isoCode3 to set.public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getMsgCatKey()
getMsgCatKey in interface CountryIfpublic void setMsgCatKey(java.lang.String msgCatKey)
setMsgCatKey in interface CountryIfmsgCatKey - the msgCatKey to setpublic boolean isActive()
public void setActive(boolean active)
public java.lang.String getIsoNumeric()
getIsoNumeric in interface CountryIfpublic void setIsoNumeric(java.lang.String isoNumeric)
setIsoNumeric in interface CountryIfisoNumeric - the isoNumeric to setpublic java.lang.String getCustom1()
getCustom1 in interface CountryIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface CountryIfcustom1 - the custom1 to setCopyright © 2018 DS Data Systems UK Ltd.