|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kodo.util.Id
Datastore identity type. Implementations may choose to use this type,
or choose to use their own datastore identity values. The API for this
class is aligned with JDO's single field identity; access to the
internal state of Id
objects through public fields is
deprecated.
Field Summary | |
long |
id
Deprecated. Use getKey() . |
Class |
type
Deprecated. Use getTargetClass() . |
Constructor Summary | |
Id()
Deprecated. |
|
Id(Class cls,
long key)
Construct from key value. |
|
Id(Class cls,
Long key)
Construct from key value. |
|
Id(Class cls,
String key)
Construct from the result of a toString() call on another
instance. |
|
Id(Id oid)
Copy constructor. |
|
Id(long key,
Class cls)
Deprecated. Use Id(Class, long) . |
|
Id(String str)
Create an id from the result of a toString() call on another
instance. |
|
Id(String key,
Class cls)
Deprecated. Use Id(Class,String) . |
|
Id(String str,
ClassLoader loader)
Create an id from the result of an toString() call on another
instance. |
|
Id(String str,
JDOConfiguration conf,
ClassLoader pmLoader)
Create an id from the result of an toString() call on another
instance. |
Method Summary | |
boolean |
equals(Object obj)
|
long |
getKey()
Primary key. |
Class |
getTargetClass()
Target class. |
Class |
getTargetClass(ClassLoader loader)
Target class. |
Class |
getTargetClass(JDOConfiguration conf,
ClassLoader pmLoader)
Target class. |
String |
getTargetClassName()
Target class name. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public long id
getKey()
.
public transient Class type
getTargetClass()
.
Constructor Detail |
public Id()
public Id(String str)
toString()
call on another
instance.public Id(String str, JDOConfiguration conf, ClassLoader pmLoader)
toString()
call on another
instance.public Id(String str, ClassLoader loader)
toString()
call on another
instance.public Id(String key, Class cls)
Id(Class,String)
.
public Id(Class cls, String key)
toString()
call on another
instance.public Id(Class cls, Long key)
public Id(long key, Class cls)
Id(Class, long)
.
public Id(Class cls, long key)
public Id(Id oid)
Method Detail |
public long getKey()
public String getTargetClassName()
public Class getTargetClass()
public Class getTargetClass(JDOConfiguration conf, ClassLoader pmLoader)
public Class getTargetClass(ClassLoader loader)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |