public class DateKey extends SimpleKey<Date>
| Constructor and Description | 
|---|
| DateKey()Initializes the internal key value to  null. | 
| DateKey(Date key)Creates an DateKey and set its internal representation | 
| DateKey(DateKey key)Creates a DateKey that is equivalent to key. | 
| DateKey(String key)Creates an DateKey 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 | 
| String | toString()Get a String representation for this key. | 
keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyForpublic DateKey()
null.public DateKey(String key)
key - the key value as Stringpublic DateKey(Date key)
key - the key valuepublic DateKey(DateKey key)
key - the key valuepublic void setValue(String key)
key - the key valuepublic int getJdbcType()
java.sql.Types.getJdbcType in class ObjectKey<Date>Types.TIMESTAMP.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.