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