Package org.apache.torque.om
Klasse StringKey
- Alle implementierten Schnittstellen:
Serializable,Comparable<Object>
This class can be used as an ObjectKey to uniquely identify an
object within an application where the id consists
of a single entity such a GUID or the value of a db row's primary key.
- Version:
- $Id: StringKey.java 1849379 2018-12-20 12:33:43Z tv $
- Autor:
- John McNally
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintReturns the JDBC type of the key as defined injava.sql.Types.Von Klasse geerbte Methoden org.apache.torque.om.SimpleKey
keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor, keyFor
-
Konstruktordetails
-
StringKey
public StringKey()Initializes the internal key value tonull. -
StringKey
Creates an StringKey and set its internal representation- Parameter:
key- the key value as String
-
StringKey
Creates a StringKey that is equivalent to key.- Parameter:
key- the key value
-
-
Methodendetails
-
getJdbcType
public int getJdbcType()Returns the JDBC type of the key as defined injava.sql.Types.- Angegeben von:
getJdbcTypein KlasseObjectKey<String>- Gibt zurück:
Types.VARCHAR.
-