|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 SimpleKey |
keyFor(java.math.BigDecimal key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(java.util.Date key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(DateKey key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(double key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(int key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(long key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(java.lang.Number key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(NumberKey key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(java.lang.String key)
Creates a SimpleKey equivalent to key |
static SimpleKey |
keyFor(StringKey key)
Creates a SimpleKey equivalent to key |
Methods inherited from class org.apache.torque.om.ObjectKey |
---|
appendTo, compareTo, getValue, hashCode, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleKey()
Method Detail |
---|
public static SimpleKey keyFor(java.math.BigDecimal key)
key
- the key value
public static SimpleKey keyFor(int key)
key
- the key value
public static SimpleKey keyFor(long key)
key
- the key value
public static SimpleKey keyFor(double key)
key
- the key value
public static SimpleKey keyFor(java.lang.Number key)
key
- the key value
public static SimpleKey keyFor(NumberKey key)
key
- the key value
public static SimpleKey keyFor(java.lang.String key)
key
- the key value
public static SimpleKey keyFor(StringKey key)
key
- the key value
public static SimpleKey keyFor(java.util.Date key)
key
- the key value
public static SimpleKey keyFor(DateKey key)
key
- the key value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |