## Uses of Class
org.apache.torque.adapter.IDMethod

- Packages that use IDMethod
  Package | Description
  --- | ---
  org.apache.torque | Torque is an object-relational mapper for Java.
  org.apache.torque.adapter | Adapters between Torque and various databases.
  org.apache.torque.map | Description of the schema layout.
  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".

- - ### Uses of IDMethod in org.apache.torque

    Methods in org.apache.torque with parameters of type IDMethod
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Database.`addIdGenerator​(IDMethod type, IdGenerator idGen)` | Adds an IdGenerator to the database.
    `IdGenerator` | Database.`getIdGenerator​(IDMethod type)` | Returns the IdGenerator of the given type for this Database.

  - ### Uses of IDMethod in org.apache.torque.adapter

    Methods in org.apache.torque.adapter that return IDMethod
    Modifier and Type | Method | Description
    --- | --- | ---
    `static IDMethod` | IDMethod.`getIdMethod​(String idMethod)` | Returns the id method for a id method name.
    `abstract IDMethod` | AbstractAdapter.`getIDMethodType()` | Returns the constant from the `IDMethod` interface denoting which type of primary key generation method this type of RDBMS uses.
    `IDMethod` | Adapter.`getIDMethodType()` | Returns the constant from the `IDMethod` interface denoting which type of primary key generation method this type of RDBMS uses.
    `IDMethod` | DerbyAdapter.`getIDMethodType()` |
    `IDMethod` | HsqldbAdapter.`getIDMethodType()` |
    `IDMethod` | MssqlAdapter.`getIDMethodType()` |
    `IDMethod` | MysqlAdapter.`getIDMethodType()` |
    `IDMethod` | NoneAdapter.`getIDMethodType()` |
    `IDMethod` | OracleAdapter.`getIDMethodType()` |
    `IDMethod` | PostgresAdapter.`getIDMethodType()` |
    `static IDMethod` | IDMethod.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static IDMethod[]` | IDMethod.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

  - ### Uses of IDMethod in org.apache.torque.map

    Methods in org.apache.torque.map that return IDMethod
    Modifier and Type | Method | Description
    --- | --- | ---
    `IDMethod` | TableMap.`getPrimaryKeyMethod()` | Get the method used to generate primary keys for this table.

    Methods in org.apache.torque.map with parameters of type IDMethod
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | TableMap.`getPrimaryKeyMethodInfo​(IDMethod idMethod)` | Get the information used to generate a primary key
    `void` | TableMap.`setPrimaryKeyMethod​(IDMethod method)` | Sets the method used to generate a key for this table.
    `void` | TableMap.`setPrimaryKeyMethodInfo​(IDMethod idMethod, Object pkInfo)` | Sets the pk information needed to generate a key.

  - ### Uses of IDMethod in org.apache.torque.oid

    Fields in org.apache.torque.oid with type parameters of type IDMethod
    Modifier and Type | Field | Description
    --- | --- | ---
    `static List<IDMethod>` | IDGeneratorFactory.`ID_GENERATOR_METHODS` | The list of ID generation method types which have associated `IdGenerator` implementations.