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.Object
public java.lang.String toStringBrief()
public int getAddressFormatId()
CountryIf
getAddressFormatId
in interface CountryIf
public void setAddressFormatId(int addressFormatId)
CountryIf
setAddressFormatId
in interface CountryIf
addressFormatId
- The addressFormatId to set.public void setId(int id)
public java.lang.String getIsoCode2()
CountryIf
getIsoCode2
in interface CountryIf
public void setIsoCode2(java.lang.String isoCode2)
CountryIf
setIsoCode2
in interface CountryIf
isoCode2
- The isoCode2 to set.public java.lang.String getIsoCode3()
CountryIf
getIsoCode3
in interface CountryIf
public void setIsoCode3(java.lang.String isoCode3)
CountryIf
setIsoCode3
in interface CountryIf
isoCode3
- The isoCode3 to set.public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getMsgCatKey()
getMsgCatKey
in interface CountryIf
public void setMsgCatKey(java.lang.String msgCatKey)
setMsgCatKey
in interface CountryIf
msgCatKey
- the msgCatKey to setpublic boolean isActive()
public void setActive(boolean active)
public java.lang.String getIsoNumeric()
getIsoNumeric
in interface CountryIf
public void setIsoNumeric(java.lang.String isoNumeric)
setIsoNumeric
in interface CountryIf
isoNumeric
- the isoNumeric to setpublic java.lang.String getCustom1()
getCustom1
in interface CountryIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface CountryIf
custom1
- the custom1 to setCopyright © 2018 DS Data Systems UK Ltd.