toggle menu
exposed
0.56.0
jvm
switch theme
search in API
exposed-money
/
org.jetbrains.exposed.sql.money
/
CurrencyColumnType
Currency
Column
Type
class
CurrencyColumnType
:
ColumnType
<
CurrencyUnit
>
Varchar column for storing currency (JSR354
CurrencyUnit
)
Author
Vladislav Kisel
Members
Constructors
Currency
Column
Type
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
nullable
Link copied to clipboard
open
override
var
nullable
:
Boolean
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
non
Null
Value
As
Default
String
Link copied to clipboard
open
fun
nonNullValueAsDefaultString
(
value
:
CurrencyUnit
)
:
String
non
Null
Value
To
String
Link copied to clipboard
open
override
fun
nonNullValueToString
(
value
:
CurrencyUnit
)
:
String
not
Null
Value
To
DB
Link copied to clipboard
open
override
fun
notNullValueToDB
(
value
:
CurrencyUnit
)
:
Any
parameter
Marker
Link copied to clipboard
open
fun
parameterMarker
(
value
:
CurrencyUnit
?
)
:
String
read
Object
Link copied to clipboard
open
fun
readObject
(
rs
:
ResultSet
,
index
:
Int
)
:
Any
?
set
Parameter
Link copied to clipboard
open
fun
setParameter
(
stmt
:
PreparedStatementApi
,
index
:
Int
,
value
:
Any
?
)
sql
Type
Link copied to clipboard
open
override
fun
sqlType
(
)
:
String
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
validate
Value
Before
Update
Link copied to clipboard
open
override
fun
validateValueBeforeUpdate
(
value
:
CurrencyUnit
?
)
value
As
Default
String
Link copied to clipboard
open
fun
valueAsDefaultString
(
value
:
CurrencyUnit
?
)
:
String
value
From
DB
Link copied to clipboard
open
override
fun
valueFromDB
(
value
:
Any
)
:
CurrencyUnit
value
To
DB
Link copied to clipboard
open
fun
valueToDB
(
value
:
CurrencyUnit
?
)
:
Any
?
value
To
String
Link copied to clipboard
open
fun
valueToString
(
value
:
CurrencyUnit
?
)
:
String