org.eclipse.emf.cdo.server.db.mapping
Interface ITypeMapping.Registry

Enclosing interface:
ITypeMapping

public static interface ITypeMapping.Registry

A global (singleton) registry which collects all available type mappings which are either available in the CDO core, as declared extensions, or registered manually.

Since:
4.0

Field Summary
static ITypeMapping.Registry INSTANCE
          The one global (singleton) registry instance.
 
Method Summary
 Collection<DBType> getDefaultFeatureMapDBTypes()
          Provides a list of all DBTypes for which type mappings exist in the registry.
 void registerTypeMapping(ITypeMapping.Descriptor descriptor)
          Register a type mapping by descriptor.
 

Field Detail

INSTANCE

static final ITypeMapping.Registry INSTANCE
The one global (singleton) registry instance.

Method Detail

registerTypeMapping

void registerTypeMapping(ITypeMapping.Descriptor descriptor)
Register a type mapping by descriptor.


getDefaultFeatureMapDBTypes

Collection<DBType> getDefaultFeatureMapDBTypes()
Provides a list of all DBTypes for which type mappings exist in the registry. This is used in feature map tables to create columns for all of these types.



Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.