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.Object
public java.lang.String getCode()
CurrencyIf
getCode
in interface CurrencyIf
public void setCode(java.lang.String code)
CurrencyIf
setCode
in interface CurrencyIf
code
- The code to set.public java.lang.String getDecimalPlaces()
getDecimalPlaces
in interface CurrencyIf
public void setDecimalPlaces(java.lang.String decimalPlaces)
setDecimalPlaces
in interface CurrencyIf
decimalPlaces
- The decimalPlaces to set.public java.lang.String getDecimalPoint()
CurrencyIf
getDecimalPoint
in interface CurrencyIf
public void setDecimalPoint(java.lang.String decimalPoint)
CurrencyIf
setDecimalPoint
in interface CurrencyIf
decimalPoint
- The decimalPoint to set.public int getId()
getId
in interface CurrencyIf
public void setId(int id)
setId
in interface CurrencyIf
id
- The id to set.public java.lang.String getSymbolLeft()
CurrencyIf
getSymbolLeft
in interface CurrencyIf
public void setSymbolLeft(java.lang.String symbolLeft)
CurrencyIf
setSymbolLeft
in interface CurrencyIf
symbolLeft
- The symbolLeft to set.public java.lang.String getSymbolRight()
CurrencyIf
getSymbolRight
in interface CurrencyIf
public void setSymbolRight(java.lang.String symbolRight)
CurrencyIf
setSymbolRight
in interface CurrencyIf
symbolRight
- The symbolRight to set.public java.lang.String getThousandsPoint()
CurrencyIf
getThousandsPoint
in interface CurrencyIf
public void setThousandsPoint(java.lang.String thousandsPoint)
CurrencyIf
setThousandsPoint
in interface CurrencyIf
thousandsPoint
- The thousandsPoint to set.public java.lang.String getTitle()
getTitle
in interface CurrencyIf
public void setTitle(java.lang.String title)
setTitle
in interface CurrencyIf
title
- The title to set.public java.math.BigDecimal getValue()
CurrencyIf
getValue
in interface CurrencyIf
public void setValue(java.math.BigDecimal value)
CurrencyIf
setValue
in interface CurrencyIf
value
- The value to set.Copyright © 2018 DS Data Systems UK Ltd.