public final class CSCountryContent extends CSItemContent
CSCountry
object.
set/get
methods within CSCountry
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSCountry
,
Serialized FormConstructor and Description |
---|
CSCountryContent()
Creates an empty
CSCountryContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSCountryContent object is the same as that
contained within the one supplied. |
java.lang.String |
getAbbrevThree()
Gets the three character abbreviation of the country.
|
java.lang.String |
getAbbrevTwo()
Gets the two character abbreviation of the country.
|
int |
getCountryNumber()
Gets the number of the country.
|
java.lang.String |
getCurrencyCodeAlpha()
Gets the three character currency code of the country.
|
java.lang.Integer |
getCurrencyCodeNumeric()
Gets the numeric currency code of the country.
|
java.lang.Integer |
getCurrencyMinorDecimalPlaces()
Gets the number of decimals places used to indicate the minor currency unit of the country, for example Pence.
|
java.lang.String |
getCurrencyName()
Gets the currency name of the country.
|
java.lang.String |
getCurrencySymbol()
Gets the currency symbol of the country.
|
java.lang.String |
getEnglishName()
Gets the name of the country in English.
|
java.lang.Double |
getExchangeRate()
Gets the exchange rate to be used to convert prices held on the database into the equivalent price for the
country.
|
java.lang.String |
getFrenchName()
Gets the name of the country in French.
|
java.lang.String |
getGermanName()
Gets the name of the country in German.
|
java.lang.String |
getName()
Gets the official name of the country.
|
void |
setAbbrevThree(java.lang.String strAbbrevThree)
Sets the three character abbreviation of the country.
|
void |
setAbbrevTwo(java.lang.String strAbbrevTwo)
Sets the two character abbreviation of the country.
|
void |
setCountryNumber(int nCountryNumber)
Sets the number of the country.
|
void |
setCurrencyCodeAlpha(java.lang.String strCurrencyCodeAlpha)
Sets the three character currency code of the country.
|
void |
setCurrencyCodeNumeric(java.lang.Integer nCurrencyCodeNumeric)
Sets the numeric currency code of the country.
|
void |
setCurrencyMinorDecimalPlaces(java.lang.Integer nDecimalPlaces)
Sets the number of decimals places used to indicate the minor currency unit of the country, for example Pence.
|
void |
setCurrencyName(java.lang.String strCurrencyName)
Sets the currency name of the country.
|
void |
setCurrencySymbol(java.lang.String strCurrencySymbol)
Sets the currency symbol of the country.
|
void |
setEnglishName(java.lang.String strEnglishName)
Sets the name of the country in English.
|
void |
setExchangeRate(java.lang.Double nExchangeRate)
Sets the exchange rate to be used to convert prices held on the database into the equivalent price for the
country.
|
void |
setFrenchName(java.lang.String strFrenchName)
Sets the name of the country in French.
|
void |
setGermanName(java.lang.String strGermanName)
Sets the name of the country in German.
|
void |
setName(java.lang.String strName)
Sets the official name of the country.
|
void |
unset()
Clear all the content details of the
CSCountryContent object. |
clone, getID, setID, toString
public CSCountryContent()
CSCountryContent
object.public int getCountryNumber()
public void setCountryNumber(int nCountryNumber)
nCountryNumber
- the country's number.public java.lang.String getAbbrevTwo()
public void setAbbrevTwo(java.lang.String strAbbrevTwo)
strAbbrevTwo
- the country's two character abbreviation.public java.lang.String getAbbrevThree()
public void setAbbrevThree(java.lang.String strAbbrevThree)
strAbbrevThree
- the country's three character abbreviation.public java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the country's official name.public java.lang.String getEnglishName()
public void setEnglishName(java.lang.String strEnglishName)
strEnglishName
- the country's name in English.public java.lang.String getFrenchName()
public void setFrenchName(java.lang.String strFrenchName)
strFrenchName
- the country's name in French.public java.lang.String getGermanName()
public void setGermanName(java.lang.String strGermanName)
strGermanName
- the country's name in German.public java.lang.String getCurrencySymbol()
public void setCurrencySymbol(java.lang.String strCurrencySymbol)
strCurrencySymbol
- the country's currency symbol.public java.lang.String getCurrencyName()
public void setCurrencyName(java.lang.String strCurrencyName)
strCurrencyName
- the country's currency name.public java.lang.String getCurrencyCodeAlpha()
public void setCurrencyCodeAlpha(java.lang.String strCurrencyCodeAlpha)
strCurrencyCodeAlpha
- the country's three character currency code.public java.lang.Integer getCurrencyCodeNumeric()
public void setCurrencyCodeNumeric(java.lang.Integer nCurrencyCodeNumeric)
nCurrencyCodeNumeric
- the country's numeric currency code.public java.lang.Integer getCurrencyMinorDecimalPlaces()
public void setCurrencyMinorDecimalPlaces(java.lang.Integer nDecimalPlaces)
nDecimalPlaces
- the decimal places of the country's minor currency unit.public java.lang.Double getExchangeRate()
public void setExchangeRate(java.lang.Double nExchangeRate)
nExchangeRate
- the country's exchange rate.public void unset()
CSCountryContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSCountryContent
object is the same as that
contained within the one supplied. Note that the key data used for searching is not tested for equality.
equals
in class CSItemContent
obj
- the CSCountryContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.