public class Currency extends java.lang.Object implements CurrencyIf
| Constructor and Description |
|---|
Currency()
Constructor
|
Currency(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Currency object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
e.g.
|
java.lang.String |
getDecimalPlaces() |
java.lang.String |
getDecimalPoint()
The character use to represent a decimal point.
|
int |
getId() |
java.lang.String |
getSymbolLeft()
The symbol on the left hand side of the value.
|
java.lang.String |
getSymbolRight()
The symbol on the right hand side of the value.
|
java.lang.String |
getThousandsPoint()
The character used for separating thousands.
|
java.lang.String |
getTitle() |
java.math.BigDecimal |
getValue()
Can be used to store an exchange rate.
|
void |
setCode(java.lang.String code)
e.g.
|
void |
setDecimalPlaces(java.lang.String decimalPlaces) |
void |
setDecimalPoint(java.lang.String decimalPoint)
The character use to represent a decimal point.
|
void |
setId(int id) |
void |
setSymbolLeft(java.lang.String symbolLeft)
The symbol on the left hand side of the value.
|
void |
setSymbolRight(java.lang.String symbolRight)
The symbol on the right hand side of the value.
|
void |
setThousandsPoint(java.lang.String thousandsPoint)
The character used for separating thousands.
|
void |
setTitle(java.lang.String title) |
void |
setValue(java.math.BigDecimal value)
Can be used to store an exchange rate.
|
java.lang.String |
toString() |
public Currency()
public Currency(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 getCode()
CurrencyIfgetCode in interface CurrencyIfpublic void setCode(java.lang.String code)
CurrencyIfsetCode in interface CurrencyIfcode - The code to set.public java.lang.String getDecimalPlaces()
getDecimalPlaces in interface CurrencyIfpublic void setDecimalPlaces(java.lang.String decimalPlaces)
setDecimalPlaces in interface CurrencyIfdecimalPlaces - The decimalPlaces to set.public java.lang.String getDecimalPoint()
CurrencyIfgetDecimalPoint in interface CurrencyIfpublic void setDecimalPoint(java.lang.String decimalPoint)
CurrencyIfsetDecimalPoint in interface CurrencyIfdecimalPoint - The decimalPoint to set.public int getId()
getId in interface CurrencyIfpublic void setId(int id)
setId in interface CurrencyIfid - The id to set.public java.lang.String getSymbolLeft()
CurrencyIfgetSymbolLeft in interface CurrencyIfpublic void setSymbolLeft(java.lang.String symbolLeft)
CurrencyIfsetSymbolLeft in interface CurrencyIfsymbolLeft - The symbolLeft to set.public java.lang.String getSymbolRight()
CurrencyIfgetSymbolRight in interface CurrencyIfpublic void setSymbolRight(java.lang.String symbolRight)
CurrencyIfsetSymbolRight in interface CurrencyIfsymbolRight - The symbolRight to set.public java.lang.String getThousandsPoint()
CurrencyIfgetThousandsPoint in interface CurrencyIfpublic void setThousandsPoint(java.lang.String thousandsPoint)
CurrencyIfsetThousandsPoint in interface CurrencyIfthousandsPoint - The thousandsPoint to set.public java.lang.String getTitle()
getTitle in interface CurrencyIfpublic void setTitle(java.lang.String title)
setTitle in interface CurrencyIftitle - The title to set.public java.math.BigDecimal getValue()
CurrencyIfgetValue in interface CurrencyIfpublic void setValue(java.math.BigDecimal value)
CurrencyIfsetValue in interface CurrencyIfvalue - The value to set.Copyright © 2018 DS Data Systems UK Ltd.