Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## kodo.util
Class SingleFieldIdentity

    java.lang.Object
      |
      +--kodo.util.SingleFieldIdentity

All Implemented Interfaces:
  Serializable

Direct Known Subclasses:
  ByteIdentity, CharIdentity, IntIdentity, LongIdentity, ShortIdentity, StringIdentity

public class SingleFieldIdentity
extends Object
implements Serializable

JDO 2 Preview. An object id class which provides application identity services to persistent classes with only a single primary key field. Each instance can provide the primary key value by an appropriate version of `getKey ()`.

See Also:
  Serialized Form

Constructor Summary
`protected` | `SingleFieldIdentity(Class cls)`

Method Summary
`boolean` | `equals(Object o)`
`Class` | `getTargetClass()` Return the class which this id instance is representing.
`String` | `getTargetClassName()` Return the class name of the instance this is representing.
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SingleFieldIdentity

    protected SingleFieldIdentity(Class cls)

Method Detail

### getTargetClass

    public Class getTargetClass()

  Return the class which this id instance is representing. If this instance has been serialized, will return null.

### getTargetClassName

    public String getTargetClassName()

  Return the class name of the instance this is representing.

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.