public class StringKey extends SimpleKey<String>
Constructor and Description |
---|
StringKey()
Initializes the internal key value to
null . |
StringKey(String key)
Creates an StringKey and set its internal representation
|
StringKey(StringKey key)
Creates a StringKey that is equivalent to key.
|
Modifier and Type | Method and Description |
---|---|
int |
getJdbcType()
Returns the JDBC type of the key
as defined in
java.sql.Types . |
keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor
public StringKey()
null
.public StringKey(String key)
key
- the key value as Stringpublic StringKey(StringKey key)
key
- the key valuepublic int getJdbcType()
java.sql.Types
.getJdbcType
in class ObjectKey<String>
Types.VARCHAR
.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.