Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.dba
Class TypesHandler

    java.lang.Object
      org.apache.cayenne.dba.TypesHandler

    public class TypesHandler

extends java.lang.Object

TypesHandler provides JDBC-RDBMS types mapping. Loads types info from an XML file.

Author:
  Andrei Adamchik

Field Summary
`protected java.util.Map` | `typesMap`

Constructor Summary
`TypesHandler(java.net.URL typesConfig)` Creates new TypesHandler loading configuration info from the XML file specified as `typesConfigPath` parameter.

Method Summary
`java.lang.String[]` | `externalTypesForJdbcType(int type)`
`static TypesHandler` | `getHandler(java.net.URL typesConfig)`

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

Field Detail

### typesMap

    protected java.util.Map typesMap

Constructor Detail

### TypesHandler

    public TypesHandler(java.net.URL typesConfig)

  Creates new TypesHandler loading configuration info from the XML file specified as `typesConfigPath` parameter.

  Since:
    1.1

Method Detail

### getHandler

    public static TypesHandler getHandler(java.net.URL typesConfig)

  Since:
    1.1

### externalTypesForJdbcType

    public java.lang.String[] externalTypesForJdbcType(int type)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.