# Verwendungen von Schnittstelle
org.apache.torque.oid.IdGenerator

Packages, die IdGenerator verwenden
Package
Beschreibung
org.apache.torque
Torque is an object-relational mapper for Java.
org.apache.torque.oid
The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs".

- ## Verwendungen von IdGenerator in org.apache.torque

  Methoden in org.apache.torque, die IdGenerator zurückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `IdGenerator`
  Database.`getIdGenerator(IDMethod type)`
  Returns the IdGenerator of the given type for this Database.
  Methoden in org.apache.torque mit Parametern vom Typ IdGenerator
  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  Database.`addIdGenerator(IDMethod type, IdGenerator idGen)`
  Adds an IdGenerator to the database.

- ## Verwendungen von IdGenerator in org.apache.torque.oid

  Klassen in org.apache.torque.oid, die IdGenerator implementieren
  Modifizierer und Typ
  Klasse
  Beschreibung
  `class`
  `AbstractIdGenerator`
  This class serves as a common base class for the sequence-based and the autoincrement-based id generators
  `class`
  `AutoIncrementIdGenerator`
  This generator works with databases that have an sql syntax that allows the retrieval of the last id used to insert a row for a Connection.
  `class`
  `IDBroker`
  This method of ID generation is used to ensure that code is more database independent.
  `class`
  `SequenceIdGenerator`
  This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.
  Methoden in org.apache.torque.oid, die IdGenerator zurückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `static IdGenerator`
  IDGeneratorFactory.`create(Adapter adapter, String name)`
  Factory method which instantiates `IdGenerator` implementations based on the return value of the provided adapter's `Adapter.getIDMethodType()` method.