|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.om.ObjectKey
org.apache.torque.om.SimpleKey
public abstract class SimpleKey
This empty class marks an ObjectKey as being capable of being represented as a single column in a database.
Field Summary |
---|
Fields inherited from class org.apache.torque.om.ObjectKey |
---|
key |
Constructor Summary | |
---|---|
SimpleKey()
|
Method Summary | |
---|---|
static NumberKey |
keyFor(BigDecimal key)
Creates an ObjectKey for the key object. |
static BooleanKey |
keyFor(Boolean key)
Creates an ObjectKey for the key object. |
static DateKey |
keyFor(Date key)
Creates an ObjectKey for the key object. |
static DateKey |
keyFor(DateKey key)
Creates an ObjectKey for the key object. |
static NumberKey |
keyFor(double key)
Creates an ObjectKey for the key object. |
static NumberKey |
keyFor(int key)
Creates an ObjectKey for the key object. |
static NumberKey |
keyFor(long key)
Creates an ObjectKey for the key object. |
static NumberKey |
keyFor(Number key)
Creates an ObjectKey for the key object. |
static NumberKey |
keyFor(NumberKey key)
Creates an ObjectKey for the key object. |
static StringKey |
keyFor(String key)
Creates an ObjectKey for the key object. |
static StringKey |
keyFor(StringKey key)
Creates an ObjectKey for the key object. |
Methods inherited from class org.apache.torque.om.ObjectKey |
---|
appendTo, compareTo, equals, getJdbcType, getValue, hashCode, setValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleKey()
Method Detail |
---|
public static NumberKey keyFor(BigDecimal key)
key
- the key value.
key
.public static NumberKey keyFor(int key)
key
- the key value.
key
.public static NumberKey keyFor(long key)
key
- the key value.
key
.public static NumberKey keyFor(double key)
key
- the key value.
key
.public static NumberKey keyFor(Number key)
key
- the key value.
key
.public static NumberKey keyFor(NumberKey key)
key
- the key value.
key
.public static StringKey keyFor(String key)
key
- the key value.
key
.public static StringKey keyFor(StringKey key)
key
- the key value.
key
.public static DateKey keyFor(Date key)
key
- the key value.
key
.public static DateKey keyFor(DateKey key)
key
- the key value.
key
.public static BooleanKey keyFor(Boolean key)
key
- the key value.
key
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |