public class DbDefaultValue extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FALSE
The key for FALSE.
|
protected Map<String,String> |
map |
static String |
NOW
The key for the NOW / current timestamp.
|
static String |
TRUE
The key for TRUE.
|
| Constructor and Description |
|---|
DbDefaultValue() |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(String dbDefaultLiteral)
Convert the DB default literal to platform specific type or function.
|
void |
put(String dbLiteral,
String dbTranslated)
Add an translation entry.
|
void |
setFalse(String dbFalseLiteral)
Set the DB false literal.
|
void |
setNow(String dbFunction)
Set the DB now function.
|
void |
setTrue(String dbTrueLiteral)
Set the DB true literal.
|
public static final String FALSE
public static final String TRUE
public static final String NOW
public DbDefaultValue()
Copyright © 2016. All rights reserved.