public abstract class AbstractJdbcUUID extends AbstractJdbcType<UUID>
UUID.DEFAULT_PRECISION, DEFAULT_SCALE| Constructor and Description |
|---|
AbstractJdbcUUID() |
| Modifier and Type | Method and Description |
|---|---|
int |
getJdbcType()
Gets the JDBC type constant.
|
int |
getPrecision(UUID obj)
Gets the precision of the given value (if applicable).
|
int |
getScale(UUID obj)
Gets the scale of the given value (if applicable).
|
Class<UUID> |
getType()
Gets the Java type corresponding to this type.
|
boolean |
isCaseSensitive()
Gets whether the values of this type are case-sensitive (if applicable).
|
boolean |
isCurrency()
Gets whether the values of this type are currencies (if applicable).
|
boolean |
isSigned()
Gets whether the values of this type are signed (if applicable).
|
boolean |
needsQuotes()
Gets whether the values of this type require quotes.
|
String |
toString(UUID obj)
Gets a string representation of the given value.
|
compose, decomposepublic String toString(@Nonnull UUID obj)
AbstractJdbcTypetoString in class AbstractJdbcType<UUID>obj - The value.public boolean isCaseSensitive()
AbstractJdbcTypeThe implementation should return false if not applicable.
isCaseSensitive in class AbstractJdbcType<UUID>true if the values are case-sensitive, false otherwise.public int getScale(UUID obj)
AbstractJdbcTypeThe implementation should return 0 if not applicable.
getScale in class AbstractJdbcType<UUID>obj - The value.public int getPrecision(UUID obj)
AbstractJdbcTypeThe implementation should return -1 if not applicable.
getPrecision in class AbstractJdbcType<UUID>obj - The value.public boolean isCurrency()
AbstractJdbcTypeThe implementation should return false if not applicable.
isCurrency in class AbstractJdbcType<UUID>true if the values are currencies, false otherwise.public boolean isSigned()
AbstractJdbcTypeThe implementation should return false if not applicable.
isSigned in class AbstractJdbcType<UUID>true if the values are signed, false otherwise.public boolean needsQuotes()
AbstractJdbcTypeneedsQuotes in class AbstractJdbcType<UUID>true if the values need to be surrounded by quotes, false otherwise.public Class<UUID> getType()
AbstractJdbcTypegetType in class AbstractJdbcType<UUID>public int getJdbcType()
AbstractJdbcTypegetJdbcType in class AbstractJdbcType<UUID>TypesCopyright © 2020–2024 ING Bank. All rights reserved.